Make WordPress Core

Changeset 45442


Ignore:
Timestamp:
05/26/2019 06:46:43 PM (6 years ago)
Author:
SergeyBiryukov
Message:

I18N: Merge duplicate "Status is forbidden" strings.

Props ramiy.
Fixes #47037.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-nav-menus.php

    r44328 r45442  
    879879        }
    880880        if ( empty( $postarr['post_title'] ) ) {
    881             return new WP_Error( 'empty_title', __( 'Empty title' ) );
     881            return new WP_Error( 'empty_title', __( 'Empty title.' ) );
    882882        }
    883883        if ( ! empty( $postarr['post_status'] ) ) {
    884             return new WP_Error( 'status_forbidden', __( 'Status is forbidden' ) );
     884            return new WP_Error( 'status_forbidden', __( 'Status is forbidden.' ) );
    885885        }
    886886
Note: See TracChangeset for help on using the changeset viewer.