[wp-trac] [WordPress Trac] #42498: PHP7.2 Countable

WordPress Trac noreply at wordpress.org
Fri Nov 10 04:05:08 UTC 2017


#42498: PHP7.2 Countable
-------------------------------------+------------------
 Reporter:  pross                    |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  4.9
Component:  General                  |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------

Comment (by dd32):

 In this case It'd probably be better to change it to `if ( empty(
 $wp_settings_errors ) ) return array();`

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


More information about the wp-trac mailing list