Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #28641, comment 1


Ignore:
Timestamp:
06/28/2014 05:12:16 PM (11 years ago)
Author:
ericlewis
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28641, comment 1

    initial v1  
    1 Quick response: you shouldn't be enqueueing media on every admin page request. Use the $hook_suffix provided by the `admin_enqueue_scripts` hook to only load your script on the admin page you want it to load on.
     1Quick response: you shouldn't be enqueueing media on every admin page request. Use the `$hook_suffix` provided by the `admin_enqueue_scripts` hook to only load your script on the admin page you want it to load on.
    22
    33I'll give a fuller response when I have some more time next week.