Changeset 12213 for trunk/wp-admin/includes/widgets.php
- Timestamp:
- 11/19/2009 09:12:16 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/widgets.php
r11577 r12213 53 53 54 54 /** 55 * {@internal Missing Short Description}} 56 * 57 * @since unknown 58 * 59 * @param string $sidebar 55 * Show the widgets and their settings for a sidebar. 56 * Used in the the admin widget config screen. 57 * 58 * @since unknown 59 * 60 * @param string $sidebar id slug of the sidebar 60 61 */ 61 62 function wp_list_widget_controls( $sidebar ) { 62 63 add_filter( 'dynamic_sidebar_params', 'wp_list_widget_controls_dynamic_sidebar' ); 63 64 64 echo "\t<div id='$sidebar' class='widgets-sortables'>\n"; 65 echo "<div id='$sidebar' class='widgets-sortables'>\n"; 66 67 $description = wp_sidebar_description( $sidebar ); 68 69 if ( !empty( $description ) ) { 70 echo "<div class='sidebar-description'>\n"; 71 echo "\t<p class='description'>$description</p>"; 72 echo "</div>\n"; 73 } 74 65 75 dynamic_sidebar( $sidebar ); 66 echo " \t</div>\n";76 echo "</div>\n"; 67 77 } 68 78
Note: See TracChangeset
for help on using the changeset viewer.