Changeset 28861 for trunk/src/wp-includes/class-wp-customize-widgets.php
- Timestamp:
- 06/26/2014 08:16:21 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src
- Property svn:ignore
-
old new 1 1 .wp-tests-version 2 2 .htaccess 3 web-store-experiences
-
- Property svn:ignore
-
trunk/src/wp-includes/class-wp-customize-widgets.php
r28143 r28861 434 434 } 435 435 436 $this->manager->add_panel( 'widgets', array( 437 'title' => __( 'Widgets' ), 438 'description' => __( 'Widgets are independent sections of content that can be placed into widgetized areas provided by your theme (commonly called sidebars).' ), 439 ) ); 440 436 441 foreach ( $sidebars_widgets as $sidebar_id => $sidebar_widget_ids ) { 437 442 if ( empty( $sidebar_widget_ids ) ) { … … 459 464 460 465 $section_args = array( 461 /* translators: %s: sidebar name */462 ' title' => sprintf( __( 'Widgets: %s' ), $GLOBALS['wp_registered_sidebars'][$sidebar_id]['name'] ),463 ' description' => $GLOBALS['wp_registered_sidebars'][$sidebar_id]['description'],464 'p riority' => 1000 + array_search( $sidebar_id, array_keys( $wp_registered_sidebars ) ),466 'title' => $GLOBALS['wp_registered_sidebars'][ $sidebar_id ]['name'], 467 'description' => $GLOBALS['wp_registered_sidebars'][ $sidebar_id ]['description'], 468 'priority' => array_search( $sidebar_id, array_keys( $wp_registered_sidebars ) ), 469 'panel' => 'widgets', 465 470 ); 466 471
Note: See TracChangeset
for help on using the changeset viewer.