Skip to content

Commit

Permalink
Merge pull request #564 from dlh01/vip-posts-per-page
Browse files Browse the repository at this point in the history
Allow 'posts_per_page' of up to 100 on VIP
  • Loading branch information
westonruter committed May 10, 2016
2 parents ec2eddc + 3eb1faa commit 4568e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WordPress/Sniffs/VIP/PostsPerPageSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function callback( $key, $val, $line, $group ) {
in_array( $key, array( 'posts_per_page', 'numberposts' ) )
) {

if ( $val > 50 ) {
if ( $val > 100 ) {
return 'Detected high pagination limit, `%s` is set to `%s`';
}
}
Expand Down

0 comments on commit 4568e4b

Please sign in to comment.