Changeset 3531 for trunk/wp-admin/upgrade-functions.php
- Timestamp:
- 02/14/2006 11:22:22 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/upgrade-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/upgrade-functions.php
r3517 r3531 355 355 if ( $wp_current_db_version < 3513 ) { 356 356 populate_roles_210(); 357 } 358 359 if ( $wp_current_db_version < 3531 ) { 360 // Give future posts a post_status of future. 361 $now = gmdate('Y-m-d H:i:59'); 362 $posts = $wpdb->query ("UPDATE $wpdb->posts SET post_status = 'future' WHERE post_status = 'publish' and post_date_gmt < '$now'"); 357 363 } 358 364 }
Note:
See TracChangeset
for help on using the changeset viewer.