From ef31136d22d34a02d4a7cc5a128b7f6ad1d0e624 Mon Sep 17 00:00:00 2001 From: Mashiro Date: Sun, 19 May 2019 16:35:20 +0800 Subject: [PATCH] fix registration --- functions.php | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/functions.php b/functions.php index c7bbabe..298d240 100644 --- a/functions.php +++ b/functions.php @@ -1368,31 +1368,6 @@ add_action('admin_footer', 'custom_admin_js'); /* * 后台通知 */ -function notice_welcome() { - ?> -
-

-
- ID, '_new_user', true); - if ($new_user) { - update_user_meta($user->ID, '_new_user', '0'); - - // do something for first login.. e.g., send a custom email - add_action( 'admin_notices', 'notice_welcome' ); - } -} -add_action('wp_login', 'shapeSpace_first_user_login', 10, 2); - function recommend_light() { $msg = 'Strongly recommend "Light" Scheme.'; if ( get_user_locale( get_current_user_id() ) == "zh_CN") {