mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 14:50:29 +00:00
Jump statements should not be followed by other statements (there were 5 lingering).
See #30799. git-svn-id: https://develop.svn.wordpress.org/trunk@31100 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1896,7 +1896,7 @@ class Language_Pack_Upgrader extends WP_Upgrader {
|
||||
switch ( $update->type ) {
|
||||
case 'core':
|
||||
return 'WordPress'; // Not translated
|
||||
break;
|
||||
|
||||
case 'theme':
|
||||
$theme = wp_get_theme( $update->slug );
|
||||
if ( $theme->exists() )
|
||||
|
||||
Reference in New Issue
Block a user