Changeset 40804 for trunk/src/wp-includes/class-wp-customize-control.php
- Timestamp:
- 05/19/2017 08:24:58 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-control.php
r39345 r40804 38 38 39 39 /** 40 * Customizer manager. 41 * 42 * @since 3.4.0 40 43 * @access public 41 44 * @var WP_Customize_Manager … … 44 47 45 48 /** 49 * Control ID. 50 * 51 * @since 3.4.0 46 52 * @access public 47 53 * @var string … … 52 58 * All settings tied to the control. 53 59 * 60 * @since 3.4.0 54 61 * @access public 55 62 * @var array … … 60 67 * The primary setting for the control (if there is one). 61 68 * 69 * @since 3.4.0 62 70 * @access public 63 71 * @var string … … 78 86 79 87 /** 88 * Order priority to load the control in Customizer. 89 * 90 * @since 3.4.0 80 91 * @access public 81 92 * @var int … … 84 95 85 96 /** 97 * Section the control belongs to. 98 * 99 * @since 3.4.0 86 100 * @access public 87 101 * @var string … … 90 104 91 105 /** 106 * Label for the control. 107 * 108 * @since 3.4.0 92 109 * @access public 93 110 * @var string … … 96 113 97 114 /** 115 * Description for the control. 116 * 117 * @since 4.0.0 98 118 * @access public 99 119 * @var string … … 102 122 103 123 /** 104 * @todo: Remove choices 105 * 124 * List of choices for 'radio' or 'select' type controls, where values are the keys, and labels are the values. 125 * 126 * @since 3.4.0 106 127 * @access public 107 128 * @var array … … 110 131 111 132 /** 133 * List of custom input attributes for control output, where attribute names are the keys and values are the values. 134 * 135 * Not used for 'checkbox', 'radio', 'select', 'textarea', or 'dropdown-pages' control types. 136 * 137 * @since 4.0.0 112 138 * @access public 113 139 * @var array … … 126 152 /** 127 153 * @deprecated It is better to just call the json() method 154 * @since 3.4.0 128 155 * @access public 129 156 * @var array … … 132 159 133 160 /** 161 * Control's Type. 162 * 163 * @since 3.4.0 134 164 * @access public 135 165 * @var string … … 236 266 * 237 267 * @since 4.0.0 238 * @access public239 268 * 240 269 * @return bool Whether the control is active to the current preview. … … 264 293 * 265 294 * @since 4.0.0 266 * @access public267 295 * 268 296 * @return true Always true. … … 447 475 * 448 476 * @since 4.0.0 449 * @access public450 477 */ 451 478 public function input_attrs() { … … 649 676 } 650 677 651 /** WP_Customize_Color_Control class */ 678 /** 679 * WP_Customize_Color_Control class. 680 */ 652 681 require_once( ABSPATH . WPINC . '/customize/class-wp-customize-color-control.php' ); 653 682 654 /** WP_Customize_Media_Control class */ 683 /** 684 * WP_Customize_Media_Control class. 685 */ 655 686 require_once( ABSPATH . WPINC . '/customize/class-wp-customize-media-control.php' ); 656 687 657 /** WP_Customize_Upload_Control class */ 688 /** 689 * WP_Customize_Upload_Control class. 690 */ 658 691 require_once( ABSPATH . WPINC . '/customize/class-wp-customize-upload-control.php' ); 659 692 660 /** WP_Customize_Image_Control class */ 693 /** 694 * WP_Customize_Image_Control class. 695 */ 661 696 require_once( ABSPATH . WPINC . '/customize/class-wp-customize-image-control.php' ); 662 697 663 /** WP_Customize_Background_Image_Control class */ 698 /** 699 * WP_Customize_Background_Image_Control class. 700 */ 664 701 require_once( ABSPATH . WPINC . '/customize/class-wp-customize-background-image-control.php' ); 665 702 666 /** WP_Customize_Background_Position_Control class */ 703 /** 704 * WP_Customize_Background_Position_Control class. 705 */ 667 706 require_once( ABSPATH . WPINC . '/customize/class-wp-customize-background-position-control.php' ); 668 707 669 /** WP_Customize_Cropped_Image_Control class */ 708 /** 709 * WP_Customize_Cropped_Image_Control class. 710 */ 670 711 require_once( ABSPATH . WPINC . '/customize/class-wp-customize-cropped-image-control.php' ); 671 712 672 /** WP_Customize_Site_Icon_Control class */ 713 /** 714 * WP_Customize_Site_Icon_Control class. 715 */ 673 716 require_once( ABSPATH . WPINC . '/customize/class-wp-customize-site-icon-control.php' ); 674 717 675 /** WP_Customize_Header_Image_Control class */ 718 /** 719 * WP_Customize_Header_Image_Control class. 720 */ 676 721 require_once( ABSPATH . WPINC . '/customize/class-wp-customize-header-image-control.php' ); 677 722 678 /** WP_Customize_Theme_Control class */ 723 /** 724 * WP_Customize_Theme_Control class. 725 */ 679 726 require_once( ABSPATH . WPINC . '/customize/class-wp-customize-theme-control.php' ); 680 727 681 /** WP_Widget_Area_Customize_Control class */ 728 /** 729 * WP_Widget_Area_Customize_Control class. 730 */ 682 731 require_once( ABSPATH . WPINC . '/customize/class-wp-widget-area-customize-control.php' ); 683 732 684 /** WP_Widget_Form_Customize_Control class */ 733 /** 734 * WP_Widget_Form_Customize_Control class. 735 */ 685 736 require_once( ABSPATH . WPINC . '/customize/class-wp-widget-form-customize-control.php' ); 686 737 687 /** WP_Customize_Nav_Menu_Control class */ 738 /** 739 * WP_Customize_Nav_Menu_Control class. 740 */ 688 741 require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-control.php' ); 689 742 690 /** WP_Customize_Nav_Menu_Item_Control class */ 743 /** 744 * WP_Customize_Nav_Menu_Item_Control class. 745 */ 691 746 require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-item-control.php' ); 692 747 693 /** WP_Customize_Nav_Menu_Location_Control class */ 748 /** 749 * WP_Customize_Nav_Menu_Location_Control class. 750 */ 694 751 require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-location-control.php' ); 695 752 696 /** WP_Customize_Nav_Menu_Name_Control class */ 753 /** 754 * WP_Customize_Nav_Menu_Name_Control class. 755 */ 697 756 require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-name-control.php' ); 698 757 699 /** WP_Customize_Nav_Menu_Auto_Add_Control class */ 758 /** 759 * WP_Customize_Nav_Menu_Auto_Add_Control class. 760 */ 700 761 require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-auto-add-control.php' ); 701 762 702 /** WP_Customize_New_Menu_Control class */ 763 /** 764 * WP_Customize_New_Menu_Control class. 765 */ 703 766 require_once( ABSPATH . WPINC . '/customize/class-wp-customize-new-menu-control.php' );
Note: See TracChangeset
for help on using the changeset viewer.