Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
View All Posts Pages
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WP Plugins
View All Posts Pages
Merge requests
!21
Fix PHPCS errors
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix PHPCS errors
fix/phpcs
into
master
Overview
0
Commits
3
Pipelines
3
Changes
1
Merged
Erick Hitter
requested to merge
fix/phpcs
into
master
1 month ago
Overview
0
Commits
3
Pipelines
3
Changes
1
Expand
0
0
Merge request reports
Viewing commit
928e0b82
Prev
Next
Show latest version
1 file
+
2
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
928e0b82
Sure, Jan
· 928e0b82
Erick Hitter
authored
1 month ago
view-all-posts-pages.php
+
2
−
1
Options
@@ -339,8 +339,9 @@ 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
()
)
{
// phpcs:
ignor
e WordPress.WP.GlobalVariablesOverride.Prohibited
// phpcs:
disabl
e WordPress.WP.GlobalVariablesOverride.Prohibited
$GLOBALS
[
'more'
]
=
false
;
// phpcs:enable WordPress.WP.GlobalVariablesOverride.Prohibited
}
// Process link text, respecting pagelink parameter.
Loading