From e27561bf6da0d68f45b8ed696c47bce82eaf7a99 Mon Sep 17 00:00:00 2001 From: Boone B Gorges Date: Thu, 12 Dec 2024 13:32:53 -0600 Subject: [PATCH] Fix hook name when loading comment scripts. --- modules/comments/comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/comments/comments.php b/modules/comments/comments.php index f6a7a04d..8a1f1ce2 100644 --- a/modules/comments/comments.php +++ b/modules/comments/comments.php @@ -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; }