Changeset 1403
- Timestamp:
- 03/16/2015 08:34:22 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/theme-directory.php
r1398 r1403 376 376 * Uses `wp_update_post()` to also update post_time. 377 377 */ 378 $post_date = current_time( 'mysql' ); 378 379 wp_update_post( array( 379 'ID' => $post_id, 380 'post_status' => 'publish', 380 'ID' => $post_id, 381 'post_status' => 'publish', 382 'post_date' => $post_date, 383 'post_date_gmt' => $post_date, 381 384 ) ); 382 385 }
Note: See TracChangeset
for help on using the changeset viewer.