Make WordPress Core


Ignore:
Timestamp:
11/11/2019 02:41:15 AM (5 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/class-wp-theme.php

    r46661 r46696  
    180180     * @param string $theme_dir Directory of the theme within the theme_root.
    181181     * @param string $theme_root Theme root.
    182      * @param WP_Error|void $_child If this theme is a parent theme, the child may be passed for validation purposes.
     182     * @param WP_Theme|null $_child If this theme is a parent theme, the child may be passed for validation purposes.
    183183     */
    184184    public function __construct( $theme_dir, $theme_root, $_child = null ) {
Note: See TracChangeset for help on using the changeset viewer.