Changeset 4882 for trunk/wp-admin/admin-ajax.php
- Timestamp:
- 02/14/2007 10:44:57 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r4760 r4882 156 156 die('-1'); 157 157 if ( $id < 0 ) { 158 $now = current_time('timestamp' );158 $now = current_time('timestamp', 1); 159 159 if ( $pid = wp_insert_post( array( 160 160 'post_title' => sprintf('Draft created on %s at %s', date(get_option('date_format'), $now), date(get_option('time_format'), $now))
Note: See TracChangeset
for help on using the changeset viewer.