[wp-hackers] Hooking into Comments
ml_wordpress at copperleaf.org
ml_wordpress at copperleaf.org
Thu Aug 25 01:03:05 GMT 2005
So you took the approach of not inserting a post at all and just used a
ghost post id. In my case I was going to actually use the post record
(title, content, etc) but just not display it in the normal fashion.
Changing the status to a new type did not prevent it from showing up. I
had to modify the query with the post_where filter and add a ' AND
post_status != 'mystatus'. That makes me nervous.
Robert Deaton wrote:
>I worked with this earlier today. Simply insert everything yourself,
>with extremely high comment_post_ids, and nothing complains.
>
>On 8/24/05, Denis de Bernardy <denis at semiologic.com> wrote:
>
>
>>sure... alter the table.
>>
>>D.
>>
>>
>>
>>>>I'm curious about this too. The only thing I could find that might
>>>>identify "type" is the post_status column. Because the sql
>>>>
>>>>
>>>defines it
>>>
>>>
>>>>as an enum, you can't set it to anything other than 'publish',
>>>>'draft', 'private', 'static', or 'object'. Is there another way of
>>>>identifying a specially typed post?
>>>>
>>>>
>>>Anyone have any ideas on this?
>>>
>>>
>>_______________________________________________
>>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