Skip to content

Commit 0414579

Browse files
Merge pull request #39 from IlonaF/patch-1
Fix undefined $hook variable in fancybox.php error
2 parents cc996fd + d90c00f commit 0414579

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

fancybox.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,6 @@ function mfbfw_admin_styles() {
458458
}
459459

460460
function mfbfw_admin_scripts() {
461-
print_r( $hook );
462461
wp_enqueue_script( 'jquery-ui-tabs', array( 'jquery-ui-core' ), true ); // Load jQuery UI Tabs JS for Admin Page
463462
wp_enqueue_script( 'fancybox-admin', FBFW_URL . 'assets/js/admin.js', array( 'jquery', 'wp-color-picker', 'updates' ), FBFW_VERSION, true ); // Load specific JS for Admin Page
464463

@@ -553,4 +552,4 @@ function mfbfw_get_activate_link() {
553552
)
554553
);
555554

556-
}
555+
}

0 commit comments

Comments
 (0)