I18N: Merge duplicate "Status is forbidden" strings.

Props ramiy.
Fixes #47037.
Built from https://develop.svn.wordpress.org/trunk@45442


git-svn-id: http://core.svn.wordpress.org/trunk@45253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-05-26 18:47:53 +00:00
parent cd9c6ce36e
commit b8b12b4946
2 changed files with 3 additions and 3 deletions

View File

@ -878,10 +878,10 @@ final class WP_Customize_Nav_Menus {
return new WP_Error( 'unknown_post_type', __( 'Invalid post type.' ) );
}
if ( empty( $postarr['post_title'] ) ) {
return new WP_Error( 'empty_title', __( 'Empty title' ) );
return new WP_Error( 'empty_title', __( 'Empty title.' ) );
}
if ( ! empty( $postarr['post_status'] ) ) {
return new WP_Error( 'status_forbidden', __( 'Status is forbidden' ) );
return new WP_Error( 'status_forbidden', __( 'Status is forbidden.' ) );
}
/*

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.3-alpha-45441';
$wp_version = '5.3-alpha-45442';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.