[wp-trac] [WordPress Trac] #35524: Overwrite default widget templates
WordPress Trac
noreply at wordpress.org
Tue Jan 19 11:57:59 UTC 2016
#35524: Overwrite default widget templates
------------------------------+------------------------------
Reporter: sebastian.pisula | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
------------------------------+------------------------------
Comment (by swissspidy):
> But I think now that if user want overwrite widget then he can
unregister WordPress widget and register custom.
That's how it currently works, yes. The difficulty with the proposed patch
is that each widget is just so different. If you create a template file
for a widget, you as a developer have no idea what variables you have
access to.
It would probably make more sense to just being able to filter the whole
widget output, though I currently do not see any value in that.
> What is the situation when selling theme? ThemeForest accept if
developer remove native wordpress widgets?
That's not something we should or need to care about.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35524#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list