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 and fullofcaffeine committed Nov 18, 2022
1 parent 7097f56 commit f4c8840
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 f4c8840

Please sign in to comment.