Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22112, comment 4


Ignore:
Timestamp:
02/22/2014 05:47:31 AM (12 years ago)
Author:
jessepollak
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22112, comment 4

    initial v1  
    1010Since both {{{IN}}} and {{{NOT IN}}} are exclusive, either step (4) or step (5) will ensure the adjacent post has the correct terms.
    1111
    12 I added a unit test to demonstrate this failure case and verify the patch.
     12I added a unit test to demonstrate this failure case and verify the patch. I also changed the {{{$term_array}}} to {{{$same_term_array}}} because it's much clearer.
    1313
    1414'''NOTE''': this change does affect the {{{get_$adjacent_post_where}}} filter, but I don't think it should be a problem — would appreciate feedback on this.