[wp-trac] [WordPress Trac] #62159: Creation of dynamic property ftp::$features is deprecated (PHP 8.2)

WordPress Trac noreply at wordpress.org
Thu Mar 19 09:30:57 UTC 2026


#62159: Creation of dynamic property ftp::$features is deprecated (PHP 8.2)
------------------------------------+--------------------------------
 Reporter:  kmurphyzuora            |       Owner:  audrasjb
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:  7.0
Component:  Administration          |     Version:
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  dev-feedback has-patch  |     Focuses:  php-compatibility
------------------------------------+--------------------------------
Changes (by audrasjb):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"62059" 62059]:
 {{{
 #!CommitTicketReference repository="" revision="62059"
 General: Remove unused dynamic `$features` variable from the constructor
 of `class-ftp.php`.

 This fixes a PHP 8.2 deprecation, by removing the dynamic `$features`
 property from the ftp class as it is not used anywhere.

 Props kmurphyzuora, debarghyabanerjee, hellofromTonya, peter8nss.
 Fixes #62159.
 }}}

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


More information about the wp-trac mailing list