Skip to content

Files

Latest commit

 

History

History
12 lines (7 loc) · 564 Bytes

WordPress.WP.PostsPerPage.md

File metadata and controls

12 lines (7 loc) · 564 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