Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#53568 closed defect (bug) (fixed)

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

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

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
5 years ago

  • Milestone Awaiting Review5.8

#3 @SergeyBiryukov
5 years ago

  • Owner set to SergeyBiryukov
  • Resolutionfixed
  • Status newclosed

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
5 years ago

  • Keywords commit fixed-major added
  • Resolution fixed
  • Status closedreopened

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
5 years ago

  • Keywords dev-reviewed added

Backporting sounds good for this.

#6 @desrosj
5 years ago

  • Resolutionfixed
  • Status reopenedclosed

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.