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/theme.php

    r46660 r46696  
    8080            $themes[ $theme ] = $_themes[ $theme_root['theme_root'] . '/' . $theme ];
    8181        } else {
    82             $themes[ $theme ]                                    = new WP_Theme( $theme, $theme_root['theme_root'] );
     82            $themes[ $theme ] = new WP_Theme( $theme, $theme_root['theme_root'] );
     83
    8384            $_themes[ $theme_root['theme_root'] . '/' . $theme ] = $themes[ $theme ];
    8485        }
Note: See TracChangeset for help on using the changeset viewer.