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

WordPress Trac noreply at wordpress.org
Mon Apr 29 00:03:38 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-admin/network/site-settings.php:63
 > Reason     : TooManyArgument
 > Snippet    : update_option($key, $val, false)
 > Line       : update_option( $key, $val, false ); // no need to refresh
 blog details yet
 > }}}

 Introduced in [http://mu.trac.wordpress.org/changeset/1811 mu:1811].
 `update_blog_option()` was replaced with `update_option()`, which only
 accepts two parameters. The fourth parameter of `update_blog_option()` was
 deprecated in [16673].

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


More information about the wp-trac mailing list