I18N: Merge duplicate "Status is forbidden" strings.
Props ramiy. Fixes #47037. git-svn-id: https://develop.svn.wordpress.org/trunk@45442 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b8e4a052a7
commit
d410033e9c
@ -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.' ) );
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user