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:
parent
cd9c6ce36e
commit
b8b12b4946
|
@ -878,10 +878,10 @@ final class WP_Customize_Nav_Menus {
|
||||||
return new WP_Error( 'unknown_post_type', __( 'Invalid post type.' ) );
|
return new WP_Error( 'unknown_post_type', __( 'Invalid post type.' ) );
|
||||||
}
|
}
|
||||||
if ( empty( $postarr['post_title'] ) ) {
|
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'] ) ) {
|
if ( ! empty( $postarr['post_status'] ) ) {
|
||||||
return new WP_Error( 'status_forbidden', __( 'Status is forbidden' ) );
|
return new WP_Error( 'status_forbidden', __( 'Status is forbidden.' ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue