Changeset 11450 for trunk/wp-admin/widgets.php
- Timestamp:
- 05/24/2009 11:47:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/widgets.php
r11445 r11450 70 70 } 71 71 } 72 72 73 73 // discard invalid, theme-specific widgets from sidebars 74 74 $shown_widgets = array(); … … 76 76 if ( !is_array($widgets) ) 77 77 continue; 78 78 79 79 $_widgets = array(); 80 80 foreach ( $widgets as $widget ) { … … 221 221 if ( !isset($name) ) 222 222 $name = esc_html( strip_tags($control['name']) ); 223 223 224 224 if ( !isset($sidebar) ) 225 225 $sidebar = isset($_GET['sidebar']) ? $_GET['sidebar'] : 'wp_inactive_widgets'; … … 243 243 <form action="widgets.php" method="post"> 244 244 <div class="widget-inside"> 245 <?php 245 <?php 246 246 if ( is_callable( $control_callback ) ) 247 247 call_user_func_array( $control_callback, $control['params'] );
Note: See TracChangeset
for help on using the changeset viewer.