Skip to content

Files

Latest commit

 

History

History
11 lines (6 loc) · 423 Bytes

WordPress.VIP.PostsPerPage.md

File metadata and controls

11 lines (6 loc) · 423 Bytes

Pattern: Use of high pagination limit

Issue: -

Description

Using posts_per_page (or numberposts) with the value set to -1 or an unreasonably high number or setting nopaging to true opens up the potential for scaling issues if the query ends up querying thousands of posts.

Further Reading