Skip to content

Commit

Permalink
Fix upgrader_process_complete hook for wp_theme_has_theme_json (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal authored Nov 18, 2022
1 parent 9e6e8c9 commit 340f3a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compat/wordpress-6.2/default-filters.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@

add_action( 'switch_theme', 'wp_theme_has_theme_json_clean_cache' );
add_action( 'start_previewing_theme', 'wp_theme_has_theme_json_clean_cache' );
add_action( 'upgrader_process_complete', '_wp_theme_has_theme_json_clean_cache_upon_upgrading_active_theme' );
add_action( 'upgrader_process_complete', '_wp_theme_has_theme_json_clean_cache_upon_upgrading_active_theme', 10, 2 );

0 comments on commit 340f3a2

Please sign in to comment.