[wp-trac] [WordPress Trac] #44489: Use of deprecated each() function

WordPress Trac noreply at wordpress.org
Fri Dec 14 12:25:20 UTC 2018


#44489: Use of deprecated each() function
---------------------------------+----------------------
 Reporter:  sterndata            |       Owner:  atimmer
     Type:  defect (bug)         |      Status:  closed
 Priority:  normal               |   Milestone:  5.0
Component:  Filesystem API       |     Version:
 Severity:  normal               |  Resolution:  fixed
 Keywords:  has-patch fixed-5.0  |     Focuses:
---------------------------------+----------------------
Changes (by atimmer):

 * owner:  (none) => atimmer
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44184" 44184]:
 {{{
 #!CommitTicketReference repository="" revision="44184"
 FTP/PemFTP Library: Fix some PHP notices.

 ftp_base::glob() used each(), which is deprecated as of PHP 7.2.
 ftp_base::fget() was missing the decleration of its third parameter,
 $rest.

 Props itowhid06, pento.
 Merges [43848] to trunk.
 Fixes #44489.
 }}}

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


More information about the wp-trac mailing list