Ticket #12867: 12867.2.diff
File 12867.2.diff, 1.8 KB (added by , 15 years ago) |
---|
-
wp-admin/edit-form-advanced.php
172 172 <input type="hidden" id="post_author" name="post_author" value="<?php echo esc_attr( $post->post_author ); ?>" /> 173 173 <input type="hidden" id="post_type" name="post_type" value="<?php echo esc_attr($post_type) ?>" /> 174 174 <input type="hidden" id="original_post_status" name="original_post_status" value="<?php echo esc_attr($post->post_status) ?>" /> 175 <input name="referredby" type="hidden" id="referredby" value="<?php echo esc_url(stripslashes(wp_get_referer())); ?>" />175 <input type="hidden" id="referredby" name="referredby" value="<?php echo esc_url(stripslashes(wp_get_referer())); ?>" /> 176 176 <?php 177 177 if ( 'draft' != $post->post_status ) 178 178 wp_original_referer_field(true, 'previous'); 179 179 180 echo $form_extra ?>180 echo $form_extra; 181 181 182 wp_nonce_field( 'autosave', 'autosavenonce', false ); 183 wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); 184 wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); 185 ?> 186 182 187 <div id="poststuff" class="metabox-holder<?php echo 2 == $screen_layout_columns ? ' has-right-sidebar' : ''; ?>"> 183 188 <div id="side-info-column" class="inner-sidebar"> 184 189 … … 214 219 } 215 220 ?> 216 221 </div> 222 <?php 223 wp_nonce_field( 'samplepermalink', 'samplepermalinknonce', false ); 224 ?> 217 225 </div> 218 226 <?php } ?> 219 227 … … 240 248 </td> 241 249 </tr></tbody></table> 242 250 243 <?php244 wp_nonce_field( 'autosave', 'autosavenonce', false );245 wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false );246 wp_nonce_field( 'getpermalink', 'getpermalinknonce', false );247 wp_nonce_field( 'samplepermalink', 'samplepermalinknonce', false );248 wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>249 251 </div> 250 252 251 253 <?php