From 1be614b696802458fac4daf1f7742fc0894a94b8 Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Wed, 14 Aug 2019 20:55:25 -0700
Subject: [PATCH] Update for latest WPCS

---
 view-all-posts-pages.php | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/view-all-posts-pages.php b/view-all-posts-pages.php
index bb66452..02c1861 100755
--- a/view-all-posts-pages.php
+++ b/view-all-posts-pages.php
@@ -270,10 +270,12 @@ class view_all_posts_pages { // phpcs:ignore PEAR.NamingConventions.ValidClassNa
 			$post->post_content = str_replace( "<!--nextpage-->\n", "\n", $post->post_content );
 			$post->post_content = str_replace( '<!--nextpage-->', ' ', $post->post_content );
 
-			$pages = array( $post->post_content ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited
+			// phpcs:disable WordPress.WP.GlobalVariablesOverride.Prohibited
+			$pages = array( $post->post_content );
 
-			$more      = 1; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited
-			$multipage = 0; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited
+			$more      = 1;
+			$multipage = 0;
+			// phpcs:enable WordPress.WP.GlobalVariablesOverride.Prohibited
 		}
 	}
 
-- 
GitLab