Plugin Directory

Changeset 3214692


Ignore:
Timestamp:
12/30/2024 08:30:39 AM (12 months ago)
Author:
donmhico
Message:

WP Mail Logging v1.14.0

Location:
wp-mail-logging
Files:
169 added
8 edited

Legend:

Unmodified
Added
Removed
  • wp-mail-logging/trunk/assets/languages/wp-mail-logging.pot

    r3166181 r3214692  
    11msgid ""
    22msgstr ""
    3 "Project-Id-Version: WP Mail Logging 1.13.1\n"
     3"Project-Id-Version: WP Mail Logging 1.14.0\n"
    44"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-mail-logging\n"
    55"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    88"Content-Type: text/plain; charset=UTF-8\n"
    99"Content-Transfer-Encoding: 8bit\n"
    10 "POT-Creation-Date: 2024-10-10T03:46:09+00:00\n"
     10"POT-Creation-Date: 2024-12-23T04:41:03+00:00\n"
    1111"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1212"X-Generator: WP-CLI 2.8.1\n"
     
    472472
    473473#: src/Renderer/Format/BaseRenderer.php:41
    474 #: src/Renderer/WPML_ColumnManager.php:34
     474#: src/Renderer/WPML_ColumnManager.php:44
    475475msgid "Time"
    476476msgstr ""
    477477
    478478#: src/Renderer/Format/BaseRenderer.php:42
    479 #: src/Renderer/WPML_ColumnManager.php:36
     479#: src/Renderer/WPML_ColumnManager.php:46
    480480msgid "Receiver"
    481481msgstr ""
    482482
    483483#: src/Renderer/Format/BaseRenderer.php:43
    484 #: src/Renderer/WPML_ColumnManager.php:37
     484#: src/Renderer/WPML_ColumnManager.php:47
    485485msgid "Subject"
    486486msgstr ""
    487487
    488488#: src/Renderer/Format/BaseRenderer.php:44
    489 #: src/Renderer/WPML_ColumnManager.php:39
     489#: src/Renderer/WPML_ColumnManager.php:49
    490490msgid "Error"
    491491msgstr ""
     
    496496
    497497#: src/Renderer/Format/BaseRenderer.php:47
    498 #: src/Renderer/WPML_ColumnManager.php:38
     498#: src/Renderer/WPML_ColumnManager.php:48
    499499msgid "Attachments"
    500500msgstr ""
    501501
    502502#: src/Renderer/Format/BaseRenderer.php:53
    503 #: src/Renderer/WPML_ColumnManager.php:35
     503#: src/Renderer/WPML_ColumnManager.php:45
    504504msgid "Host"
    505505msgstr ""
     
    510510msgstr ""
    511511
    512 #: src/Renderer/WPML_ColumnManager.php:33
     512#: src/Renderer/WPML_ColumnManager.php:43
    513513msgid "ID"
    514514msgstr ""
  • wp-mail-logging/trunk/readme.txt

    r3166181 r3214692  
    55License URI: http://www.gnu.org/licenses/gpl-3.0.html
    66Requires at least: 5.0
    7 Tested up to: 6.6
     7Tested up to: 6.7
    88Requires PHP: 7.1
    9 Stable tag: 1.13.1
     9Stable tag: 1.14.0
    1010
    1111Log, view, and resend all emails sent from your WordPress site. Great for resolving email sending issues or keeping a copy for auditing.
     
    109109
    110110== Changelog ==
     111= 1.14.0 - 2024-12-30 =
     112Fixed: PHP warning notice when another plugin or code snippet passed an associative array to `WPML_Plugin::get_mail_headers()`.
     113Fixed: PHP warning notice on non-english locale WP configuration.
     114Fixed: PHP warning notice when another plugin passed a non-array variable to the filter `plugin_action_links` and `wp_kses_allowed_html`.
     115
    111116= 1.13.1 - 2024-10-10 =
    112117Added: Action hook when saving email logs.
  • wp-mail-logging/trunk/src/Renderer/WPML_ColumnManager.php

    r2929157 r3214692  
    3030     */
    3131    public function __construct() {
     32
     33    }
     34
     35    /**
     36     * Setup the columns.
     37     *
     38     * @since 1.14.0
     39     */
     40    private function setupColumns() {
     41
    3242        $this->columns = [
    3343            self::COLUMN_MAIL_ID     => __( 'ID', 'wp-mail-logging' ),
     
    6171
    6272    public function getColumns() {
     73
     74        if ( empty( $this->columns ) ) {
     75            $this->setupColumns();
     76        }
     77
    6378        return $this->columns;
    6479    }
  • wp-mail-logging/trunk/src/WPML_LifeCycle.php

    r3164976 r3214692  
    203203            $admin_url = add_query_arg( 'tab', 'settings', WPML_Utils::get_admin_page_url() );
    204204            $settings  = array('settings' => '<a href="' . esc_url( $admin_url ) . '">' . __( 'Settings', 'wp-mail-logging' ) . '</a>' );
    205             $actions   = array_merge($settings, $actions);
     205
     206            if ( ! is_array( $actions ) ) {
     207                $actions = [];
     208            }
     209
     210            $actions = array_merge( $settings, $actions );
    206211        }
    207212        return $actions;
  • wp-mail-logging/trunk/src/WPML_MessageSanitizer.php

    r2187843 r3214692  
    4949    private function stripEvilCode() {
    5050        $allowed_tags = wp_kses_allowed_html( 'post' );
     51
     52        if ( ! is_array( $allowed_tags ) ) {
     53            $allowed_tags = [];
     54        }
     55
    5156        $allowed_tags['style'][''] = true;
    5257        $allowed_tags[self::SAVED_COMMENT_HTMLEntity_OPEN][''] = true;
  • wp-mail-logging/trunk/src/WPML_Plugin.php

    r3166181 r3214692  
    584584        $should_force_add_content_type = true;
    585585
    586         for ( $ctr = 0; $ctr < count( $mail_headers ); $ctr++ ) {
    587             $header_arr = explode( ":", $mail_headers[ $ctr ] );
     586        foreach ( $mail_headers as $mail_header ) {
     587            $header_arr = explode( ":", $mail_header );
    588588
    589589            // If Content-Type header is already set, don't add it again.
  • wp-mail-logging/trunk/vendor/composer/installed.php

    r3166181 r3214692  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '78981966fd06134e4d31d5c69eaea22a46b85237',
     6        'reference' => '9c1c009e987a1f737fd7f6291eac41d31d7942d6',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-master',
    1515            'version' => 'dev-master',
    16             'reference' => '78981966fd06134e4d31d5c69eaea22a46b85237',
     16            'reference' => '9c1c009e987a1f737fd7f6291eac41d31d7942d6',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • wp-mail-logging/trunk/wp-mail-logging.php

    r3166181 r3214692  
    33 * Plugin Name: WP Mail Logging
    44 * Plugin URI: https://wordpress.org/plugins/wp-mail-logging/
    5  * Version: 1.13.1
     5 * Version: 1.14.0
    66 * Requires at least: 5.0
    77 * Requires PHP: 7.1
     
    6464
    6565// First initialize i18n
    66 WPML_i18n_init();
     66add_action( 'init', __NAMESPACE__ .'\WPML_i18n_init' );
    6767
    6868
Note: See TracChangeset for help on using the changeset viewer.