Make WordPress Core

Changeset 51329


Ignore:
Timestamp:
07/04/2021 10:05:33 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct description for the upgrader_pre_install filter.

Props ilovecats7.
Fixes #53546.

File:
1 edited

Legend:

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

    r50557 r51329  
    479479         * Filters the install response before the installation has started.
    480480         *
    481          * Returning a truthy value, or one that could be evaluated as a WP_Error
    482          * will effectively short-circuit the installation, returning that value
    483          * instead.
     481         * Returning a value that could be evaluated as a `WP_Error` will effectively
     482         * short-circuit the installation, returning that value instead.
    484483         *
    485484         * @since 2.8.0
Note: See TracChangeset for help on using the changeset viewer.