Make WordPress Core

Changeset 37493


Ignore:
Timestamp:
05/22/2016 06:17:38 PM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Standardize filter docs in wp-includes/theme.php to use third-person singular verbs per the inline documentation standards for PHP.

See #36913.

File:
1 edited

Legend:

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

    r37487 r37493  
    152152function get_stylesheet() {
    153153    /**
    154      * Filter the name of current stylesheet.
     154     * Filters the name of current stylesheet.
    155155     *
    156156     * @since 1.5.0
     
    174174
    175175    /**
    176      * Filter the stylesheet directory path for current theme.
     176     * Filters the stylesheet directory path for current theme.
    177177     *
    178178     * @since 1.5.0
     
    198198
    199199    /**
    200      * Filter the stylesheet directory URI.
     200     * Filters the stylesheet directory URI.
    201201     *
    202202     * @since 1.5.0
     
    223223    $stylesheet_uri = $stylesheet_dir_uri . '/style.css';
    224224    /**
    225      * Filter the URI of the current theme stylesheet.
     225     * Filters the URI of the current theme stylesheet.
    226226     *
    227227     * @since 1.5.0
     
    265265        $stylesheet_uri = '';
    266266    /**
    267      * Filter the localized stylesheet URI.
     267     * Filters the localized stylesheet URI.
    268268     *
    269269     * @since 2.1.0
     
    284284function get_template() {
    285285    /**
    286      * Filter the name of the current theme.
     286     * Filters the name of the current theme.
    287287     *
    288288     * @since 1.5.0
     
    306306
    307307    /**
    308      * Filter the current theme directory path.
     308     * Filters the current theme directory path.
    309309     *
    310310     * @since 1.5.0
     
    330330
    331331    /**
    332      * Filter the current theme directory URI.
     332     * Filters the current theme directory URI.
    333333     *
    334334     * @since 1.5.0
     
    435435
    436436    /**
    437      * Filter whether to get the cache of the registered theme directories.
     437     * Filters whether to get the cache of the registered theme directories.
    438438     *
    439439     * @since 3.4.0
     
    552552
    553553    /**
    554      * Filter the absolute path to the themes directory.
     554     * Filters the absolute path to the themes directory.
    555555     *
    556556     * @since 1.5.0
     
    601601
    602602    /**
    603      * Filter the URI for themes directory.
     603     * Filters the URI for themes directory.
    604604     *
    605605     * @since 1.5.0
     
    771771function validate_current_theme() {
    772772    /**
    773      * Filter whether to validate the current theme.
     773     * Filters whether to validate the current theme.
    774774     *
    775775     * @since 2.7.0
     
    857857    if ( isset( $mods[$name] ) ) {
    858858        /**
    859          * Filter the theme modification, or 'theme_mod', value.
     859         * Filters the theme modification, or 'theme_mod', value.
    860860         *
    861861         * The dynamic portion of the hook name, `$name`, refers to
     
    891891
    892892    /**
    893      * Filter the theme mod value on save.
     893     * Filters the theme mod value on save.
    894894     *
    895895     * The dynamic portion of the hook name, `$name`, refers to the key name of
     
    10711071
    10721072    /**
    1073      * Filter the markup of header images.
     1073     * Filters the markup of header images.
    10741074     *
    10751075     * @since 4.4.0
     
    15041504
    15051505    /**
    1506      * Filter the array of stylesheets applied to the editor.
     1506     * Filters the array of stylesheets applied to the editor.
    15071507     *
    15081508     * @since 4.3.0
     
    19471947
    19481948    /**
    1949      * Filter whether the current theme supports a specific feature.
     1949     * Filters whether the current theme supports a specific feature.
    19501950     *
    19511951     * The dynamic portion of the hook name, `$feature`, refers to the specific theme
Note: See TracChangeset for help on using the changeset viewer.