Changeset 5386 for branches/2.2/wp-admin/widgets.php
- Timestamp:
- 05/04/2007 05:52:57 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/wp-admin/widgets.php
r5343 r5386 2 2 3 3 require_once 'admin.php'; 4 5 if ( ! current_user_can('edit_themes') ) 6 wp_die( __( 'Cheatin’ uh?' )); 4 7 5 8 wp_enqueue_script( 'scriptaculous-effects' ); … … 351 354 352 355 <p class="submit"> 353 <?php 354 if ( function_exists( 'wp_nonce_field' ) ) { 355 wp_nonce_field( 'widgets-save-widget-order' ); 356 } 357 ?> 356 <?php wp_nonce_field( 'widgets-save-widget-order' ); ?> 358 357 <input type="hidden" name="action" id="action" value="save_widget_order" /> 359 358 <input type="submit" value="<?php _e( 'Save Changes »' ); ?>" />
Note: See TracChangeset
for help on using the changeset viewer.