Changeset 36689 for trunk/src/wp-includes/class-wp-customize-widgets.php
- Timestamp:
- 02/24/2016 06:27:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-widgets.php
r36623 r36689 1486 1486 public function customize_dynamic_partial_args( $partial_args, $partial_id ) { 1487 1487 1488 if ( preg_match( '/^widget\[ .+\]$/', $partial_id) ) {1488 if ( preg_match( '/^widget\[(?P<widget_id>.+)\]$/', $partial_id, $matches ) ) { 1489 1489 if ( false === $partial_args ) { 1490 1490 $partial_args = array(); … … 1493 1493 $partial_args, 1494 1494 array( 1495 'type' => 'widget',1496 'render_callback' => array( $this, 'render_widget_partial' ),1495 'type' => 'widget', 1496 'render_callback' => array( $this, 'render_widget_partial' ), 1497 1497 'container_inclusive' => true, 1498 'settings' => array( $this->get_setting_id( $matches['widget_id'] ) ), 1499 'capability' => 'edit_theme_options', 1498 1500 ) 1499 1501 );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)