[wp-testers] is_post_type not working correctly

Andrew Nacin wp at andrewnacin.com
Fri Jun 4 19:28:00 UTC 2010


On Fri, Jun 4, 2010 at 3:24 PM, hedwig at senzafineonline.net <
hedwig at senzafineonline.net> wrote:

> Thanks for your help! Although I don't understand why my old code stopped
> working with the RC versions. :)
>

We were a bit overeager when we first wrote is_post_type() and so we made it
function the same as is_taxonomy() for consistency reasons. In the first
beta I think your code would have worked (though there were other side
effects and limitations).


More information about the wp-testers mailing list