Ticket #23565: 23565.patch
File 23565.patch, 741 bytes (added by , 12 years ago) |
---|
-
wp-admin/includes/ajax-actions.php
929 929 $_POST['post_type'] = $post->post_type; 930 930 $_POST['post_status'] = 'draft'; 931 931 $now = current_time('timestamp', 1); 932 $_POST['post_title'] = sprintf( 'Draft created on %s at %s', date(get_option('date_format'), $now), date(get_option('time_format'), $now));932 $_POST['post_title'] = sprintf( __( 'Draft created on %1$s at %2$s' ), date( get_option( 'date_format' ), $now ), date( get_option( 'time_format' ), $now ) ); 933 933 934 934 if ( $pid = edit_post() ) { 935 935 if ( is_wp_error( $pid ) ) {