Make WordPress Core


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

    r38068 r38076  
    10701070
    10711071    if ( ! post_type_exists( $post_type ) ) {
    1072         return new WP_Error( 'invalid_post_type', __( 'Invalid post type' ) );
     1072        return new WP_Error( 'invalid_post_type', __( 'Invalid post type.' ) );
    10731073    }
    10741074
Note: See TracChangeset for help on using the changeset viewer.