Skip to content

Commit

Permalink
Fix hook name when loading comment scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
boonebgorges committed Dec 12, 2024
1 parent 8ff483e commit e27561b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/comments/comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ public function admin_enqueue_scripts() {
return;
}

if ( ! in_array( $hook, array( 'pressforward_page_pf-review', 'toplevel_page_pf-menu', 'edit.php', 'post.php', 'post-new.php' ), true ) ) {
if ( ! in_array( $hook, array( 'pressforward_page_pf-review', 'toplevel_page_pf-menu', 'edit.php', 'post.php', 'post-new.php', 'pressforward_page_pf-all-content' ), true ) ) {
return;
}

Expand Down

0 comments on commit e27561b

Please sign in to comment.