Make WordPress Core


Ignore:
Timestamp:
07/17/2016 04:04:50 PM (7 years ago)
Author:
SergeyBiryukov
Message:

I18N: Combine two duplicate "Invalid post type" strings.

Props @ramiy.
See #18218.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit.php

    r37914 r38076  
    1111
    1212if ( ! $typenow )
    13     wp_die( __( 'Invalid post type' ) );
     13    wp_die( __( 'Invalid post type.' ) );
    1414
    1515if ( ! in_array( $typenow, get_post_types( array( 'show_ui' => true ) ) ) ) {
     
    3333
    3434if ( ! $post_type_object )
    35     wp_die( __( 'Invalid post type' ) );
     35    wp_die( __( 'Invalid post type.' ) );
    3636
    3737if ( ! current_user_can( $post_type_object->cap->edit_posts ) ) {
Note: See TracChangeset for help on using the changeset viewer.