[wp-trac] [WordPress Trac] #24142: Zero value for posts_per_page value in wp_query custom instance and for 'Blog pages show at most' option
WordPress Trac
noreply at wordpress.org
Mon Jun 15 04:52:38 UTC 2015
#24142: Zero value for posts_per_page value in wp_query custom instance and for
'Blog pages show at most' option
--------------------------+-----------------------
Reporter: alexvorn2 | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Query | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+-----------------------
Changes (by randell):
* status: closed => reopened
* resolution: invalid =>
Comment:
I agree with @DrewAPicture's logic on how zero is handled relative to how
-1, 1, 2, 3, etc. is handled. Wasted so much time trying to figure out
what's wrong with my code because of this unintuitive behavior.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24142#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list