Changeset 8732 for trunk/wp-admin/edit-form-advanced.php
- Timestamp:
- 08/25/2008 09:50:11 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-form-advanced.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r8726 r8732 14 14 if ( ! isset( $post_ID ) ) 15 15 $post_ID = 0; 16 else 17 $post_ID = (int) $post_ID; 16 18 17 19 $action = isset($action) ? $action : ''; … … 37 39 $autosave = false; 38 40 } else { 39 $post_ID = (int) $post_ID;40 41 $form_action = 'editpost'; 41 42 $form_extra = "<input type='hidden' id='post_ID' name='post_ID' value='$post_ID' />"; 42 $autosave = wp_get_post_autosave( $post_ id);43 $autosave = wp_get_post_autosave( $post_ID ); 43 44 44 45 // Detect if there exists an autosave newer than the post and if that autosave is different than the post
Note: See TracChangeset
for help on using the changeset viewer.