Make WordPress Core

Changeset 32023


Ignore:
Timestamp:
04/04/2015 11:04:51 PM (10 years ago)
Author:
DrewAPicture
Message:

Add documentation for the $type, $mime_type, and $button_labels properties in WP_Customize_Media_Control.

See [31698]. See #31888.

File:
1 edited

Legend:

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

    r31976 r32023  
    646646 */
    647647class WP_Customize_Media_Control extends WP_Customize_Control {
    648     public $type          = 'media';
    649     public $mime_type     = '';
     648    /**
     649     * Control type.
     650     *
     651     * @since 4.2.0
     652     * @access public
     653     * @var string
     654     */
     655    public $type = 'media';
     656
     657    /**
     658     * Media control mime type.
     659     *
     660     * @since 4.2.0
     661     * @access public
     662     * @var string
     663     */
     664    public $mime_type = '';
     665
     666    /**
     667     * Button labels.
     668     *
     669     * @since 4.2.0
     670     * @access public
     671     * @var array
     672     */
    650673    public $button_labels = array();
    651674
     
    688711     * @since 4.2.0 Moved from WP_Customize_Upload_Control.
    689712     *
    690      * @uses WP_Customize_Control::to_json()
     713     * @see WP_Customize_Control::to_json()
    691714     */
    692715    public function to_json() {
Note: See TracChangeset for help on using the changeset viewer.