Make WordPress Core


Ignore:
Timestamp:
06/19/2021 09:36:01 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct DocBlock formatting for Core_Upgrader::upgrade().

Document the $auto_update_settings parameter of the after_core_auto_updates_settings action.

Follow-up to [49254].

See #52628.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-core-upgrader.php

    r50652 r51185  
    4949         * @param object $current Response object for whether WordPress is current.
    5050         * @param array  $args {
    51          *        Optional. Arguments for upgrading WordPress core. Default empty array.
    52          *
    53          *        @type bool $pre_check_md5    Whether to check the file checksums before
    54          *                                     attempting the upgrade. Default true.
    55          *        @type bool $attempt_rollback Whether to attempt to rollback the chances if
    56          *                                     there is a problem. Default false.
    57          *        @type bool $do_rollback      Whether to perform this "upgrade" as a rollback.
    58          *                                     Default false.
     51         *     Optional. Arguments for upgrading WordPress core. Default empty array.
     52         *
     53         *     @type bool $pre_check_md5    Whether to check the file checksums before
     54         *                                  attempting the upgrade. Default true.
     55         *     @type bool $attempt_rollback Whether to attempt to rollback the chances if
     56         *                                  there is a problem. Default false.
     57         *     @type bool $do_rollback      Whether to perform this "upgrade" as a rollback.
     58         *                                  Default false.
    5959         * }
    6060         * @return string|false|WP_Error New WordPress version on success, false or WP_Error on failure.
Note: See TracChangeset for help on using the changeset viewer.