[wp-trac] [WordPress Trac] #22917: Allow Live Updating of User & Site number in Multisite network dashboard 'Right Now' meta box

WordPress Trac noreply at wordpress.org
Wed Sep 25 01:35:32 UTC 2013


#22917: Allow Live Updating of User & Site number in Multisite network dashboard
'Right Now' meta box
------------------------------+------------------
 Reporter:  vmaia             |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  3.7
Component:  Multisite         |     Version:  3.5
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------
Changes (by nacin):

 * keywords:  has-patch => has-patch commit


Comment:

 Based on the queries, these counts also need to change whenever a site is
 (un)deleted, (un)archived, (un)spammed, and whenever a user is
 (un)spammed. (Also whenever a user's `deleted` bit is flipped, but I can't
 actually find that occurring anywhere in core, nor is there an action.)

 I chatted with jeremyfelt in IRC about how we could and should use hooks
 for this — except for in insert_blog(). [attachment:22917.7.diff] is what
 I was thinking. I've tested it out for the different situations and it
 works well. It's also a simpler diff, obviously.

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


More information about the wp-trac mailing list