[wp-trac] [WordPress Trac] #21837: Site search for a domain by text fails in subdomain installs of multisite with www in primary domain

WordPress Trac noreply at wordpress.org
Fri Jun 17 00:02:12 UTC 2016


#21837: Site search for a domain by text fails in subdomain installs of multisite
with www in primary domain
--------------------------------+-------------------------
 Reporter:  frisco              |       Owner:  jeremyfelt
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:  4.6
Component:  Networks and Sites  |     Version:  3.0
 Severity:  normal              |  Resolution:  fixed
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+-------------------------
Changes (by jeremyfelt):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37736"]:
 {{{
 #!CommitTicketReference repository="" revision="37736"
 Multisite: Use `WP_Site_Query` to power `WP_MS_Sites_List_Table`.

 `WP_Site_Query` provides for a cleaner `prepare_items()` method. It
 significantly improves the search experience in the sites list table:

 * In a subdomain configuration, domain and path are searched for a
 provided terms.
 * In a subdirectory configuration, path is searched for a provided term.
 * The full domain is searched in a subdomain configuration rather than the
 portion not matching the network's domain.
 * Terms are searched as `%term%` by default. Adding `*` in the middle of a
 term will search `%te%rm%`.

 Props flixos90, Fab1en.
 Fixes #33185, #24833, #21837, #36675.
 }}}

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


More information about the wp-trac mailing list