Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
4
Newest
 Quorum
Impact
~2k people reached

  • 0 posts edited
  • 0 helpful flags
  • 2 votes cast
Feb
15
comment wp_insert_post not working for custom post type?
Hi, thanks! That did help a lot. As I'm using mysql_connect and mysql_select_db in my script in order to get data from a DB different than the one WP uses, it seems that wp_insert_post changes its DB connection too. Weird.
Jul
17
comment get_posts includes “auto drafts”?
Hey s_ha_dum, thanks. I already tried that and even with all plugins disabled and Twenty Twelve theme it does list "Auto draft" posts.