WordPress.org

Make WordPress Core

Changeset 41936


Ignore:
Timestamp:
10/19/2017 03:24:20 AM (2 years ago)
Author:
westonruter
Message:

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

See #30738, #41897.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/customize-controls.js

    r41935 r41936  
    69016901                section: section.id,
    69026902                priority: 30,
    6903                 inputAttrs: {
     6903                input_attrs: {
    69046904                    'class': 'button-link button-link-delete',
    69056905                    value: api.l10n.discardChanges
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r41905 r41936  
    40044004                        inputAttrs['aria-describedby'] = descriptionId;
    40054005                    }
    4006                     _.extend( inputAttrs, data.inputAttrs );
     4006                    _.extend( inputAttrs, data.input_attrs );
    40074007                    #>
    40084008
Note: See TracChangeset for help on using the changeset viewer.