[wp-trac] [WordPress Trac] #17336: Can't use get_the_terms() within a function that hooks into publish_post

WordPress Trac wp-trac at lists.automattic.com
Fri May 6 06:45:15 UTC 2011


#17336: Can't use get_the_terms() within a function that hooks into publish_post
--------------------------+------------------------------
 Reporter:  defunctlife   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by defunctlife):

 This appears to be an issue as I am posting this post with ajax...still
 investigating. Found a work around in my case not using any hooks and just
 calling the function manually where we create the post.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17336#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list