[wp-trac] [WordPress Trac] #18258: Users should not edit upstream themes
WordPress Trac
wp-trac at lists.automattic.com
Tue Jul 26 12:11:06 UTC 2011
#18258: Users should not edit upstream themes
--------------------------+-----------------------------
Reporter: Tomer | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
--------------------------+-----------------------------
Currently, when users are entering the theme editor from the
administration UI, they get the ability to edit the theme with very basic
knowledge required. The downside with that that their tweaks will lost as
soon as they update the theme or if this is WordPress default theme if
they update the WordPress core.
I purpose the following change – Users will be prompted with a message if
they try to edit a message with an upstream link and presumably won't be
able to edit the theme styles. Instead, they will get the opportunity to
automatically create a child theme of the upstream theme with a default
template which might contain theme metadata, and @include rule to add the
stylesheet of the other theme.
Making this will help promote the usage of child themes and will make it
easier to novice bloggers to hack their themes. It is also better from the
current implementation by extensions as it doesn't require runtime
database queries to fetch the additional author stylesheet.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18258>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list