Changeset 45424 for trunk/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 05/26/2019 12:11:37 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r45239 r45424 1477 1477 $now = time(); 1478 1478 /* translators: 1: Post creation date, 2: Post creation time */ 1479 $post_data['post_title'] = sprintf( __( 'Draft created on %1$s at %2$s' ), date( __( 'F j, Y' ), $now ),date( __( 'g:i a' ), $now ) );1479 $post_data['post_title'] = sprintf( __( 'Draft created on %1$s at %2$s' ), gmdate( __( 'F j, Y' ), $now ), gmdate( __( 'g:i a' ), $now ) ); 1480 1480 1481 1481 $pid = edit_post( $post_data );
Note: See TracChangeset
for help on using the changeset viewer.