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

WordPress Trac noreply at wordpress.org
Wed Oct 31 06:00:07 UTC 2018


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

Comment (by pento):

 In [changeset:"43848" 43848]:
 {{{
 #!CommitTicketReference repository="" revision="43848"
 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.
 See #44489.
 }}}

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


More information about the wp-trac mailing list