[wp-trac] [WordPress Trac] #58897: Fix WP_User_Query magic methods for PHP 8.2 dynamic property

WordPress Trac noreply at wordpress.org
Wed Aug 2 19:19:06 UTC 2023


#58897: Fix WP_User_Query magic methods for PHP 8.2 dynamic property
-------------------------------------------------+-------------------------
 Reporter:  antonvlasenko                        |       Owner:
                                                 |  hellofromTonya
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.4
Component:  Users                                |     Version:  4.0
 Severity:  normal                               |  Resolution:
 Keywords:  php82 has-patch has-unit-tests       |     Focuses:
  changes-requested                              |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * keywords:  php82 has-patch has-unit-tests => php82 has-patch has-unit-
     tests changes-requested


Comment:

 The history and design intent in `WP_User_Query` properties and magic
 methods is the same as `WP_List_Table`, see #58896. After extensive and
 careful review and consideration, Option 1 with deprecations was selected
 and committed [56349].

 I think the same approach should be used in `WP_User_Query`.

 To expedite, let's combine the work into https://github.com/WordPress
 /wordpress-develop/pull/4906, which @antonvlasenko is in the process of
 updating for the changes made in [56349].

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


More information about the wp-trac mailing list