Skip to content
Snippets Groups Projects
Commit 1be614b6 authored by Erick Hitter's avatar Erick Hitter
Browse files

Update for latest WPCS

parent 1aa31a9b
No related branches found
No related tags found
1 merge request!11Fix test failure
Pipeline #1354 failed
...@@ -270,10 +270,12 @@ class view_all_posts_pages { // phpcs:ignore PEAR.NamingConventions.ValidClassNa ...@@ -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-->\n", "\n", $post->post_content );
$post->post_content = str_replace( '<!--nextpage-->', ' ', $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 $more = 1;
$multipage = 0; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited $multipage = 0;
// phpcs:enable WordPress.WP.GlobalVariablesOverride.Prohibited
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment