Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#53568 closed defect (bug) (fixed)

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

Reported by: dlh's profile dlh Owned by: sergeybiryukov's profile 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 years ago

  • Milestone changed from Awaiting Review to 5.8

#3 @SergeyBiryukov
4 years 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 years 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 years ago

  • Keywords dev-reviewed added

Backporting sounds good for this.

#6 @desrosj
4 years 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.