mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-23 06:44:31 +00:00
Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
git-svn-id: https://develop.svn.wordpress.org/trunk@13311 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -424,7 +424,7 @@ function set_screen_options() {
|
||||
break;
|
||||
}
|
||||
|
||||
update_usermeta($user->ID, $option, $value);
|
||||
update_user_meta($user->ID, $option, $value);
|
||||
wp_redirect( remove_query_arg( array('pagenum', 'apage', 'paged'), wp_get_referer() ) );
|
||||
exit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user