[wp-hackers] get_posts with both a custom post_type and custom taxonomy

Peter Westwood peter.westwood at ftwr.co.uk
Thu Oct 15 22:02:04 UTC 2009


On 15 Oct 2009, at 22:52, Aaron Jorbin wrote:

> I svn up ed and that didn't solve it so i don't think it was fixed for
> 2.9.  I also looked through the patches and couldn't find anything
> related to this.  I did open a ticket at
> http://core.trac.wordpress.org/ticket/10934 but if it's a dupe, can
> someone point me to the original?
>

My comment below referred to the code respecting post_type in args not  
the full issue you are seeing so Ii suspect the ticket is valid.

> On 10/12/09, Peter Westwood <peter.westwood at ftwr.co.uk> wrote:
>> If I recall correctly this is already fixed for 2.9
>>
>> --
>> Peter Westwood
>> http://peter.westwood.name
>>
>> On 13 Oct 2009, at 01:58, Mike Schinkel <mikeschinkel at newclarity.net>
>> wrote:
>>
>>> I agree that this is a bug and should be fixed.
>>>
>>> If a developer sets post_type in $args get_posts() should respect
>>> it , not override it.


-- 
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5



More information about the wp-hackers mailing list