[wp-trac] [WordPress Trac] #39336: Document WP_Query orderby=relevance

WordPress Trac noreply at wordpress.org
Tue Dec 20 00:11:46 UTC 2016


#39336: Document WP_Query orderby=relevance
------------------------------------+-------------------
 Reporter:  jnylen0                 |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  4.8
Component:  Query                   |     Version:  3.7
 Severity:  minor                   |  Resolution:
 Keywords:  needs-patch needs-docs  |     Focuses:  docs
------------------------------------+-------------------
Changes (by pento):

 * severity:  normal => minor
 * component:  General => Query
 * version:   => 3.7
 * milestone:  Awaiting Review => 4.8
 * keywords:  needs-patch => needs-patch needs-docs
 * type:  enhancement => defect (bug)


Comment:

 Also need to note that the default `orderby` changes from `date` to
 `relevance` when a search parameter is passed to `WP_Query`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39336#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list