Make WordPress Core


Ignore:
Timestamp:
01/04/2021 05:16:43 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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

Follow-up to [46696], [47060], [49926], [49927].

See #51800.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-recovery-mode-email-service.php

    r49927 r49929  
    290290     *
    291291     * @param array $extension The extension that caused the error.
    292      * @return false|array A plugin array {@see get_plugins()} or `false` if no plugin was found.
     292     * @return array|false A plugin array {@see get_plugins()} or `false` if no plugin was found.
    293293     */
    294294    private function get_plugin( $extension ) {
Note: See TracChangeset for help on using the changeset viewer.