[wp-trac] [WordPress Trac] #43895: Organize privacy functions into logical files and classes

WordPress Trac noreply at wordpress.org
Sat Jun 8 02:12:13 UTC 2019


#43895: Organize privacy functions into logical files and classes
-------------------------------------------+-----------------------
 Reporter:  iandunn                        |       Owner:  desrosj
     Type:  enhancement                    |      Status:  assigned
 Priority:  normal                         |   Milestone:  5.3
Component:  Privacy                        |     Version:  4.9.6
 Severity:  normal                         |  Resolution:
 Keywords:  early has-patch needs-testing  |     Focuses:
-------------------------------------------+-----------------------

Comment (by azaozz):

 In 43895.3.diff:
 - Move the privacy related functions from `wp-admin/includes/file.php` to
 `wp-admin/includes/privacy-tools.php`.
 - Move the `WP_User_Request` class to a separate file.

 Wondering if we should also move the `_wp_privacy-*` and user request
 related functions from `wp-includes/user.php`:
 https://github.com/WordPress/wordpress-
 develop/blob/0af549fdf50ac779fb68cc0bd688ac283d5195ec/src/wp-
 includes/user.php#L2840-L3650. They are user related, but for both
 registered and non-registered (website) users. Perhaps `user.php` is a
 good place anyway.

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


More information about the wp-trac mailing list