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:
parent
f8d16c8aed
commit
20aad6b5c5
|
@ -6900,7 +6900,7 @@
|
|||
type: 'button',
|
||||
section: section.id,
|
||||
priority: 30,
|
||||
inputAttrs: {
|
||||
input_attrs: {
|
||||
'class': 'button-link button-link-delete',
|
||||
value: api.l10n.discardChanges
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4003,7 +4003,7 @@ final class WP_Customize_Manager {
|
|||
if ( data.description ) {
|
||||
inputAttrs['aria-describedby'] = descriptionId;
|
||||
}
|
||||
_.extend( inputAttrs, data.inputAttrs );
|
||||
_.extend( inputAttrs, data.input_attrs );
|
||||
#>
|
||||
|
||||
<# if ( 'button' === data.type ) { #>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @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.
|
||||
|
|
Loading…
Reference in New Issue