Changeset 9332
- Timestamp:
- 10/24/2008 08:04:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-page-form.php
r9319 r9332 14 14 if ( ! isset( $post_ID ) ) 15 15 $post_ID = 0; 16 if ( ! isset( $temp_ID ) ) 17 $temp_ID = 0; 16 18 17 19 if ( isset($_GET['message']) ) … … 38 40 $nonce_action = 'update-page_' . $post_ID; 39 41 $form_extra = "<input type='hidden' id='post_ID' name='post_ID' value='$post_ID' />"; 40 $autosave = wp_get_post_autosave( $post_ id);42 $autosave = wp_get_post_autosave( $post_ID ); 41 43 if ( $autosave && mysql2date( 'U', $autosave->post_modified_gmt ) > mysql2date( 'U', $post->post_modified_gmt ) ) 42 44 $notice = sprintf( $notices[1], get_edit_post_link( $autosave->ID ) );
Note: See TracChangeset
for help on using the changeset viewer.