function openid_activate_wpmu() { global $wpmu_version; if ($wpmu_version && is_admin()) { if (get_option('openid_db_revision') != OPENID_DB_REVISION) { openid_activate_plugin(); } } }
if (file_exists(dirname(__FILE__) . '/openid')) { // for WPMU mu-plugins folder $openid_include_path .= PATH_SEPARATOR . dirname(__FILE__) . '/openid'; } set_include_path($openid_include_path . PATH_SEPARATOR . get_include_path()); require_once 'common.php'; require_once 'compatibility.php'; require_once 'admin_panels.php'; require_once 'comments.php'; require_once 'login.php'; require_once 'server.php'; require_once 'store.php'; restore_include_path(); // run activation function if new revision of plugin if (get_option('openid_plugin_revision') !== false && OPENID_PLUGIN_REVISION != get_option('openid_plugin_revision')) { openid_activate_plugin(); } // -- public functions /** * Check if the user has any OpenIDs. * * @param mixed $user the username or ID. If not provided, the current user will be used. * @return bool true if the user has any OpenIDs * @since 1.0 */ function is_user_openid($user = null) { $urls = get_user_openids($user); return !empty($urls); } /**