#23772 closed enhancement (fixed)
Twenty Ten/Eleven: Use callback to enqueue scripts and styles
| Reported by: | obenland | Owned by: | lancewillett |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.6 |
| Component: | Bundled Theme | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
The theme review guidelines require themes to enqueue all stylesheets and scripts, using wp_enqueue_style()/wp_enqueue_script(), and hooked into an appropriate hook via callback function, rather than hard-coding stylesheet/script links or tags in the template.
There might be a backwards compatibility issue when rogue scripts are hooked to 'wp_head' on 0 priority.
Attachments (2)
Change History (10)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 23720: