Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #32470, comment 4


Ignore:
Timestamp:
05/23/2015 04:20:58 AM (11 years ago)
Author:
jacobsantos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32470, comment 4

    initial v1  
    33
    44A 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.
     5
     6The other problem is that the WP_Widget class has concerns that should be separate from actual widgets.
     7
     8There should be an interface that Widgets implement and passed to WP_Widget.