[wp-trac] [WordPress Trac] #12492: Improper use of a variable variable ($$) in remove_all_filters()

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 3 01:09:18 UTC 2010


#12492: Improper use of a variable variable ($$) in remove_all_filters()
--------------------------+-------------------------------------------------
 Reporter:  chrisbliss18  |       Owner:  westi                  
     Type:  defect (bug)  |      Status:  new                    
 Priority:  normal        |   Milestone:  3.0                    
Component:  Plugins       |     Version:  3.0                    
 Severity:  normal        |    Keywords:  has-patch tested commit
--------------------------+-------------------------------------------------

Comment(by hakre):

 Replying to [comment:2 chrisbliss18]:
 > Yeah. It's an unfortunate typo that has been there as long as the
 function has been around.

 ack.

 > I did a search through trunk for other $$ typos and didn't see any.
 Personally, I'd like to see the $$ uses removed. The same functionality
 can be derived in numerous ways. The main issue with variable variables is
 that they are difficult to distinguish from a bug and make code clarity
 very difficult.

 true.

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


More information about the wp-trac mailing list