WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#25049 closed defect (bug) (worksforme)

Twenty Thirteen - Enqueued styles in wp-admin

Reported by: Clorith Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.6
Component: Bundled Theme Keywords:
Focuses: Cc:

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)

25049.patch (3.1 KB) - added by Clorith 7 years ago.

Download all attachments as: .zip

Change History (2)

@Clorith
7 years ago

#1 @nacin
7 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

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.

Note: See TracTickets for help on using tickets.