[theme-reviewers] Unregister core widgets
Mattia Migliorini
deshack at ubuntu.com
Wed Aug 7 17:31:37 UTC 2013
Got it, thank you very much! :)
Mattia Migliorini
On Aug 7, 2013 7:05 PM, "Justin Tadlock" <justin at justintadlock.com> wrote:
> Why has this guideline not already been added?
>
> "Themes may OPTIONALLY unregister core Widgets. If unregistered, Themes
> are REQUIRED to replace these Widgets with their own (extended) version."
>
> This has already been discussed and agreed on twice now. Original threads:
>
> http://lists.wordpress.org/pipermail/theme-reviewers/2012-June/thread.html#9425
>
> http://lists.wordpress.org/pipermail/theme-reviewers/2013-March/thread.html#12031
>
> On 8/7/2013 7:14 AM, Chip Bennett wrote:
>
> I think we should recommend *not* replacing core Widgets in general. But I
> think other than the Text Widget, none represent generation - or potential
> loss - of user data. (Most are lists of Posts or Terms, in various
> contexts.) So IMHO the Text Widget would factor into
> presentation-vs-functionality, because if a user creates text content in a
> Text Widget, if that Widget is registered by the Theme (whether it replaces
> the core Text Widget or not), that user-created text data would be lost
> when the Theme is deactivated.
>
> Note: I have the same concern with some other Theme-registered Widgets,
> such as Ad Widgets; if the user adds an ad image or text, that content is
> then lost (well, buried in theme_mods).
>
>
> On Wed, Aug 7, 2013 at 3:49 AM, Philip M. Hofer (Frumph) <
> philip at frumph.net> wrote:
>
>> .. Isn't this the same as having shortcodes though? since the new theme
>> wouldn't have the ability to use it so the data is as said lost .. as the
>> people who want shortcodes to be gone made a point as being the reason;
>> just wondering if that's not pretty much the same.
>>
>> Not rehashing, just curious; because it's an interesting thought.
>>
>>
>>
>> -----Original Message----- From: Paul Appleyard
>> Sent: Wednesday, August 07, 2013 12:43 AM
>> To: Discussion list for WordPress theme reviewers.
>> Subject: Re: [theme-reviewers] Unregister core plugins
>>
>>
>> I would think that as long as the core widget functionality is
>> unaffected, it wouldn't be an issue; that is, if they change themes
>> there's no visible affect.
>>
>> Paul Appleyard
>>
>> On 7/08/2013 3:38 AM, Otto wrote:
>>
>>> I would say that it's generally a bad idea, because people might get
>>> confused when their widgets disappear after changing themes.
>>>
>>> Instead of replacing the core widgets, create your own with the theme
>>> name in them. So instead of "Text" widget, you could add one that says
>>> "Themename - Text" to show that it's specific to the theme. Then
>>> people won't be surprised when it disappears on theme changing.
>>>
>>> -Otto
>>>
>>>
>>> On Tue, Aug 6, 2013 at 11:55 AM, Mattia Migliorini <deshack at ubuntu.com>
>>> wrote:
>>>
>>>> Hi all,
>>>> In my theme (which is now under reviewing) I unregistered a pair of core
>>>> widgets in order to substitute them with my own ones, because I needed
>>>> to
>>>> integrate them with Bootstrap.
>>>>
>>>> Is it allowed to unregister core plugins or not?
>>>>
>>>> Thank you,
>>>>
>>>> Mattia Migliorini
>>>>
>>>>
>>>> _______________________________________________
>>>> theme-reviewers mailing list
>>>> theme-reviewers at lists.wordpress.org
>>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>>
>>>> _______________________________________________
>>> theme-reviewers mailing list
>>> theme-reviewers at lists.wordpress.org
>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>
>>
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>
>
>
> _______________________________________________
> theme-reviewers mailing listtheme-reviewers at lists.wordpress.orghttp://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20130807/25680fb8/attachment.html>
More information about the theme-reviewers
mailing list