Changeset 3759 for trunk/wp-admin/edit-page-form.php
- Timestamp:
- 05/02/2006 10:36:06 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-page-form.php
r3664 r3759 6 6 if (0 == $post_ID) { 7 7 $form_action = 'post'; 8 $nonce_action = 'add-page'; 8 9 $temp_ID = -1 * time(); 9 10 $form_extra = "<input type='hidden' id='post_ID' name='temp_ID' value='$temp_ID' />"; 10 11 } else { 11 12 $form_action = 'editpost'; 13 $nonce_action = 'update-page' . $post_ID; 12 14 $form_extra = "<input type='hidden' id='post_ID' name='post_ID' value='$post_ID' />"; 13 15 } … … 24 26 25 27 <?php 28 wp_nonce_field($nonce_action); 29 26 30 if (isset($mode) && 'bookmarklet' == $mode) { 27 31 echo '<input type="hidden" name="mode" value="bookmarklet" />'; … … 151 155 if (current_user_can('upload_files')) { 152 156 $uploading_iframe_ID = (0 == $post_ID ? $temp_ID : $post_ID); 153 $uploading_iframe_src = "inline-uploading.php?action=view&post=$uploading_iframe_ID";157 $uploading_iframe_src = wp_nonce_url("inline-uploading.php?action=view&post=$uploading_iframe_ID", 'inlineuploading'); 154 158 $uploading_iframe_src = apply_filters('uploading_iframe_src', $uploading_iframe_src); 155 159 if ( false != $uploading_iframe_src )
Note: See TracChangeset
for help on using the changeset viewer.