WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/11/2020 06:30:58 PM (13 months ago)
Author:
SergeyBiryukov
Message:

Docs: In various @return tags, list the expected type first, instead of false.

Follow-up to [46696].

See #48303.

File:
1 edited

Legend:

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

    r46763 r47060  
    277277 *
    278278 * @global string $pagenow
    279  * @return false|void
     279 * @return void|false
    280280 */
    281281function update_nag() {
     
    410410 * @param string $file        Plugin basename.
    411411 * @param array  $plugin_data Plugin information.
    412  * @return false|void
     412 * @return void|false
    413413 */
    414414function wp_plugin_update_row( $file, $plugin_data ) {
     
    612612 * @param string   $theme_key Theme stylesheet.
    613613 * @param WP_Theme $theme     Theme object.
    614  * @return false|void
     614 * @return void|false
    615615 */
    616616function wp_theme_update_row( $theme_key, $theme ) {
     
    721721 *
    722722 * @global int $upgrading
    723  * @return false|void
     723 * @return void|false
    724724 */
    725725function maintenance_nag() {
Note: See TracChangeset for help on using the changeset viewer.