mirror of
git://develop.git.wordpress.org/
synced 2025-02-12 02:44:22 +01:00
Customize: Consistently use input_attrs
as control param key in JS instead of inputAttrs
.
See #30738, #41897. git-svn-id: https://develop.svn.wordpress.org/trunk@41936 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1c04006909
commit
aac833887e
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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 ) { #>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user