Make WordPress Core


Ignore:
Timestamp:
05/23/2016 07:01:40 PM (8 years ago)
Author:
DrewAPicture
Message:

Docs: Apply inline @see tags to hooks referenced in DocBlocks in a variety of wp-includes/* files.

Applying these specially-crafted @see tags allows the Code Reference parser to recognize and link these elements as actions and filters.

Fixes #36921.

File:
1 edited

Legend:

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

    r37493 r37544  
    234234
    235235/**
    236  * Retrieve localized stylesheet URI.
     236 * Retrieves the localized stylesheet URI.
    237237 *
    238238 * The stylesheet directory for the localized stylesheet files are located, by
     
    242242 *
    243243 * The theme may change the location of the stylesheet directory by either using
    244  * the 'stylesheet_directory_uri' filter or the 'locale_stylesheet_uri' filter.
     244 * the {@see 'stylesheet_directory_uri'} or {@see 'locale_stylesheet_uri'} filters.
     245 *
    245246 * If you want to change the location of the stylesheet files for the entire
    246247 * WordPress workflow, then change the former. If you just have the locale in a
     
    761762 * Will switch theme to the fallback theme if current theme does not validate.
    762763 *
    763  * You can use the 'validate_current_theme' filter to return false to
     764 * You can use the {@see 'validate_current_theme'} filter to return false to
    764765 * disable this functionality.
    765766 *
     
    15171518 *
    15181519 * Must be called in the theme's functions.php file to work.
    1519  * If attached to a hook, it must be after_setup_theme.
    1520  * The init hook may be too late for some features.
     1520 * If attached to a hook, it must be {@see 'after_setup_theme'}.
     1521 * The {@see 'init'} hook may be too late for some features.
    15211522 *
    15221523 * @since 2.9.0
     
    20142015
    20152016/**
    2016  * Checks if a theme has been changed and runs 'after_switch_theme' hook on the next WP load
     2017 * Checks if a theme has been changed and runs 'after_switch_theme' hook on the next WP load.
     2018 *
     2019 * See {@see 'after_switch_theme'}.
    20172020 *
    20182021 * @since 3.3.0
Note: See TracChangeset for help on using the changeset viewer.