Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Searching users requires wildcards #1771

Description

@joehoyle

Unlike posts, which does wildcard search by default, /wp/v2/users requires an exact match on any of the searched fields, because this is the internal behaviour of WP_User_Query. One cal work around this by doing /wp/v2/users?search=*ada* to match "adam" etc.

I propose we auto add the wildcards on to the search query in users to match that of /wp/v2/posts

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions