[wp-trac] [WordPress Trac] #32470: Abstracting the Widget Classes
WordPress Trac
noreply at wordpress.org
Sat May 23 04:18:59 UTC 2015
#32470: Abstracting the Widget Classes
-------------------------+------------------------------
Reporter: welcher | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Changes (by jacobsantos):
* keywords: dev-feedback =>
Comment:
Replying to [comment:2 westonruter]:
> Perhaps the biggest thing that bugs me about `WP_Widget` is that one
instance of this object does not correspond to one instance in the
database...
A widget shouldn't care about database details. It should only care about
output and configuration or details that concerns that widget
implementation and not something that is external to its concern.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32470#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list