Update comment.
This commit is contained in:
parent
ac501dea64
commit
57aeff0a71
|
@ -191,7 +191,7 @@ class WC_Helper_Updater {
|
||||||
$locales = apply_filters( 'plugins_update_check_locales', $locales );
|
$locales = apply_filters( 'plugins_update_check_locales', $locales );
|
||||||
$locales = array_unique( $locales );
|
$locales = array_unique( $locales );
|
||||||
|
|
||||||
// No locales, means that the respone will be empty.
|
// No locales, the respone will be empty, we can return now.
|
||||||
if ( empty( $locales ) ) {
|
if ( empty( $locales ) ) {
|
||||||
return array();
|
return array();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue