[wp-trac] [WordPress Trac] #40826: Allow items queried in batch via "slug" to maintain order
WordPress Trac
noreply at wordpress.org
Wed Oct 4 20:44:56 UTC 2017
#40826: Allow items queried in batch via "slug" to maintain order
--------------------------------------+-------------------------
Reporter: wonderboymusic | Owner: kadamwhite
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.9
Component: REST API | Version: 4.7.4
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-------------------------
Comment (by boonebgorges):
[attachment:40826.4.diff] is a refresh of [attachment:40826.3.diff] that
uses `sanitize_title_for_query()` rather than `sanitize_title()`. See the
linked Slack discussion, as well as #19292 and [19444].
`sanitize_title()` is incorrectly used elsewhere in `WP_Term_Query` in a
similar way. I'll open a separate ticket for that.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40826#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list