Make WordPress Core


Ignore:
Timestamp:
03/02/2010 06:06:14 PM (15 years ago)
Author:
ryan
Message:

Fix metabox hiding. Props scribu. fixes #12439

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/user.php

    r13464 r13551  
    204204        _deprecated_argument( __FUNCTION__, '3.0' );
    205205
    206     $option = preg_replace('|[^a-z0-9_]|i', '', $option);
    207206    if ( empty($user) )
    208207        $user = wp_get_current_user();
     
    238237function update_user_option( $user_id, $option_name, $newvalue, $global = false ) {
    239238    global $wpdb;
     239
    240240    if ( !$global )
    241241        $option_name = $wpdb->prefix . $option_name;
Note: See TracChangeset for help on using the changeset viewer.