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

WordPress Trac noreply at wordpress.org
Wed May 27 02:21:14 UTC 2015


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

Comment (by westonruter):

 Replying to [comment:10 nacin]:
 > Looks good! Thanks for those arguments. Those are great to see.
 >
 > Is there a reason `ArrayAccess` shouldn't also be whitelisted here?

 Yes, because the `getArrayCopy()` method isn't defined as part of the
 `ArrayAccess` interface, while it is defined for those two classes that
 implement it. We need that method.

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


More information about the wp-trac mailing list