Make WordPress Core


Ignore:
Timestamp:
11/11/2019 02:41:15 AM (4 years ago)
Author:
SergeyBiryukov
Message:

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

See #48303.

File:
1 edited

Legend:

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

    r46685 r46696  
    409409 *                                                Default false.
    410410 * }
    411  * @return WP_Error|void WP_Error, if errors.
     411 * @return void|WP_Error Void on success, WP_Error object on failure.
    412412 */
    413413function register_taxonomy( $taxonomy, $object_type, $args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.