Make WordPress Core

Changeset 48138


Ignore:
Timestamp:
06/23/2020 10:46:58 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing @return description for some theme functions:

  • get_stylesheet_directory_uri()
  • get_stylesheet_uri()
  • get_locale_stylesheet_uri()

Props stevenlinx.
Fixes #50450.

File:
1 edited

Legend:

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

    r48137 r48138  
    183183 * @since 1.5.0
    184184 *
    185  * @return string Path to current theme stylesheet directory.
     185 * @return string Path to current theme's stylesheet directory.
    186186 */
    187187function get_stylesheet_directory() {
     
    207207 * @since 1.5.0
    208208 *
    209  * @return string
     209 * @return string URI to current theme's stylesheet directory.
    210210 */
    211211function get_stylesheet_directory_uri() {
     
    234234 * @since 1.5.0
    235235 *
    236  * @return string
     236 * @return string URI to current theme's stylesheet.
    237237 */
    238238function get_stylesheet_uri() {
     
    269269 * @global WP_Locale $wp_locale WordPress date and time locale object.
    270270 *
    271  * @return string
     271 * @return string URI to current theme's localized stylesheet.
    272272 */
    273273function get_locale_stylesheet_uri() {
     
    317317 * @since 1.5.0
    318318 *
    319  * @return string Path to current theme template directory.
     319 * @return string Path to current theme's template directory.
    320320 */
    321321function get_template_directory() {
     
    341341 * @since 1.5.0
    342342 *
    343  * @return string URI to current theme template directory.
     343 * @return string URI to current theme's template directory.
    344344 */
    345345function get_template_directory_uri() {
Note: See TracChangeset for help on using the changeset viewer.