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

WordPress Trac noreply at wordpress.org
Sun Apr 28 19:39:27 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 ocean90):

 Replying to [comment:6 SergeyBiryukov]:
 > Introduced in [14608]. Unlike `get_user_option()`,
 `delete_user_setting()` does not accept a second parameter, so it deletes
 the setting for current user.

 All `*_user_setting()` functions doesn't accept an $user_id as a parameter
 since they referring to the current user cookie.

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


More information about the wp-trac mailing list