Make WordPress Core

Opened 3 days ago

Last modified 3 days ago

#62596 new enhancement

REST API: Add support for search_columns to the user endpoint.

Reported by: youknowriad's profile youknowriad Owned by:
Milestone: 6.8 Priority: normal
Severity: normal Version:
Component: REST API Keywords: has-patch
Focuses: Cc:

Description

This ticket tracks the backport of the changes introduced in https://github.com/WordPress/gutenberg/pull/67330

The idea is to add "search_columns" support to the REST API user controller in order to fix a Gutenberg bug in the post author selector.

A similar change has been introduced before for the posts controller in https://core.trac.wordpress.org/ticket/43867

Change History (2)

#1 @youknowriad
3 days ago

  • Component changed from General to REST API

This ticket was mentioned in PR #7909 on WordPress/wordpress-develop by @youknowriad.


3 days ago
#2

  • Keywords has-patch added

Backports to change originally made in https://github.com/WordPress/gutenberg/pull/67330

This adds support to search_columns to the user controller, mirroring a change that was done in the past for the post controller.

Trac ticket: https://core.trac.wordpress.org/ticket/62596

Todo

  • [ ] Add unit test.
Note: See TracTickets for help on using tickets.