[wp-trac] [WordPress Trac] #32474: Facilitate widgets to be stored in posts instead of options

WordPress Trac noreply at wordpress.org
Tue May 26 16:41:23 UTC 2015


#32474: Facilitate widgets to be stored in posts instead of options
------------------------------+--------------------------
 Reporter:  westonruter       |       Owner:  westonruter
     Type:  enhancement       |      Status:  assigned
 Priority:  normal            |   Milestone:  4.3
Component:  Widgets           |     Version:  2.8
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------------
Changes (by ocean90):

 * keywords:  has-patch => has-patch commit


Comment:

 Replying to [comment:7 westonruter]:
 > The `instanceof` operator works on undefined classes in PHP≥5.1 as we
 can see there, so I don't think we need any `class_exists()` checks added.

 Good to know!

 The change looks sane. We can call it a temp hook which gives us the
 opportunity to improve widgets outside of core. Hello feature plugins.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32474#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list