[wp-trac] [WordPress Trac] #22918: Allow to include ajax url javascript argument in the template header
WordPress Trac
noreply at wordpress.org
Thu Dec 13 15:04:37 UTC 2012
#22918: Allow to include ajax url javascript argument in the template header
-----------------------------+-------------------------
Reporter: alexvorn2 | Type: enhancement
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Template
Version: 3.5 | Severity: normal
Keywords: |
-----------------------------+-------------------------
in the admin-header.php we have a hardcoded javascript code for showing
the ajax url in the header. I think this should be included in a function
and enqueue when needed, allowing to include it in the template header too
using only: wp_enqueue_script('load-ajax-url');
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22918>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list