diff --git a/src/wp-admin/includes/export.php b/src/wp-admin/includes/export.php index 74d7c5f823..75c7b4924f 100644 --- a/src/wp-admin/includes/export.php +++ b/src/wp-admin/includes/export.php @@ -23,6 +23,7 @@ define( 'WXR_VERSION', '1.2' ); * 'auto-draft' status will be skipped. * * @since 2.1.0 + * @since 5.7.0 Added the `post_modified` and `post_modified_gmt` fields to the export file. * * @global wpdb $wpdb WordPress database abstraction object. * @global WP_Post $post Global post object. @@ -576,6 +577,8 @@ function export_wp( $args = array() ) { ID; ?> post_date ); ?> post_date_gmt ); ?> + post_modified ); ?> + post_modified_gmt ); ?> comment_status ); ?> ping_status ); ?> post_name ); ?>