[wp-trac] [WordPress Trac] #26580: Add filters to WP_MS_Sites_List_Table::prepare_items()

WordPress Trac noreply at wordpress.org
Thu Dec 12 20:29:57 UTC 2013


#26580: Add filters to WP_MS_Sites_List_Table::prepare_items()
-------------------------+-----------------------------
 Reporter:  csixty4      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Multisite    |    Version:
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 In WP_MS_Sites_List_Table::prepare_items(), it would be helpful to be able
 to filter `$like_s` before it gets integrated into the query (we needed to
 force a `like %keyword%` query).

 It might also be handy to filter the WHERE and ORDER BY clauses.

 The `query` filter can be used to alter the SQL after it's generated, but
 that's just asking for trouble.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26580>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list