Make WordPress Core


Ignore:
Timestamp:
03/24/2012 01:02:29 AM (14 years ago)
Author:
koopersmith
Message:

Theme Customizer: Add WP_Customizer_Setting->control_params, and wp.customize.Control.params to allow settings to pass arbitrary parameters to controls. Add the 'context' parameter to wp.customize.UploadControl. see #19910.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-customize-setting.php

    r20263 r20276  
    1515    public $label             = '';
    1616    public $control           = 'text';
     17    public $control_params    = array();
    1718    public $type              = 'theme_mod';
    1819    public $choices           = array();
Note: See TracChangeset for help on using the changeset viewer.