Make WordPress Core


Ignore:
Timestamp:
11/30/2014 10:43:27 PM (9 years ago)
Author:
wonderboymusic
Message:

Improve the @param docs for src/includes/theme.php and src/includes/update.php.

See #30224.

File:
1 edited

Legend:

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

    r30656 r30672  
    872872 * @since 3.1.0
    873873 *
    874  * @return array Theme modifications.
     874 * @return array|null Theme modifications.
    875875 */
    876876function get_theme_mods() {
     
    13651365 * @since 3.0.0
    13661366 *
    1367  * @param mixed $stylesheet Optional. Stylesheet name or array thereof, relative to theme root.
     1367 * @param array|string $stylesheet Optional. Stylesheet name or array thereof, relative to theme root.
    13681368 *  Defaults to 'editor-style.css'
    13691369 */
     
    17011701 * @see add_theme_support()
    17021702 * @param string $feature the feature being added
    1703  * @return bool Whether feature was removed.
     1703 * @return null|bool Whether feature was removed.
    17041704 */
    17051705function remove_theme_support( $feature ) {
     
    17161716 * @access private
    17171717 * @since 3.1.0
     1718 * @param string $feature
    17181719 */
    17191720function _remove_theme_support( $feature ) {
Note: See TracChangeset for help on using the changeset viewer.