[wp-trac] [WordPress Trac] #17351: Twenty Eleven: link color option for dark theme does not show in admin

WordPress Trac wp-trac at lists.automattic.com
Tue May 17 20:14:45 UTC 2011


#17351: Twenty Eleven: link color option for dark theme does not show in admin
-------------------------------------+-----------------------
 Reporter:  cklosows                 |       Owner:  nacin
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  3.2
Component:  Themes                   |     Version:  3.2
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+-----------------------

Comment (by nacin):

 Attached patch:
  - Registers default colors to each color scheme.
  - Introduces `twentyeleven_get_default_link_color( $color_scheme = null
 )` to select the default color based on the color scheme.
  - Changes the default color when the scheme is switched, and if the old
 default was in use, then it is transitioned to the new default.
  - Properly handles the scheme-specific default link color in the save
 handler.
  - Adds width/height parameters to the theme layout and color scheme
 images, to prevent repaint on load.

 Note that nothing is hardcoded, thus continuing to allow color schemes to
 be added via a filter.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17351#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list