Ticket #29613: 29613.diff
| File 29613.diff, 1.5 KB (added by , 12 years ago) |
|---|
-
src/wp-includes/class-wp-customize-control.php
333 333 * 334 334 * Allows the content to be overriden without having to rewrite the wrapper in $this->render(). 335 335 * 336 * Supports basic input types `text`, `checkbox`, `textarea`, `radio`, `select` and `dropdown-pages`. 337 * Additional input types such as `email`, `url`, `number`, `hidden` and `date` are supported implicitly. 336 * Supports basic input types `checkbox`, `textarea`, `radio`, `select` and `dropdown-pages`. 337 * All input types that use the `<input>` element are supported with basic output; use the 338 * `input_attrs` argument when adding the control to add additional parameters. Examples 339 * include: `text`, `email`, `url`, `number`, `hidden` and `date`. 338 340 * 339 341 * @since 3.4.0 340 342 */ … … 428 430 $dropdown 429 431 ); 430 432 break; 431 default: 433 case 'hidden': 434 case 'text': 435 case 'search': 436 case 'tel': 437 case 'url': 438 case 'email': 439 case 'password': 440 case 'datetime': 441 case 'date': 442 case 'month': 443 case 'week': 444 case 'time': 445 case 'number': 446 case 'range': 447 case 'color': 448 case 'checkbox': 449 case 'radio': 450 case 'file': 451 case 'image': 452 case 'reset': 453 case 'button': 432 454 ?> 433 455 <label> 434 456 <?php if ( ! empty( $this->label ) ) : ?>