diff --git a/view-all-posts-pages.php b/view-all-posts-pages.php index bb664520665c4b7fcf1af5c9d0f4596dae2550bb..02c1861cfa35468fe1dd87df17b2becc1eb1ff4c 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 } }