Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#20575 closed enhancement (fixed)

Add a link to the Customizer from the Admin Bar appearance menu

Reported by: sabreuse Owned by: ryan
Priority: normal Milestone: 3.4
Component: Customize Version: 3.4
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

If we want the theme customizer to make theme setup and tweaking as smooth as possible, users should have a direct link to from the front end of their sites instead of having to go back through the Admin themes page to find it. The attached patch adds it for users with the Switch Themes or Edit Theme Options caps.

Attachments (3)

20575.diff​ (806 bytes ) - added by sabreuse 15 years ago.
20575.2.diff​ (633 bytes ) - added by sabreuse 15 years ago.
20575.whitespace.patch​ (797 bytes ) - added by SergeyBiryukov 15 years ago.

Download all attachments as: .zip

Change History (8)

#1 @nacin
15 years ago

  • Component General → Appearance
  • Keywords has-patch added
  • Milestone Awaiting Review → 3.4
  • Version → 3.4

Sounds good to me.

Notes on 20575.diff:

  • edit_theme_options is all that is necessary. Thus it can simply be moved to directly below the edit_theme_options/return check.
  • We have wp_customize_url() to be used here.
  • Any call to wp_get_theme() means reading style.css. In this case, get_stylesheet() is the proper thing to take and pass to wp_customize_url().

#2 @sabreuse
15 years ago

20575.2.diff is a refresh - thanks for the comments!

#3 @ryan
15 years ago

  • Owner set to ryan
  • Resolution → fixed
  • Status new → closed

In [20666]:

Add a link to the Customizer from the Admin Bar appearance menu. Props sabreuse. fixes #20575

#4 @SergeyBiryukov
15 years ago

Nitpicking: proper whitespace as per the coding standards (20575.whitespace.patch​).

#5 @nacin
14 years ago

In [20934]:

Theme Customizer: As customize.php without a theme parameter defaults to the current theme, update wp_customize_url() to make $stylesheet optional and update references for the current theme.

see #19910, #20751, #20575.

Note: See TracTickets for help on using tickets.