[wp-trac] [WordPress Trac] #20044: Enable search for pages by slug
WordPress Trac
noreply at wordpress.org
Sat Mar 8 21:40:51 UTC 2014
#20044: Enable search for pages by slug
------------------------------------------+------------------
Reporter: ekitomat | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.9
Component: Query | Version: 3.7
Severity: normal | Resolution:
Keywords: has-patch needs-testing punt | Focuses:
------------------------------------------+------------------
Changes (by nacin):
* keywords: has-patch needs-testing => has-patch needs-testing punt
Comment:
[attachment:20044.5.diff] cleans things up a bit.
That said, this doesn't help with ordering. In fact, #7394 kind of gets in
the way here (it was fixed after this ticket was opened). You could add
more fields to search, or even remove some, but it doesn't affect the
ordering — a perfect post_name match ends up on the final page of results.
That's not a great experience. Some earlier patches on #7394 allowed for
the reverse: it helped with ordering but not with which fields were
searched. Seems like we should add both tools at once.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/20044#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list