[wp-trac] [WordPress Trac] #39643: WP_User_Query does not allow search_fields to use display_name
WordPress Trac
noreply at wordpress.org
Mon Apr 24 04:14:53 UTC 2017
#39643: WP_User_Query does not allow search_fields to use display_name
--------------------------------------+--------------------
Reporter: bcole808 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.8
Component: Users | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+--------------------
Changes (by pcarvalho):
* keywords: has-patch needs-unit-tests => has-patch has-unit-tests
Comment:
Hi everyone, I've added 2 unit tests:
1- return the user that has the string in display_name
2- don't return the user that has the string in other fields
@bcole808, may I ask you to update your patch to add curly brackets around
that block?
or if you don't mind, I can do it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39643#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list