[wp-trac] [WordPress Trac] #7394: Search: order results by relevance

WordPress Trac noreply at wordpress.org
Tue Sep 24 17:08:35 UTC 2013


#7394: Search: order results by relevance
-------------------------------------------------+-------------------------
 Reporter:  markjaquith                          |       Owner:
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  3.7
Component:  General                              |     Version:  2.6
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing 3.7-early    |
  needs-refresh                                  |
-------------------------------------------------+-------------------------

Comment (by DrewAPicture):

 Lines 3686-3732 in `wp_old_slug_redirect()` seem to be dropped in as if
 from mars.

 Is that code supposed to live somewhere else? And if not, how is it that
 `$q`, $search_orderby_title, $search_orderby, et al are accessible in a
 standalone function?

--
Ticket URL: <http://core.trac.wordpress.org/ticket/7394#comment:56>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list