Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #37782, comment 8


Ignore:
Timestamp:
09/25/2018 07:57:33 AM (6 years ago)
Author:
garrett-eclipse
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37782, comment 8

    initial v1  
    11I've just put out another revision as [37782.5.diff]
    22
    3 This version uses the post__not_in argument on the WP_Query. But I had to do a check when the only pages returned are 'important' as so would be suppressed form the query making pagination fail, in this case I drop the suppress and prepend and just rely on the WP_Query results.
     3This version uses the `post__not_in` argument on the `WP_Query`. But I had to do a check when the only pages returned are 'important' as so would be suppressed form the query making pagination fail, in this case I drop the suppress and prepend and just rely on the WP_Query results.
    44
    55I've also updated the _post_status to support an $echo param.