Make WordPress Core

Changeset 53254


Ignore:
Timestamp:
04/25/2022 09:52:18 AM (2 years ago)
Author:
audrasjb
Message:

Docs: Use third-person singular verbs for function descriptions in WP_Theme Class, as per docs standards.

See #54729.

File:
1 edited

Legend:

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

    r53253 r53254  
    688688
    689689    /**
    690      * Whether the theme exists.
     690     * Determines whether the theme exists.
    691691     *
    692692     * A theme with errors exists. A theme with the error of 'theme_not_found',
     
    762762
    763763    /**
    764      * Get a raw, unformatted theme header.
     764     * Gets a raw, unformatted theme header.
    765765     *
    766766     * The header is sanitized, but is not translated, and is not marked up for display.
     
    839839
    840840    /**
    841      * Sanitize a theme header.
     841     * Sanitizes a theme header.
    842842     *
    843843     * @since 3.4.0
     
    903903
    904904    /**
    905      * Mark up a theme header.
     905     * Marks up a theme header.
    906906     *
    907907     * @since 3.4.0
     
    946946
    947947    /**
    948      * Translate a theme header.
     948     * Translates a theme header.
    949949     *
    950950     * @since 3.4.0
     
    10231023
    10241024    /**
    1025      * The directory name of the theme's "stylesheet" files, inside the theme root.
     1025     * Returns the directory name of the theme's "stylesheet" files, inside the theme root.
    10261026     *
    10271027     * In the case of a child theme, this is directory name of the child theme.
     
    10371037
    10381038    /**
    1039      * The directory name of the theme's "template" files, inside the theme root.
     1039     * Returns the directory name of the theme's "template" files, inside the theme root.
    10401040     *
    10411041     * In the case of a child theme, this is the directory name of the parent theme.
     
    11231123
    11241124    /**
    1125      * The absolute path to the directory of the theme root.
     1125     * Returns the absolute path to the directory of the theme root.
    11261126     *
    11271127     * This is typically the absolute path to wp-content/themes.
     
    11921192
    11931193    /**
    1194      * Return files in the theme's directory.
     1194     * Returns files in the theme's directory.
    11951195     *
    11961196     * @since 3.4.0
     
    14441444
    14451445    /**
    1446      * Whether the theme is allowed (multisite only).
     1446     * Determines whether the theme is allowed (multisite only).
    14471447     *
    14481448     * @since 3.4.0
Note: See TracChangeset for help on using the changeset viewer.