[wp-trac] [WordPress Trac] #18049: PHP 5.4 compatibility warnings on creating default object from empty value

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 9 14:04:35 UTC 2011


#18049: PHP 5.4 compatibility warnings on creating default object from empty value
------------------------------+------------------------------
 Reporter:  eko-fr            |       Owner:
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Warnings/Notices  |     Version:  3.2
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |
------------------------------+------------------------------
Changes (by dd32):

 * status:  closed => reopened
 * resolution:  maybelater =>
 * milestone:   => Awaiting Review


Comment:

 the current theme one has been mentioned elsewhere, however, These do need
 at least a `new stdClass;` added in.

 These are not just a php 5.4 thing either.. the error level has just
 changed for the notice i believe.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18049#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list