From 928e0b8262ba39ae16dd38b9b2662639bc83321b Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Thu, 15 May 2025 19:59:18 -0700 Subject: [PATCH] Sure, Jan --- view-all-posts-pages.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/view-all-posts-pages.php b/view-all-posts-pages.php index d000a52..779a9fc 100755 --- a/view-all-posts-pages.php +++ b/view-all-posts-pages.php @@ -339,8 +339,9 @@ class view_all_posts_pages { // phpcs:ignore PEAR.NamingConventions.ValidClassNa // Set global $more to false so that wp_link_pages outputs links for all pages when viewing full post page. if ( $this->is_view_all() ) { - // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited + // phpcs:disable WordPress.WP.GlobalVariablesOverride.Prohibited $GLOBALS['more'] = false; + // phpcs:enable WordPress.WP.GlobalVariablesOverride.Prohibited } // Process link text, respecting pagelink parameter. -- GitLab