Ticket #25501: 25501.2.diff
| File 25501.2.diff, 1.3 KB (added by , 12 years ago) |
|---|
-
src/wp-admin/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 * Triggered after widgets are set up ($wp_registered_widgets and 41 * $wp_registered_widget_controls are defined), but before other 42 * 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 the title, but before available widgets and sidebars have loaded. 330 * 331 * Displays content on the widget admin page before the main page content. 332 * 333 * @since 3.0.0 334 */ 335 do_action( 'widgets_admin_page' ); ?> 319 336 320 337 <div class="widget-liquid-left"> 321 338 <div id="widgets-left"> … … 396 413 </div> 397 414 398 415 <?php 416 417 /** 418 * Fires after the available widgets and sidebars have loaded. 419 * 420 * Displays content on the widget admin page as part of the main page content. 421 * 422 * @since 2.2.0 423 */ 399 424 do_action( 'sidebar_admin_page' ); 400 425 require_once( ABSPATH . 'wp-admin/admin-footer.php' );