[wp-trac] [WordPress Trac] #12573: add delete_user_option() function

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 10 10:01:12 UTC 2010


#12573: add delete_user_option() function
-------------------------+--------------------------------------------------
 Reporter:  TobiasBg     |       Owner:                  
     Type:  enhancement  |      Status:  new             
 Priority:  normal       |   Milestone:  3.0             
Component:  General      |     Version:                  
 Severity:  normal       |    Keywords:  has-patch commit
-------------------------+--------------------------------------------------
 In wp-includes/user.php we have the function {{{get_user_option()}}} and
 {{{update_user_option()}}} that deal with global or per-blog user options
 (stored in wp_usermeta).

 Unfortunately, there's no {{{delete_user_option()}}} to remove an option
 from the DB.

 The attached patch adds that function.

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


More information about the wp-trac mailing list