[wpmu-trac] Re: [WordPress MU Trac] #265: Override 15 second rule for siteadmins

WordPress MU Trac wpmu-trac at lists.automattic.com
Fri Nov 23 12:31:49 GMT 2007


#265: Override 15 second rule for siteadmins
------------------------+---------------------------------------------------
 Reporter:  drmike      |        Owner:  somebody
     Type:  defect      |       Status:  closed  
 Priority:  normal      |    Milestone:  WPMU 2.0
Component:  component1  |      Version:  2.0     
 Severity:  normal      |   Resolution:  fixed   
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by donncha):

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

Comment:

 This would be better done in a plugin. The following code snippet will
 remove wp_throttle_comment_flood from the comment_flood_filter filter.
 Wrap it in a function that kicks off on 'init'.

 {{{
 if( is_site_admin() )
     remove_filter( 'comment_flood_filter', 'wp_throttle_comment_flood' );
 }}}

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/265#comment:5>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list