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

Update for latest WPCS

parent 1be614b6
No related branches found
No related tags found
1 merge request!11Fix test failure
Pipeline #1355 passed
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment