Changeset 44809 for trunk/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 03/07/2019 09:11:37 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r44785 r44809 1465 1465 $post_data['post_type'] = $post->post_type; 1466 1466 $post_data['post_status'] = 'draft'; 1467 $now = current_time( 'timestamp', 1);1467 $now = time(); 1468 1468 /* translators: 1: Post creation date, 2: Post creation time */ 1469 1469 $post_data['post_title'] = sprintf( __( 'Draft created on %1$s at %2$s' ), date( __( 'F j, Y' ), $now ), date( __( 'g:i a' ), $now ) );
Note: See TracChangeset
for help on using the changeset viewer.