[wp-testers] get_previous_post() and get_next_post()

Ryan Boren ryan at boren.nu
Sun Feb 19 02:15:25 GMT 2006


Andy Staines wrote:
> I've been using these functions successfully until today when I used the 
> 'exclude_category' parameter which was ignored.
> Looking at the code, the part that compiles the 'exclude' SQL uses a 
> 'post_category' field in the 'posts' table which as far as I can see 
> isn't used any more. Shouldn't this be joining to the 'post2cat' table?

This is already fixed in trunk.

Ryan



More information about the wp-testers mailing list