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

WordPress Trac noreply at wordpress.org
Tue May 26 08:58:52 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    |     Focuses:
-------------------------+--------------------------

Comment (by ocean90):

 Based on [http://php.net/manual/en/book.spl.php PHP's manual]
 `ArrayObject` and `ArrayIterator` are part of SPL which can be disabled
 before 5.3. Looks like we need some class_exists() check here.

 WP_Theme uses `ArrayAccess` which isn't part of SPL.

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


More information about the wp-trac mailing list