[wp-trac] [WordPress Trac] #10781: Make WP_User_Search plugin friendly

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 22 11:23:08 UTC 2009


#10781: Make WP_User_Search plugin friendly
----------------------------+-----------------------------------------------
 Reporter:  scribu          |       Owner:                 
     Type:  enhancement     |      Status:  new            
 Priority:  normal          |   Milestone:  3.0            
Component:  Administration  |     Version:  2.9            
 Severity:  normal          |    Keywords:  has-patch early
----------------------------+-----------------------------------------------
Changes (by westi):

 * cc: westi (added)
  * keywords:  has-patch commit early => has-patch early


Comment:

 Replying to [comment:5 transom]:
 > I'll supply a diff shortly but if this is going into 3.0 - let's stretch
 it just a little bit to allow search on any meta key - assuming
 capabilities by default by adding a optional fourth parameter.
 >
 > e.g.  function WP_User_Search ($search_term = '', $page = '',
 $meta_value = '', $meta_key='')

 Patch looks good.

 Could you put together a simple example plugin which shows how this is
 used and attach it to the ticket.

 This will make the changes easy to test and mean that we can get them
 committed.

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


More information about the wp-trac mailing list