Ticket #25501: widgets.php.patch
| File widgets.php.patch, 1.5 KB (added by , 13 years ago) |
|---|
-
widgets.php
34 34 wp_enqueue_script( 'jquery-touch-punch' ); 35 35 } 36 36 37 /** 38 * Fires early when editing the widgets displayed in sidebars. 39 * 40 * This action is triggered after widgets are set up (globals 41 * $wp_registered_widgets and $wp_registered_widget_controls are defined) but 42 * before other actions on the widgets are taken. 43 * 44 * @since 2.2.0 45 */ 37 46 do_action( 'sidebar_admin_setup' ); 38 47 39 48 $title = __( 'Widgets' ); … … 315 324 <div id="message" class="error"><p><?php echo $errors[$_GET['error']]; ?></p></div> 316 325 <?php } ?> 317 326 318 <?php do_action( 'widgets_admin_page' ); ?> 327 <?php 328 /** 329 * Fires after title, but before main content. 330 * 331 * Triggered on the widget admin page before the main content (available widgets 332 * & sidebars) has loaded. Hook this action to display content on the widget 333 * admin page before the main content. 334 * 335 * @since 3.0.0 336 */ 337 do_action( 'widgets_admin_page' ); ?> 319 338 320 339 <div class="widget-liquid-left"> 321 340 <div id="widgets-left"> … … 396 415 </div> 397 416 398 417 <?php 418 419 /** 420 * Fires after main content is processed. 421 * 422 * Triggered on the widget admin page after the main content (available widgets 423 * & sidebars) has loaded. Hook this action to display content on the widget 424 * admin page as part of the main content. 425 * 426 * @since 2.2.0 427 */ 399 428 do_action( 'sidebar_admin_page' ); 400 429 require_once( ABSPATH . 'wp-admin/admin-footer.php' );