[Bb-trac] Re: [bbPress] #580: Cache should be initiated before plugins are loaded.

bbPress bb-trac at lists.bbpress.org
Tue Feb 13 19:27:06 GMT 2007


#580: Cache should be initiated before plugins are loaded.
-----------------------+----------------------------------------------------
 Reporter:  so1o       |        Owner:  so1o    
     Type:  defect     |       Status:  assigned
 Priority:  high       |    Milestone:  1.0     
Component:  Back-end   |      Version:  0.80    
 Severity:  normal     |   Resolution:          
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------
Comment (by mdawaffe):

 If plugins need the cache object, they should probably wait until
 {{{bb_init}}}.

 Can you:

 {{{
 function do_the_stuff_i_need() {
    call_this();
    call_that();
    $bb_cache->the_other();
 }

 add_action( 'bb_init', 'do_the_stuff_i_need' );
 }}}

 ?

-- 
Ticket URL: <http://trac.bbpress.org/ticket/580#comment:2>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list