Changeset 7122
- Timestamp:
- 08/12/2020 02:32:56 PM (5 years ago)
- Location:
- trunk/src/includes
- Files:
-
- 2 edited
-
replies/functions.php (modified) (1 diff)
-
topics/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/replies/functions.php
r7105 r7122 1824 1824 $reply->post_status = $status; 1825 1825 1826 // Set post date GMT - prevents post_date override in wp_update_post() 1827 $reply->post_date_gmt = get_gmt_from_date( $reply->post_date ); 1828 1826 1829 // No revisions 1827 1830 remove_action( 'pre_post_update', 'wp_save_post_revision' ); -
trunk/src/includes/topics/functions.php
r7105 r7122 3237 3237 $topic->post_status = $status; 3238 3238 3239 // Set post date GMT - prevents post_date override in wp_update_post() 3240 $topic->post_date_gmt = get_gmt_from_date( $topic->post_date ); 3241 3239 3242 // No revisions 3240 3243 remove_action( 'pre_post_update', 'wp_save_post_revision' );
Note: See TracChangeset
for help on using the changeset viewer.