Skip to content

Commit

Permalink
Don't enqueue scripts in embeds
Browse files Browse the repository at this point in the history
  • Loading branch information
akirk authored Apr 3, 2024
1 parent 99fb67b commit e503554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function main() {

function register_scripts() {
add_action(
'init',
'wp_enqueue_scripts',
function () {
$json_data = wp_json_encode(
array(
Expand Down

0 comments on commit e503554

Please sign in to comment.