Customize: Consistently use `input_attrs` as control param key in JS instead of `inputAttrs`.

See #30738, #41897.

Built from https://develop.svn.wordpress.org/trunk@41936


git-svn-id: http://core.svn.wordpress.org/trunk@41770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2017-10-19 03:25:47 +00:00
parent f8d16c8aed
commit 20aad6b5c5
4 changed files with 4 additions and 4 deletions

View File

@ -6900,7 +6900,7 @@
type: 'button', type: 'button',
section: section.id, section: section.id,
priority: 30, priority: 30,
inputAttrs: { input_attrs: {
'class': 'button-link button-link-delete', 'class': 'button-link button-link-delete',
value: api.l10n.discardChanges value: api.l10n.discardChanges
} }

File diff suppressed because one or more lines are too long

View File

@ -4003,7 +4003,7 @@ final class WP_Customize_Manager {
if ( data.description ) { if ( data.description ) {
inputAttrs['aria-describedby'] = descriptionId; inputAttrs['aria-describedby'] = descriptionId;
} }
_.extend( inputAttrs, data.inputAttrs ); _.extend( inputAttrs, data.input_attrs );
#> #>
<# if ( 'button' === data.type ) { #> <# if ( 'button' === data.type ) { #>

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.9-beta2-41935'; $wp_version = '4.9-beta2-41936';
/** /**
* 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.