WordPress.org

Make WordPress Core

Changeset 49680


Ignore:
Timestamp:
11/22/2020 03:50:35 PM (5 days ago)
Author:
SergeyBiryukov
Message:

Docs: Add documentation for the $type and $mime_type properties in WP_Customize_Image_Control.

Follow-up to [20319], [30309], [31698], [32023], [49679].

Props subrataemfluence.
Fixes #44411.

File:
1 edited

Legend:

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

    r48590 r49680  
    1616 */
    1717class WP_Customize_Image_Control extends WP_Customize_Upload_Control {
    18     public $type      = 'image';
     18    /**
     19     * Control type.
     20     *
     21     * @since 3.4.0
     22     * @var string
     23     */
     24    public $type = 'image';
     25
     26    /**
     27     * Media control mime type.
     28     *
     29     * @since 4.1.0
     30     * @var string
     31     */
    1932    public $mime_type = 'image';
    2033
Note: See TracChangeset for help on using the changeset viewer.