Twenty Ten/Eleven: Use callback to enqueue scripts and styles
|Reported by:||obenland||Owned by:||lancewillett|
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.
Change History (9)
comment:4 lancewillett — 9 months ago
- Owner set to lancewillett
- Resolution set to fixed
- Status changed from new to closed
comment:6 SergeyBiryukov — 9 months ago
- Resolution fixed deleted
- Status changed from closed to reopened