diff options
Diffstat (limited to 'plugins/jetpack/class.jetpack-autoupdate.php')
-rw-r--r-- | plugins/jetpack/class.jetpack-autoupdate.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/jetpack/class.jetpack-autoupdate.php b/plugins/jetpack/class.jetpack-autoupdate.php index be160180..0c9df00e 100644 --- a/plugins/jetpack/class.jetpack-autoupdate.php +++ b/plugins/jetpack/class.jetpack-autoupdate.php @@ -44,7 +44,7 @@ class Jetpack_Autoupdate { if ( Jetpack_Options::get_option( 'autoupdate_translations', false ) ) { return true; } - + // Themes $autoupdate_themes_translations = Jetpack_Options::get_option( 'autoupdate_themes_translations', array() ); $autoupdate_theme_list = Jetpack_Options::get_option( 'autoupdate_themes', array() ); @@ -64,7 +64,7 @@ class Jetpack_Autoupdate { || in_array( $item->slug, $autoupdate_theme_list ) ) && 'theme' === $item->type ) { - $this->expect( $item->type + ':' + $item->slug, 'translation' ); + $this->expect( $item->type . ':' . $item->slug, 'translation' ); return true; } @@ -78,7 +78,7 @@ class Jetpack_Autoupdate { if ( in_array( $item->slug, $plugin_slugs ) && 'plugin' === $item->type ) { - $this->expect( $item->type + ':' + $item->slug, 'translation' ); + $this->expect( $item->type . ':' . $item->slug, 'translation' ); return true; } @@ -220,7 +220,7 @@ class Jetpack_Autoupdate { $successful_updates[] = $result->item->theme; break; case 'translation': - $successful_updates[] = $result->item->type + ':' + $result->item->slug; + $successful_updates[] = $result->item->type . ':' . $result->item->slug; break; } } |