WordPress.org

Make WordPress Core

Changeset 30672


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

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

See #30224.

Location:
trunk/src/wp-includes
Files:
2 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 ) {
  • trunk/src/wp-includes/update.php

    r30554 r30672  
    1919 * @param array $extra_stats Extra statistics to report to the WordPress.org API.
    2020 * @param bool $force_check Whether to bypass the transient cache and force a fresh update check. Defaults to false, true if $extra_stats is set.
    21  * @return mixed Returns null if update is unsupported. Returns false if check is too soon.
     21 * @return null|false Returns null if update is unsupported. Returns false if check is too soon.
    2222 */
    2323function wp_version_check( $extra_stats = array(), $force_check = false ) {
     
    181181 *
    182182 * @param array $extra_stats Extra statistics to report to the WordPress.org API.
    183  * @return mixed Returns null if update is unsupported. Returns false if check is too soon.
     183 * @return false|null Returns null if update is unsupported. Returns false if check is too soon.
    184184 */
    185185function wp_update_plugins( $extra_stats = array() ) {
     
    335335 *
    336336 * @param array $extra_stats Extra statistics to report to the WordPress.org API.
    337  * @return mixed Returns null if update is unsupported. Returns false if check is too soon.
     337 * @return false|null Returns null if update is unsupported. Returns false if check is too soon.
    338338 */
    339339function wp_update_themes( $extra_stats = array() ) {
Note: See TracChangeset for help on using the changeset viewer.