Changeset 27398 for trunk/src/wp-includes/class-wp-customize-control.php
- Timestamp:
- 03/04/2014 08:20:28 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-control.php
r27369 r27398 40 40 * @var int 41 41 */ 42 public $priority 42 public $priority = 10; 43 43 44 44 /** … … 46 46 * @var string 47 47 */ 48 public $section 48 public $section = ''; 49 49 50 50 /** … … 52 52 * @var string 53 53 */ 54 public $label 54 public $label = ''; 55 55 56 56 /** … … 60 60 * @var array 61 61 */ 62 public $choices 62 public $choices = array(); 63 63 64 64 /** … … 77 77 /** 78 78 * Constructor. 79 * 80 * Supplied $args override class property defaults. 79 81 * 80 82 * If $args['settings'] is not defined, use the $id as the setting ID. … … 95 97 $this->manager = $manager; 96 98 $this->id = $id; 97 98 99 99 100 // Process settings. … … 186 187 187 188 /** 188 * Render the control. Renders the control wrapper, then calls $this->render_content().189 * Renders the control wrapper and calls $this->render_content() for the internals. 189 190 * 190 191 * @since 3.4.0 … … 200 201 201 202 /** 202 * Get the data link parameterfor a setting.203 * Get the data link attribute for a setting. 203 204 * 204 205 * @since 3.4.0 … … 215 216 216 217 /** 217 * Render the data link parameter for a setting218 * Render the data link attribute for the control's input element. 218 219 * 219 220 * @since 3.4.0 … … 229 230 * Render the control's content. 230 231 * 231 * Allows the content to be overriden without having to rewrite the wrapper. 232 * Allows the content to be overriden without having to rewrite the wrapper in $this->render(). 233 * 234 * Supports basic input types `text`, `checkbox`, `radio`, `select` and `dropdown-pages`. 232 235 * 233 236 * @since 3.4.0 … … 332 335 * Constructor. 333 336 * 334 * If $args['settings'] is not defined, use the $id as the setting ID.335 *336 337 * @since 3.4.0 337 338 * @uses WP_Customize_Control::__construct() … … 347 348 348 349 /** 349 * Enqueue control related scripts/styles.350 * Enqueue scripts/styles for the color picker. 350 351 * 351 352 * @since 3.4.0 … … 467 468 /** 468 469 * Constructor. 469 *470 * If $args['settings'] is not defined, use the $id as the setting ID.471 470 * 472 471 * @since 3.4.0
Note: See TracChangeset
for help on using the changeset viewer.