[wp-trac] [WordPress Trac] #35172: WordPress 4.4 pagination not working - Fix for 34060 broke backward compatibility
WordPress Trac
noreply at wordpress.org
Mon Dec 21 13:25:24 UTC 2015
#35172: WordPress 4.4 pagination not working - Fix for 34060 broke backward
compatibility
-------------------------------------+------------------------------
Reporter: bobbingwide | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 4.4
Severity: normal | Resolution:
Keywords: reporter-feedback close | Focuses:
-------------------------------------+------------------------------
Comment (by bobbingwide):
> One point to consider is the fact that, in my experience, for an unpaged
query, there didn't seem to be any difference between offset 0 and offset
1.
It turns out that ''my experience'' varied depending on whether or not I'd
specified a value for `numberposts`. When numberposts was missing then
depending on shortcode being used I set numberposts to -1, which causes
the offset value to effectively be ignored.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35172#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list