Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #41826, comment 1


Ignore:
Timestamp:
09/08/2017 06:50:59 PM (8 years ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #41826, comment 1

    initial v1  
    1 Here we treat {{{paged}}} 0 as the default value, i.e. 1.
     1The 0 case is now same as 1.
    22
    3 We try to show it explicitly in the code, so it's more obvious to the reader, similar how it's done in {{{WP_Query}}}.
     3Here we focus on the calculated offset in the LIMIT clause.
    44
    5 Included a test for this case.
     5Included is a test for this case.