WordPress.org

Make WordPress Core

Opened 4 weeks ago

Closed 4 weeks ago

Last modified 4 weeks ago

#53568 closed defect (bug) (fixed)

REST API: Matching typos in `rest_{$object_type}_query` docs

Reported by: dlh Owned by: SergeyBiryukov
Milestone: 5.8 Priority: normal
Severity: normal Version: 5.7
Component: REST API Keywords: has-patch commit fixed-major dev-reviewed
Focuses: docs Cc:

Description

The filter docs for both rest_{$post_type}_query and rest_{$taxonomy}_query reference "querying users" rather than posts or terms.

Change History (7)

#2 @SergeyBiryukov
4 weeks ago

  • Milestone changed from Awaiting Review to 5.8

#3 @SergeyBiryukov
4 weeks ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 51293:

Docs: Correct documentation for rest_{$post_type}_query and rest_{$taxonomy}_query filters.

Synchronize documentation for related rest_{$object_type}_query filters for consistency.

Props dlh.
Fixes #53568.

#4 @SergeyBiryukov
4 weeks ago

  • Keywords commit fixed-major added
  • Resolution fixed deleted
  • Status changed from closed to reopened

Reopening for 5.8 consideration.

I think this is worth backporting to the branch, so that the information on DevHub is corrected sooner rather than later.

#5 @desrosj
4 weeks ago

  • Keywords dev-reviewed added

Backporting sounds good for this.

#6 @desrosj
4 weeks ago

  • Resolution set to fixed
  • Status changed from reopened to closed

In 51295:

Docs: Correct documentation for rest_{$post_type}_query and rest_{$taxonomy}_query` filters.

Synchronize documentation for related rest_{$object_type}_query filters for consistency.

Props dlh.
Merges [51293] to the 5.8 branch.
Fixes #53568.

Note: See TracTickets for help on using tickets.