Make WordPress Core

Changeset 51328


Ignore:
Timestamp:
07/04/2021 09:57:02 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add @since tags for WP_Theme class properties.

Document WordPress versions Twenty Twelve and later bundled themes were introduced in.

See #53399.

File:
1 edited

Legend:

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

    r51003 r51328  
    4545     * Default themes.
    4646     *
     47     * @since 3.4.0
     48     * @since 3.5.0 Added the Twenty Twelve theme.
     49     * @since 3.6.0 Added the Twenty Thirteen theme.
     50     * @since 3.8.0 Added the Twenty Fourteen theme.
     51     * @since 4.1.0 Added the Twenty Fifteen theme.
     52     * @since 4.4.0 Added the Twenty Sixteen theme.
     53     * @since 4.7.0 Added the Twenty Seventeen theme.
     54     * @since 5.0.0 Added the Twenty Nineteen theme.
     55     * @since 5.3.0 Added the Twenty Twenty theme.
     56     * @since 5.6.0 Added the Twenty Twenty-One theme.
    4757     * @var array
    4858     */
     
    6676     * Renamed theme tags.
    6777     *
     78     * @since 3.8.0
    6879     * @var array
    6980     */
     
    7687     * Absolute path to the theme root, usually wp-content/themes
    7788     *
     89     * @since 3.4.0
    7890     * @var string
    7991     */
     
    8395     * Header data from the theme's style.css file.
    8496     *
     97     * @since 3.4.0
    8598     * @var array
    8699     */
     
    90103     * Header data from the theme's style.css file after being sanitized.
    91104     *
     105     * @since 3.4.0
    92106     * @var array
    93107     */
     
    99113     * Cached due to sorting functions running over the translated name.
    100114     *
     115     * @since 3.4.0
    101116     * @var string
    102117     */
     
    106121     * Errors encountered when initializing the theme.
    107122     *
     123     * @since 3.4.0
    108124     * @var WP_Error
    109125     */
     
    116132     * Otherwise, 'stylesheet' is the same as 'template'.
    117133     *
     134     * @since 3.4.0
    118135     * @var string
    119136     */
     
    126143     * Otherwise, 'template' is the same as 'stylesheet'.
    127144     *
     145     * @since 3.4.0
    128146     * @var string
    129147     */
     
    133151     * A reference to the parent theme, in the case of a child theme.
    134152     *
     153     * @since 3.4.0
    135154     * @var WP_Theme
    136155     */
     
    140159     * URL to the theme root, usually an absolute URL to wp-content/themes
    141160     *
     161     * @since 3.4.0
    142162     * @var string
    143163     */
     
    147167     * Flag for whether the theme's textdomain is loaded.
    148168     *
     169     * @since 3.4.0
    149170     * @var bool
    150171     */
     
    154175     * Stores an md5 hash of the theme root, to function as the cache key.
    155176     *
     177     * @since 3.4.0
    156178     * @var string
    157179     */
     
    163185     * Default is false. Can be set with the {@see 'wp_cache_themes_persistently'} filter.
    164186     *
     187     * @since 3.4.0
    165188     * @var bool
    166189     */
     
    172195     * By default the bucket is not cached, so this value is useless.
    173196     *
     197     * @since 3.4.0
    174198     * @var bool
    175199     */
Note: See TracChangeset for help on using the changeset viewer.