Merge two strings for expanding accordion and Customizer sections.

Props pavelevap.
Fixes #33939.
Built from https://develop.svn.wordpress.org/trunk@35232


git-svn-id: http://core.svn.wordpress.org/trunk@35198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-10-17 00:28:25 +00:00
parent 6bcd8ad757
commit 7c2919c02b
3 changed files with 3 additions and 3 deletions

View File

@ -1130,7 +1130,7 @@ function do_accordion_sections( $screen, $context, $object ) {
<li class="control-section accordion-section <?php echo $hidden_class; ?> <?php echo $open_class; ?> <?php echo esc_attr( $box['id'] ); ?>" id="<?php echo esc_attr( $box['id'] ); ?>"> <li class="control-section accordion-section <?php echo $hidden_class; ?> <?php echo $open_class; ?> <?php echo esc_attr( $box['id'] ); ?>" id="<?php echo esc_attr( $box['id'] ); ?>">
<h3 class="accordion-section-title hndle" tabindex="0"> <h3 class="accordion-section-title hndle" tabindex="0">
<?php echo esc_html( $box['title'] ); ?> <?php echo esc_html( $box['title'] ); ?>
<span class="screen-reader-text"><?php _e( 'Press return or enter to expand' ); ?></span> <span class="screen-reader-text"><?php _e( 'Press return or enter to open this section' ); ?></span>
</h3> </h3>
<div class="accordion-section-content <?php postbox_classes( $box['id'], $page ); ?>"> <div class="accordion-section-content <?php postbox_classes( $box['id'], $page ); ?>">
<div class="inside"> <div class="inside">

View File

@ -347,7 +347,7 @@ class WP_Customize_Section {
<li id="accordion-section-{{ data.id }}" class="accordion-section control-section control-section-{{ data.type }}"> <li id="accordion-section-{{ data.id }}" class="accordion-section control-section control-section-{{ data.type }}">
<h3 class="accordion-section-title" tabindex="0"> <h3 class="accordion-section-title" tabindex="0">
{{ data.title }} {{ data.title }}
<span class="screen-reader-text"><?php _e( 'Press return or enter to open' ); ?></span> <span class="screen-reader-text"><?php _e( 'Press return or enter to open this section' ); ?></span>
</h3> </h3>
<ul class="accordion-section-content"> <ul class="accordion-section-content">
<li class="customize-section-description-container"> <li class="customize-section-description-container">

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.4-alpha-35231'; $wp_version = '4.4-alpha-35232';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.