WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/17/2016 04:04:50 PM (4 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/post-new.php

    r37914 r38076  
    2222    $post_type = $_GET['post_type'];
    2323} else {
    24     wp_die( __('Invalid post type') );
     24    wp_die( __( 'Invalid post type.' ) );
    2525}
    2626$post_type_object = get_post_type_object( $post_type );
Note: See TracChangeset for help on using the changeset viewer.