Changeset 61445 for trunk/src/wp-includes/revision.php
- Timestamp:
- 01/06/2026 06:05:20 AM (3 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/revision.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/revision.php
r61387 r61445 90 90 $revision_data['post_type'] = 'revision'; 91 91 $revision_data['post_name'] = $autosave ? "$post[ID]-autosave-v1" : "$post[ID]-revision-v1"; // "1" is the revisioning system version. 92 $revision_data['post_date'] = isset( $post['post_modified'] ) ? $post['post_modified'] :'';93 $revision_data['post_date_gmt'] = isset( $post['post_modified_gmt'] ) ? $post['post_modified_gmt'] :'';92 $revision_data['post_date'] = $post['post_modified'] ?? ''; 93 $revision_data['post_date_gmt'] = $post['post_modified_gmt'] ?? ''; 94 94 95 95 return $revision_data;
Note: See TracChangeset
for help on using the changeset viewer.