[wp-trac] [WordPress Trac] #36675: WP_MS_Sites_List_Table should use WP_Site_Query
WordPress Trac
noreply at wordpress.org
Fri Jun 17 00:02:11 UTC 2016
#36675: WP_MS_Sites_List_Table should use WP_Site_Query
--------------------------------------+-------------------------
Reporter: spacedmonkey | Owner: jeremyfelt
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 4.6
Component: Networks and Sites | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: multisite
--------------------------------------+-------------------------
Changes (by jeremyfelt):
* status: accepted => 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/36675#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list