[wp-trac] [WordPress Trac] #14754: add_query_arg() refactoring

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 1 16:32:20 UTC 2010

#14754: add_query_arg() refactoring
 Reporter:  hakre         |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:                 
 Severity:  normal        |    Keywords:  needs-patch    
 The function add_query_arg() looks like that it could benefit from a
 refactoring. Especially the handling of optional parameters (did introduce
 PHP 4 that language feature?) can benefit by a sligh touch-up.

 Attached patch reflects only the first few lines of the function.

Ticket URL: <http://core.trac.wordpress.org/ticket/14754>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list