Make WordPress Core


Ignore:
Timestamp:
03/12/2013 08:57:27 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Fix missing i18n in auto-draft titles. fixes #23565.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/ajax-actions.php

    r23661 r23663  
    926926            $_POST['post_status'] = 'draft';
    927927            $now = current_time('timestamp', 1);
    928             $_POST['post_title'] = sprintf('Draft created on %s at %s', date(get_option('date_format'), $now), date(get_option('time_format'), $now));
     928            $_POST['post_title'] = sprintf( __( 'Draft created on %1$s at %2$s' ), date( get_option( 'date_format' ), $now ), date( get_option( 'time_format' ), $now ) );
    929929
    930930            if ( $pid = edit_post() ) {
Note: See TracChangeset for help on using the changeset viewer.