Plugin Directory

Changeset 2513674


Ignore:
Timestamp:
04/13/2021 02:02:31 AM (5 years ago)
Author:
sudar
Message:

Release v2.4.5

Location:
email-log/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • email-log/trunk/email-log.php

    r2504622 r2513674  
    66 * Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
    77 * Author: Sudar
    8  * Version: 2.4.4
     8 * Version: 2.4.5
    99 * Author URI: http://sudarmuthu.com/
    1010 * Text Domain: email-log
  • email-log/trunk/include/Addon/EmailLogAddon.php

    r2253545 r2513674  
    5050     */
    5151    public function load() {
     52        if ( \EmailLog\Util\is_admin_non_ajax_request() ) {
     53            $email_log = email_log();
     54
     55            if ( ! $email_log->is_plugin_api_overridden() ) {
     56                $override_plugin_api = new \EmailLog\Core\Request\OverridePluginAPI();
     57                $override_plugin_api->load();
     58
     59                $email_log->plugin_api_overridden();
     60            }
     61        }
     62
    5263        if ( is_null( $this->updater ) ) {
    5364            return;
  • email-log/trunk/include/Core/EmailLog.php

    r2504622 r2513674  
    1818     * @var string
    1919     */
    20     const VERSION = '2.4.4';
     20    const VERSION = '2.4.5';
    2121
    2222    /**
     
    3434     */
    3535    private $loaded = false;
     36
     37    /**
     38     * Flag to override plugin API.
     39     *
     40     * @since 2.4.5
     41     * @access private
     42     *
     43     * @var bool
     44     */
     45    private $plugins_api_overridden = false;
    3646
    3747    /**
     
    173183
    174184    /**
     185     * Plugin API has been overridden.
     186     *
     187     * @since 2.4.5
     188     */
     189    public function plugin_api_overridden() {
     190        $this->plugins_api_overridden = true;
     191    }
     192
     193    /**
     194     * Has the plugin API have been overridden?
     195     *
     196     * @since 2.4.5
     197     *
     198     * @return bool True if overridden, False otherwise.
     199     */
     200    public function is_plugin_api_overridden() {
     201        return $this->plugins_api_overridden;
     202    }
     203
     204    /**
    175205     * Return Email Log version.
    176206     *
  • email-log/trunk/languages/email-log.pot

    r2504622 r2513674  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Email Log 2.4.4\n"
     5"Project-Id-Version: Email Log 2.4.5\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/email-log\n"
    7 "POT-Creation-Date: 2021-03-28 03:54:23+00:00\n"
     7"POT-Creation-Date: 2021-04-13 02:00:18+00:00\n"
    88"MIME-Version: 1.0\n"
    99"Content-Type: text/plain; charset=utf-8\n"
  • email-log/trunk/load-email-log.php

    r2335530 r2513674  
    4848        $email_log->add_loadie( new \EmailLog\Addon\Upseller() );
    4949        $email_log->add_loadie( new \EmailLog\Addon\DependencyEnforcer() );
    50         $email_log->add_loadie( new \EmailLog\Core\Request\OverridePluginAPI() );
    5150    }
    5251
  • email-log/trunk/readme.txt

    r2504622 r2513674  
    55Requires at least: 4.0 
    66Tested up to: 5.7 
    7 Stable tag: 2.4.4 
     7Stable tag: 2.4.5 
    88
    99Log and view all outgoing emails from WordPress. Very useful if you have to debug email related problems or have to store sent emails for auditing.
     
    133133This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/wp-readme'>wp-readme</a>, which generates readme files for WordPress Plugins.
    134134== Changelog ==
     135
     136= v2.4.5 – (2021-04-13) =
     137- Fix: Don't override WordPress plugin update in base plugin.
    135138
    136139= v2.4.4 – (2021-03-28) =
     
    356359== Upgrade Notice ==
    357360
     361= 2.4.5 =
     362Improved admin performance and reduced network calls.
     363
    358364= 2.4.1 =
    359365Starting v2.4.0 the plugin now captures the error message when an email fails to be delivered.
Note: See TracChangeset for help on using the changeset viewer.