[wp-trac] [WordPress Trac] #29262: PHP warning on update check when plugins or translations arrays are empty

WordPress Trac noreply at wordpress.org
Mon Aug 25 16:22:42 UTC 2014


#29262: PHP warning on update check when plugins or translations arrays are empty
-----------------------------+--------------------
 Reporter:  yoavf            |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  4.0
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+--------------------

Comment (by markoheijnen):

 Unsure what version you did used since line 312 isn't a foreach loop.
 Seeing you response body it is because {{{no_update}}} wasn't send and
 then the foreach loop will throw this warning.

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


More information about the wp-trac mailing list