[wp-trac] [WordPress Trac] #64131: A new function to test if a thing is an instance of the WP_User class
WordPress Trac
noreply at wordpress.org
Tue Oct 21 19:05:45 UTC 2025
#64131: A new function to test if a thing is an instance of the WP_User class
-----------------------------+------------------------------
Reporter: profiletoggler | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Changes (by swissspidy):
* keywords: needs-design-feedback =>
Comment:
Hi there and welcome to WordPress Trac!
What would be the benefit of adding a function simply wrapping an
`instanceof` check? Why not just use `instanceof` directly?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64131#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list