WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 13 months ago

#35907 reopened enhancement

Permit sticky posts to affect the query in REST_REQUEST

Reported by: danielbachhuber Owned by: rmccue
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Query Keywords: has-patch needs-unit-tests
Focuses: Cc:

Attachments (1)

35907.1.diff (722 bytes) - added by danielbachhuber 2 years ago.

Download all attachments as: .zip

Change History (12)

#1 @danielbachhuber
2 years ago

  • Description modified (diff)

This ticket was mentioned in Slack in #core by jorbin. View the logs.


2 years ago

#3 @rmccue
2 years ago

  • Owner set to rmccue
  • Status changed from new to reviewing

This ticket was mentioned in Slack in #core by mike. View the logs.


2 years ago

#5 @jorbin
2 years ago

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

In 36696:

Permit sticky posts to affect the query in REST_REQUEST

Needed for https://github.com/WP-API/WP-API/issues/2210

Props danielbachhuber.
Fixes #35907.

#6 @jorbin
2 years ago

In 36699:

Revert r36696

This broke embeds. Needs a better solution to also make sure all queries from the REST API aren't broken.

see #35907.

#7 @jorbin
2 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

#8 @jorbin
2 years ago

  • Milestone changed from 4.5 to Future Release

This ticket was mentioned in Slack in #core-restapi by krogsgard. View the logs.


21 months ago

#10 @johnbillion
13 months ago

In 40545:

REST API: Remove a useless unit test.

See #35907, #38373

#11 @johnbillion
13 months ago

  • Keywords needs-unit-tests added
Note: See TracTickets for help on using tickets.