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

WordPress Trac noreply at wordpress.org
Sun May 24 03:58:11 UTC 2015


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

Comment (by westonruter):

 OK, I have an implementation of post-based widget instance storage
 implemented in the [https://wordpress.org/plugins/customize-widgets-plus/
 Customize Widgets Plus] plugin, via the [https://github.com/xwp/wp-
 customize-widgets-plus/pull/12 Widget Posts pull request]. This plugin
 depends on the Core patch attached to this ticket. And this is all I'm
 proposing for 4.3: the minor attached patch to ensure widget instance
 `$settings` can be `ArrayIterator` objects in addition to literal arrays,
 as the `array_*` functions in PHP don't work with objects.

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


More information about the wp-trac mailing list