[wp-trac] [WordPress Trac] #24210: Issues found using a static analysis tool

WordPress Trac noreply at wordpress.org
Sun Apr 28 20:12:01 UTC 2013


#24210: Issues found using a static analysis tool
--------------------------+------------------
 Reporter:  rlerdorf      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.6
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------

Comment (by SergeyBiryukov):

 > {{{
 > File       : wp-signup.php:493
 > Reason     : RequiredAfterOptionalParam
 > Snippet    : $user_name = ''
 > Line       : function confirm_blog_signup($domain, $path, $blog_title,
 $user_name = '', $user_email = '', $meta) {
 > }}}

 `confirm_blog_signup()` accepts `$meta` parameter, but doesn't use it
 anywhere.

 Introduced as `show_create_confirm_form()` in
 [http://mu.trac.wordpress.org/changeset/543 mu:543], renamed to
 `confirm_blog_signup()` in [http://mu.trac.wordpress.org/changeset/557
 mu:557]. `$user_name` and `$user_email` became optional in
 [http://mu.trac.wordpress.org/changeset/1321 mu:1321]. Merged with WP in
 [12603].

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


More information about the wp-trac mailing list