Opened 13 years ago
Closed 13 years ago
#25049 closed defect (bug) (worksforme)
Twenty Thirteen - Enqueued styles in wp-admin
| Reported by: | Clorith | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Bundled Theme | Version: | 3.6 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Twenty Thirteen adds some nifty looking features with it's CSS, unfortunately these bleed into wp-admin (stylings such as input[type="submit"]) which can mess with plugins and other components.
Adding an is_admin() check to the enqueue function fixes this up nicely
Attachments (1)
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Not sure what is going on in maybe a child theme, but twentythirteen_scripts_styles() is only triggered on the 'wp_enqueue_scripts' hook, which is only run on the frontend.