Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #26728, comment 6


Ignore:
Timestamp:
12/27/2013 06:09:37 PM (12 years ago)
Author:
Otto42
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26728, comment 6

    initial v1  
    1 Seems like this code had a bug to begin with then, as $query is undefined in this function, and $query['terms'] will never have any content.
     1Seems like this code had a bug to begin with then, as $query is undefined in this function, and $query[ 'terms' ] will never have any content.
    22
    3 Rather than reintroducing a bug, let's determine what the code should be doing here. I cannot see why is_tax would always be true here.
     3Rather than reintroducing a bug, let's determine what the code should be doing here. I cannot see why is_tax would always be true here, except insofar as the check before it was only checking for those cases.