Make WordPress Core


Ignore:
Timestamp:
11/17/2016 03:52:18 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Text Changes: Merge some duplicate strings with the same meaning in error messages, adjust some other strings for consistency and accuracy.

Props ramiy, SergeyBiryukov.
Fixes #38808.

File:
1 edited

Legend:

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

    r39062 r39278  
    161161        $valid_date = wp_checkdate( $mm, $jj, $aa, $post_data['post_date'] );
    162162        if ( !$valid_date ) {
    163             return new WP_Error( 'invalid_date', __( 'Whoops, the provided date is invalid.' ) );
     163            return new WP_Error( 'invalid_date', __( 'Invalid date.' ) );
    164164        }
    165165        $post_data['post_date_gmt'] = get_gmt_from_date( $post_data['post_date'] );
Note: See TracChangeset for help on using the changeset viewer.