Skip to content
Commit aa351cbc authored by Andrew Nacin's avatar Andrew Nacin
Browse files

Always return a WP_Theme object from wp_get_theme(). Check \$theme->exists()...

Always return a WP_Theme object from wp_get_theme(). Check \$theme->exists() or \$theme->errors() to confirm the requested theme actually exists. see #20361.



git-svn-id: https://core.svn.wordpress.org/trunk@20363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent a4a7781d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment