[wp-trac] [WordPress Trac] #56952: cache_users() not defined when calling get_user without field parameter or using all_with_meta or all
WordPress Trac
noreply at wordpress.org
Wed Nov 2 17:08:30 UTC 2022
#56952: cache_users() not defined when calling get_user without field parameter or
using all_with_meta or all
--------------------------+--------------------------------
Reporter: carazo | Owner: TimothyBlynJacobs
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.1.1
Component: Users | Version: 6.1
Severity: major | Resolution:
Keywords: has-patch | Focuses:
--------------------------+--------------------------------
Changes (by oakesjosh):
* keywords: => has-patch
Comment:
I've attached a patch that would:
- Prevent fatal errors if `get_users()` is called before pluggable.php is
loaded
- Not prematurely load pluggable.php so plugins can still overwrite
functions
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56952#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list