Make WordPress Core

Changeset 39736


Ignore:
Timestamp:
01/06/2017 01:47:16 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing @since entries for WP_Theme class methods.

Props keesiemeijer.
Fixes #39503.

File:
1 edited

Legend:

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

    r39236 r39736  
    149149     *
    150150     * @access private
    151      * var string
     151     * @var string
    152152     */
    153153    private $theme_root_uri;
     
    193193    /**
    194194     * Constructor for WP_Theme.
     195     *
     196     * @since  3.4.0
    195197     *
    196198     * @global array $wp_theme_directories
     
    334336     * When converting the object to a string, the theme name is returned.
    335337     *
     338     * @since  3.4.0
     339     *
    336340     * @return string Theme name, ready for display (translated)
    337341     */
     
    344348     *
    345349     * @staticvar array $properties
     350     *
     351     * @since  3.4.0
    346352     *
    347353     * @param string $offset Property to check if set.
     
    359365    /**
    360366     * __get() magic method for properties formerly returned by current_theme_info()
     367     *
     368     * @since  3.4.0
    361369     *
    362370     * @param string $offset Property to get.
     
    402410     * Method to implement ArrayAccess for keys formerly returned by get_themes()
    403411     *
     412     * @since  3.4.0
     413     *
    404414     * @param mixed $offset
    405415     * @param mixed $value
     
    410420     * Method to implement ArrayAccess for keys formerly returned by get_themes()
    411421     *
     422     * @since  3.4.0
     423     *
    412424     * @param mixed $offset
    413425     */
     
    418430     *
    419431     * @staticvar array $keys
     432     *
     433     * @since  3.4.0
    420434     *
    421435     * @param mixed $offset
     
    441455     * and care should be taken to use `$theme::display( 'Name' )` to get a properly
    442456     * translated header.
     457     *
     458     * @since  3.4.0
    443459     *
    444460     * @param mixed $offset
     
    12271243     * This hits the filesystem.
    12281244     *
     1245     * @since  4.4.0
     1246     *
    12291247     * @return WP_Theme|false Object, or false if no theme is installed, which would be bad.
    12301248     */
Note: See TracChangeset for help on using the changeset viewer.