[wp-trac] [WordPress Trac] #31147: make sure $notoptions is an array before assigning array key value

WordPress Trac noreply at wordpress.org
Tue Apr 14 12:21:54 UTC 2015


#31147: make sure $notoptions is an array before assigning array key value
--------------------------------+-----------------------
 Reporter:  hauvong             |       Owner:
     Type:  enhancement         |      Status:  reopened
 Priority:  normal              |   Milestone:
Component:  Options, Meta APIs  |     Version:  2.2
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:
--------------------------------+-----------------------
Changes (by spacedmonkey):

 * status:  closed => reopened
 * resolution:  duplicate =>


Comment:

 Why has this been closed. #28664 seems unrelated to this issue. If have a
 poisoned cache, meaning you have a string in place of a array in site
 options, you will get a Illegal string offset error. This is an error in
 the get_site_option function and not get_option. This is a multisite issue
 only.

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


More information about the wp-trac mailing list