[wp-trac] [WordPress Trac] #21782: admin_print_footer_scripts action not working with wp_enqueue_script function
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 3 23:41:35 UTC 2012
#21782: admin_print_footer_scripts action not working with wp_enqueue_script
function
----------------------------+------------------------------
Reporter: alexvorn2 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 3.4.1
Severity: normal | Resolution:
Keywords: |
----------------------------+------------------------------
Comment (by alexvorn2):
Replying to [comment:1 SergeyBiryukov]:
> `admin_print_footer_scripts` is too late for enqueueing. This is when
`_wp_footer_scripts()` is called, so only the styles included earlier will
be printed.
>
> Use `admin_footer` instead.
then for what is this function? I thought it is designed for calling user
files through wp_enqueue_script function
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21782#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list