[wp-trac] [WordPress Trac] #23705: get_terms with ajax_nopriv_ return empty array
WordPress Trac
noreply at wordpress.org
Thu Mar 7 04:05:33 UTC 2013
#23705: get_terms with ajax_nopriv_ return empty array
-------------------------------+------------------------------
Reporter: squallbreizh | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.5
Severity: normal | Resolution:
Keywords: reporter-feedback |
-------------------------------+------------------------------
Changes (by SergeyBiryukov):
* keywords: => reporter-feedback
Comment:
Could you share your `ajax.js` file too?
Note that `wp_enqueue_script()` should be hooked to `wp_enqueue_scripts`
action rather than called directly in the plugin body:
http://codex.wordpress.org/Function_Reference/wp_enqueue_script.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23705#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list