I’ve found a bug.
get_previous_post()functions work well as long as they’re used without parameters. If taxonomy parameters are provided, for example
get_next_post(true, '', 'my-taxonomy')which should query the next post that belongs to the same taxonomy term as the current one, then a result of a function call is the same as if the function was called without any parameter.
So, it seems that there’s something wrong with the
- The topic ‘[bug] get_next_post() and get_previous_post() taxonomy patameters are ignored’ is closed to new replies.