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

WordPress Trac noreply at wordpress.org
Fri Nov 10 17:25:49 UTC 2017


#42498: Replace count() call with empty() in get_settings_errors() to prevent PHP
7.2 warnings
-------------------------------------+------------------
 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 ayeshrajans):

 Updated the issue title to convey more information at glance. 👍
 42498.2.patch

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


More information about the wp-trac mailing list