post_category not assigned to posts
-
Hi,
When I save a post the post_category number of the post in the wp_posts table is always setted on “0” zero.
If I do a query for catch the last post of a category for example:
(SELECT ID, post_title FROM $wpdb->posts WHERE post_status = ‘publish’ AND post_date_gmt < ‘$today’ AND post_category IN (3, 5, 6, 7) ORDER BY post_date DESC LIMIT 0, 5″)
this query don’t show, obviously, all the post that have post_category = 0 assigned automatically…
Is a bug of wordpress? How can I resolve my problem?
Sorry for my English but I am an italian user…Thanks in advance
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘post_category not assigned to posts’ is closed to new replies.