id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses 43895 Organize privacy functions into logical files and classes iandunn desrosj "Many new functions and classes are being created in 4.9.6 for the privacy features, but they can only be added in existing files, because it's a point release (and they have to be in the next point release, because GDPR). That results in a bit of a mess, since functions are tacked on to unrelated files, or files that already have thousands of lines of code. The codebase would be much more maintainable if we can migrate logical groups of functions to their own file, and move classes to their own files. We may need to consider back-compat issues, like plugins including `wp-admin/includes/file.php` in order to call a function that resides there in `4.9.6`. Ideally this should be done in 5.0, to minimize the time where plugins will start to rely on functions being available in certain files." enhancement closed normal 5.3 Privacy 4.9.6 normal fixed early has-patch