[wp-trac] [WordPress Trac] #53177: WP_User_Query does not accept fields as string except ID
WordPress Trac
noreply at wordpress.org
Fri Mar 25 13:43:45 UTC 2022
#53177: WP_User_Query does not accept fields as string except ID
-------------------------------------------------+-------------------------
Reporter: rilwis | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.0
Component: Users | Version: 4.4
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests has- | Focuses: docs
testing-info needs-testing |
-------------------------------------------------+-------------------------
Comment (by Boniu91):
== Test Report
=== Env
* WordPress 5.9.2 and 6.0-alpha-52448-src
* Windows 10
* Theme: Twenty Twenty One
=== Steps to test
1. On WordPress 5.9.2 add the code mentioned
[https://core.trac.wordpress.org/ticket/53177#comment:14]
2. User ID is displayed on the frontend
3. Update the WordPress to this specific patch
4. User display_name as a string is displayed on the frontend
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53177#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list