Skip to content

Commit

Permalink
keep plugins and themes separate
Browse files Browse the repository at this point in the history
  • Loading branch information
afragen committed Nov 14, 2024
1 parent 07f317e commit ecdac51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Git_Updater/Language_Pack.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ function ( $e ) {
);

foreach ( $repos as $repo ) {
if ( ! str_contains( current_filter(), $repo->type ) ) {
continue;
}
foreach ( $locales as $locale ) {
$lang_pack_mod = isset( $repo->language_packs->$locale )
? strtotime( $repo->language_packs->$locale->updated )
Expand Down

0 comments on commit ecdac51

Please sign in to comment.