WP_User has no method to access WP_User->data
|Reported by:||dd32||Owned by:|
While working on #24635 I noticed that the WP_User class doesn't have a method to access the data field, while it has magic getters and setters, plus a to_array() method.
It seems appropriate that we should have a getter for the entire data object to go along with them.
Change History (6)
comment:3 barrykooij — 6 months ago
- Keywords has-patch added; needs-patch removed