Skip to content

Commit e27561b

Browse files
committed
Fix hook name when loading comment scripts.
1 parent 8ff483e commit e27561b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/comments/comments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ public function admin_enqueue_scripts() {
451451
return;
452452
}
453453

454-
if ( ! in_array( $hook, array( 'pressforward_page_pf-review', 'toplevel_page_pf-menu', 'edit.php', 'post.php', 'post-new.php' ), true ) ) {
454+
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 ) ) {
455455
return;
456456
}
457457

0 commit comments

Comments
 (0)