[wp-trac] [WordPress Trac] #15291: receiving data with response from ajax call

WordPress Trac noreply at wordpress.org
Thu Jul 30 02:58:59 UTC 2015


#15291: receiving data with response from ajax call
-----------------------------+-----------------------
 Reporter:  christian_gnoth  |       Owner:
     Type:  defect (bug)     |      Status:  reopened
 Priority:  normal           |   Milestone:
Component:  General          |     Version:  3.0.1
 Severity:  normal           |  Resolution:
 Keywords:  ajax response    |     Focuses:
-----------------------------+-----------------------
Changes (by littlu_lulu):

 * keywords:  ajax,response => ajax response
 * status:  closed => reopened
 * resolution:  invalid =>


Comment:

 Hi,

 I know this thread is 5 years ago but I am encountering this issue right
 now. I have been trying to figure out why wp_insert_post is not returning.
 I have used that function in other plugins and its working. But the
 current plugin I'm working I used wp_ajax_ hook. The function that is
 attached to the hook is calling the wp_insert_post. The post is created
 but the function is not returning the postID. I have also posted my issue
 in the support forum. Hope someone can help me. Thanks in advance.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/15291#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list