From edc08f7f2f3e9f0bccdab769e004306bccf45a71 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Wed, 14 Aug 2019 21:00:01 -0700 Subject: [PATCH] Update for latest WPCS --- 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 02c1861..e7386e2 100755 --- a/view-all-posts-pages.php +++ b/view-all-posts-pages.php @@ -322,7 +322,8 @@ 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() ) { - $GLOBALS['more'] = false; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited + // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited + $GLOBALS['more'] = false; } // Process link text, respecting pagelink parameter. -- GitLab