[Bb-trac] Re: [bbPress] #528: Change the function names to consistent

bbPress bb-trac at lists.bbpress.org
Wed Apr 4 21:19:20 GMT 2007


#528: Change the function names to consistent
----------------------+-----------------------------------------------------
 Reporter:  so1o      |        Owner:  so1o    
     Type:  task      |       Status:  assigned
 Priority:  normal    |    Milestone:  1.0     
Component:  Back-end  |      Version:  0.73    
 Severity:  normal    |   Resolution:          
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by mdawaffe):

 We can change filter names.  There's few enough plugin developers still
 that we can get the word out pretty well.  We can also include deprecated
 filters in deprecated.php:

 {{{
 function something() {
     return apply_filters( 'something', bb_something() );
 }
 }}}

 where appropriate.

 I applied your patch, so1o, but took out some things from deprecated.php
 that are really only used internally.  Also, those functions defined in
 compat.php (there's only one at the moment) are function available in PHP5
 but not in 4.  So they don't need renaming.

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


More information about the Bb-trac mailing list