[wp-hackers] Unexpected behaviour in WP_Query

Sudar Muthu sudar at sudarmuthu.com
Thu Feb 5 08:36:43 GMT 2009


>
> That is from the good old days when posts only had one category ;-)
>

Thanks for clearing this up. I didn't know about it and I was breaking my
head for a couple of hours to figure this out.

By the way I will be very thankful if someone can tell me if there are any
other depreciated ones in the following list. Thanks

[ID]
[post_author]
[post_date]
[post_date_gmt]
[post_content]
[post_title]
[post_category]
[post_excerpt]
[post_status]
[comment_status]
[ping_status]
[post_password]
[post_name]
[to_ping]
[pinged]
[post_modified]
[post_modified_gmt]
[post_content_filtered]
[post_parent]
[guid]
[menu_order]
[post_type]
[post_mime_type]
[comment_count]

With Regards,
Sudar

http://SudarMuthu.com
http://twitter.com/sudarmuthu


On Wed, Feb 4, 2009 at 11:53 PM, Peter Westwood
<peter.westwood at ftwr.co.uk>wrote:

>
> On 4 Feb 2009, at 18:19, scribu wrote:
>
>  I think $post->post_category is a fossil from older versions and doesn't
>> serve any purpose.
>>
>
> Correct.
>
> That is from the good old days when posts only had one category ;-)
>
> westi
> --
> Peter Westwood
> http://blog.ftwr.co.uk | http://westi.wordpress.com
> C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list