[wp-trac] [WordPress Trac] #35395: Provide a better gateway for code-based theme customizations with the Customizer

WordPress Trac noreply at wordpress.org
Mon Sep 26 21:29:53 UTC 2016


#35395: Provide a better gateway for code-based theme customizations with the
Customizer
-------------------------------------------------+-------------------------
 Reporter:  celloexpressions                     |       Owner:  johnregan3
     Type:  feature request                      |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.7
Component:  Customize                            |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots needs-patch dev-     |     Focuses:
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by westonruter):

 Replying to [comment:43 BinaryMoon]:
 > > The implementation here is to allow permanent changes to the theme's
 styles.
 >
 > Perhaps I misunderstood what this change is doing but I thought it was
 non destructive. This change does not edit the theme stylesheet. It saves
 the data in the database (through a theme mod) and then outputs it on page
 load. This means it's easy to update themes, and to remove the custom
 styles if something goes wrong. It's a lot less destructive than the theme
 editor (which I would be happy to see go away).

 That is correct. The proposal is to store this custom post CSS in the
 database (via a custom post type), just as Jetpack is doing. No theme
 files would be modified, so this feature is not dependent on
 `DISALLOW_FILE_EDIT` being off.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35395#comment:48>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list