mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Coding Standards: Use Yoda conditions where appropriate.
See #49222. git-svn-id: https://develop.svn.wordpress.org/trunk@47219 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1516,7 +1516,7 @@ final class WP_Theme implements ArrayAccess {
|
||||
return (array) apply_filters( 'site_allowed_themes', $allowed_themes[ $blog_id ], $blog_id );
|
||||
}
|
||||
|
||||
$current = $blog_id == get_current_blog_id();
|
||||
$current = get_current_blog_id() == $blog_id;
|
||||
|
||||
if ( $current ) {
|
||||
$allowed_themes[ $blog_id ] = get_option( 'allowedthemes' );
|
||||
|
||||
Reference in New Issue
Block a user