Skip to content

Commit

Permalink
Fix test by changing hook
Browse files Browse the repository at this point in the history
  • Loading branch information
ryelle committed Apr 21, 2021
1 parent 92e288f commit dd3e594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/block-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
// Deactivate the legacy patterns bundled with WordPress, and add new block patterns for testing.
// More details in the trac issue (https://core.trac.wordpress.org/ticket/52846).
add_action(
'init',
'admin_init',
function() {
$core_block_patterns = array(
'text-two-columns',
Expand Down

0 comments on commit dd3e594

Please sign in to comment.