[wp-trac] [WordPress Trac] #42498: Replace count() call with empty() in get_settings_errors() to prevent PHP 7.2 warnings

WordPress Trac noreply at wordpress.org
Fri Nov 10 22:24:23 UTC 2017


#42498: Replace count() call with empty() in get_settings_errors() to prevent PHP
7.2 warnings
-------------------------------------------------+-------------------------
 Reporter:  pross                                |       Owner:
     Type:  defect (bug)                         |  westonruter
 Priority:  normal                               |      Status:  accepted
Component:  General                              |   Milestone:  4.9
 Severity:  normal                               |     Version:
 Keywords:  has-patch has-unit-tests dev-        |  Resolution:
  reviewed commit                                |     Focuses:
-------------------------------------------------+-------------------------
Changes (by westonruter):

 * keywords:  has-patch needs-testing => has-patch has-unit-tests dev-
     reviewed commit
 * owner:   => westonruter
 * status:  new => accepted


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


More information about the wp-trac mailing list