Plugin Directory

Changeset 3341499


Ignore:
Timestamp:
08/08/2025 09:30:49 AM (7 months ago)
Author:
sendsmaily
Message:

Release 1.0.11, see readme.txt for the changelog.

Location:
smaily-for-contact-form-7
Files:
1 added
19 edited
1 copied

Legend:

Unmodified
Added
Removed
  • smaily-for-contact-form-7/tags/1.0.11/README.txt

    r3266072 r3341499  
    55Requires at least: 4.6
    66Tested up to: 6.7
    7 Stable tag: 1.0.10
     7Stable tag: 1.0.11
    88License: GPLv3
    99
    1010Flexible and straightforward Smaily newsletter integration for Contact Form 7.
     11
     12=== Smaily for Contact Form 7 — Deprecation notice ===
     13
     14Smaily for Contact Form 7 is officially deprecated. It is no longer maintained, and no further updates or security patches will be provided.
     15
     16We have released Smaily Connect, a new plugin that combines support for WordPress, WooCommerce, Contact Form 7, and Elementor in a single package.
     17
     18Please migrate now!
     19
     20In your WordPress admin go to Plugins → Installed Plugins.
     21Deactivate and Delete Smaily for Contact Form 7.
     22Go to Plugins → Add New, search for “Smaily Connect”, then Install and Activate.
     23Open Smaily Connect and re-connect your Smaily account (subdomain, API user, API password).
     24
     25For assistance, contact [email protected].
     26
     27[Smaily Connect](https://wordpress.org/plugins/smaily-connect/)
    1128
    1229== Description ==
     
    6683== Changelog ==
    6784
     85### 1.0.11
     86
     87- Deprecation notice!
     88
     89This plugin is no longer maintained. Please switch to the new Smaily Connect plugin.
     90https://wordpress.org/plugins/smaily-connect/
     91
    6892### 1.0.10
    6993
  • smaily-for-contact-form-7/tags/1.0.11/admin/class-smaily-for-cf7-admin.php

    r2669912 r3341499  
    4747        $this->plugin_name = $plugin_name;
    4848        $this->version     = $version;
     49    }
     50
     51    /**
     52     * Add deprecation notice to plugins list.
     53     *
     54     * @param array  $plugin_meta An array of the plugin's metadata.
     55     * @param string $plugin_file Path to the plugin file relative to the plugins directory.
     56     * @param array  $plugin_data An array of plugin data.
     57     * @param string $status      Status filter currently applied to the plugin list.
     58     * @return array Modified plugin metadata.
     59     */
     60    public function add_plugin_row_deprecation_notice( $plugin_meta, $plugin_file, $plugin_data, $status ) {
     61        $smaily_cf7_basename = plugin_basename( SMAILY_FOR_CF7_PLUGIN_FILE );
     62
     63        if ( $plugin_file !== $smaily_cf7_basename || ! current_user_can( 'activate_plugins' ) ) {
     64            return $plugin_meta;
     65        }
     66
     67        $notice = sprintf(
     68            '<p style="margin-top: 10px;"><span style="color: #d63638; font-weight: bold; font-size: 1.2em;">%s</span><br/><a href="%s" target="_blank">%s</a></p>',
     69            esc_html__( 'This plugin is deprecated!', 'smaily-for-contact-form-7' ),
     70            'https://wordpress.org/plugins/smaily-connect/',
     71            esc_html__( 'Switch to Smaily Connect', 'smaily-for-contact-form-7' )
     72        );
     73
     74        $plugin_meta[] = $notice;
     75
     76        return $plugin_meta;
     77    }
     78
     79    /**
     80     * Show admin notices.
     81     *
     82     * @since 1.0.11
     83     */
     84    public function smaily_admin_notices() {
     85        if ( current_user_can( 'manage_options' ) ) {
     86            if ( get_user_meta( get_current_user_id(), 'smaily_for_cf7_deprecation_notice_dismissed', true ) ) {
     87                return;
     88            }
     89            ?>
     90            <div id="smaily-for-cf7-admin-deprecation-notice" class="notice notice-warning is-dismissible">
     91                <p>
     92                    <strong>
     93                        <?php esc_html_e( 'DEPRECATION NOTICE', 'smaily-for-contact-form-7' ); ?>
     94                    </strong>
     95                </p>
     96                <p>
     97                    <?php esc_html_e( 'Smaily for Contact Form 7 is officially deprecated and will no longer receive updates or security patches.', 'smaily-for-contact-form-7' ); ?>
     98                </p>
     99                <p>
     100                    <?php esc_html_e( 'Please uninstall this plugin and switch to Smaily Connect — our new, combined plugin with support for WordPress, WooCommerce, Contact Form 7 and Elementor.', 'smaily-for-contact-form-7' ); ?>
     101                </p>
     102                <p>
     103                    <?php esc_html_e( 'Next steps: Deactivate and delete Smaily for Contact Form 7 → install Smaily Connect → reconnect your Smaily account.', 'smaily-for-contact-form-7' ); ?>
     104                </p>
     105                <p>
     106                    <a href="https://wordpress.org/plugins/smaily-connect/" target="_blank" rel="noopener noreferrer">
     107                        <?php esc_html_e( 'Get Smaily Connect', 'smaily-for-contact-form-7' ); ?>
     108                    </a>
     109                </p>
     110            </div>
     111            <script>
     112                jQuery(document).ready(function($){
     113                    $('#smaily-for-cf7-admin-deprecation-notice').on('click', '.notice-dismiss', function() {
     114                        // Dismiss the notice via AJAX.
     115                        $.post(
     116                            ajaxurl,
     117                            {
     118                                action: 'smaily_for_cf7_dismiss_deprecation_notice',
     119                                nonce: '<?php echo wp_create_nonce( 'smaily_for_cf7_dismiss_deprecation_notice' ); ?>'
     120                            },
     121                            function(response) {
     122                                if (response.success) {
     123                                    $('#smaily-for-cf7-admin-deprecation-notice').fadeOut();
     124                                }
     125                            }
     126                        );
     127                    });
     128                });
     129            </script>
     130            <?php
     131        }
     132    }
     133
     134    /**
     135     * Handle the dismissal of the deprecation notice.
     136     *
     137     * @since 1.0.11
     138     */
     139    public function smaily_dismiss_deprecation_notice() {
     140        if ( ! wp_verify_nonce( $_POST['nonce'], 'smaily_for_cf7_dismiss_deprecation_notice' ) ) {
     141            wp_die( 'Invalid nonce.' );
     142        }
     143
     144        if ( ! current_user_can( 'manage_options' ) ) {
     145            wp_die( 'Unauthorized user.' );
     146        }
     147
     148        update_user_meta( get_current_user_id(), 'smaily_for_cf7_deprecation_notice_dismissed', true );
     149        wp_send_json_success();
    49150    }
    50151
  • smaily-for-contact-form-7/tags/1.0.11/includes/class-smaily-for-cf7.php

    r2322355 r3341499  
    125125        $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' );
    126126
     127        $this->loader->add_action( 'admin_notices', $plugin_admin, 'smaily_admin_notices' );
     128        $this->loader->add_filter( 'plugin_row_meta', $plugin_admin, 'add_plugin_row_deprecation_notice', 10, 4 );
     129
    127130        $this->loader->add_action( 'wpcf7_after_save', $plugin_admin, 'save' );
    128131        $this->loader->add_action( 'wpcf7_editor_panels', $plugin_admin, 'add_tab', -1 );
     
    133136        $this->loader->add_action( 'wp_ajax_remove_credentials_callback', $plugin_admin, 'remove_credentials_callback' );
    134137        $this->loader->add_action( 'wp_ajax_nopriv_remove_credentials_callback', $plugin_admin, 'remove_credentials_callback' );
     138
     139        $this->loader->add_action( 'wp_ajax_smaily_for_cf7_dismiss_deprecation_notice', $plugin_admin, 'smaily_dismiss_deprecation_notice' );
    135140    }
    136141
  • smaily-for-contact-form-7/tags/1.0.11/languages/smaily-for-contact-form-7-et.po

    r2886307 r3341499  
    77"contact-form-7/POT-Creation-Date: 2020-06-10 18:59+0300\n"
    88"POT-Creation-Date: 2023-03-24 12:32+0200\n"
    9 "PO-Revision-Date: 2023-03-24 12:32+0200\n"
    10 "Last-Translator: Tom <[email protected]>\n"
    11 "Language-Team: Smaily\n"
     9"PO-Revision-Date: 2025-08-07 07:43+0000\n"
     10"Last-Translator: \n"
     11"Language-Team: Eesti\n"
    1212"Language: et\n"
    1313"MIME-Version: 1.0\n"
     
    1515"Content-Transfer-Encoding: 8bit\n"
    1616"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    17 "X-Generator: Poedit 3.2.2\n"
     17"X-Generator: Loco https://localise.biz/\n"
    1818"X-Domain: smaily-for-contact-form-7\n"
    1919"X-Poedit-Basepath: ..\n"
    2020"X-Poedit-KeywordsList: __;esc_html__;_e;esc_html_e;_n\n"
    2121"X-Poedit-SearchPath-0: .\n"
    22 
    23 #: admin/class-smaily-for-cf7-admin.php:203
     22"X-Loco-Version: 2.8.0; wp-6.7.2; php-8.0.28"
     23
     24#. Description of the plugin
     25msgid ""
     26"[DEPRECATED] Smaily for Contact Form 7 is deprecated. Please use the new "
     27"Smaily Connect plugin instead."
     28msgstr ""
     29"[AEGUNUD] Smaily Contact Form 7 plugin on ametlikult aegunud. Palun kasutage "
     30"selle asemel uut Smaily Connect pluginat."
     31
     32#: admin/partials/smaily-for-cf7-admin-display.php:77
     33msgid "API Password"
     34msgstr "API Salasõna"
     35
     36#: admin/partials/smaily-for-cf7-admin-display.php:70
     37msgid "API Username"
     38msgstr "API Kasutajatunnus"
     39
     40#: admin/partials/smaily-for-cf7-admin-display.php:25
     41msgid "Autoresponder"
     42msgstr "Automaatvastaja"
     43
     44#: admin/partials/smaily-for-cf7-admin-display.php:51
     45msgid "Captcha disabled. Please use a captcha if this is a public site."
     46msgstr "Captcha keelatud. Palun kasuta Captchat kui see on avalik leht."
     47
     48#: admin/partials/smaily-for-cf7-admin-display.php:13
     49msgid ""
     50"Configuring Smaily integration is disabled when using \"Add New Form\". "
     51"Please save this form or edit an already existing form"
     52msgstr ""
     53"\"Add New Form\" kasutamisel ei ole võimalik Smaily moodulit seadistada. "
     54"Palun salvesta käesolev vorm või seadista eelnevalt loodud vormi"
     55
     56#: admin/partials/smaily-for-cf7-admin-display.php:48
     57msgid "Connect form with Smaily"
     58msgstr "Ühenda form Smaily'ga"
     59
     60#: smaily-for-contact-form-7.php:87
     61msgid ""
     62"Contact Form 7 is needed to function properly. Is Contact Form 7 installed "
     63"and activated?"
     64msgstr ""
     65"Contact Form 7 pisikmoodul on vajalik Smaily mooduli toimimiseks. Kas "
     66"Contact Form 7 moodul on paigaldatud ja aktiveeritud?"
     67
     68#: public/class-smaily-for-cf7-public.php:192
     69msgid "Could not add to subscriber list for an unknown reason."
     70msgstr "Ei suutnud lisada uudiskirja nimekirja teadmata põhjusel."
     71
     72#: admin/class-smaily-for-cf7-admin.php:423
     73msgid "Credentials removed"
     74msgstr "Kasutajatunnused eemaldatud"
     75
     76#: admin/class-smaily-for-cf7-admin.php:338
     77msgid "Credentials valid"
     78msgstr "Kasutajatunnused õiged"
     79
     80#: admin/class-smaily-for-cf7-admin.php:93
     81msgid "DEPRECATION NOTICE"
     82msgstr "TOETUSE LÕPETAMISE TEADE"
     83
     84#: admin/class-smaily-for-cf7-admin.php:344
     85msgid "Error in subdomain"
     86msgstr "Viga alamdomeenis"
     87
     88#: public/class-smaily-for-cf7-public.php:183
     89msgid "Form was not submitted using POST method."
     90msgstr "Andmeid peab saatma POST tegevusviisiga."
     91
     92#: admin/class-smaily-for-cf7-admin.php:107
     93msgid "Get Smaily Connect"
     94msgstr "Proovi Smaily Connect-i"
     95
     96#. URI of the plugin
     97msgid "https://github.com/sendsmaily/smaily-cf7-plugin"
     98msgstr "https://github.com/sendsmaily/smaily-cf7-plugin"
     99
     100#. Author URI of the plugin
     101msgid "https://smaily.com/"
     102msgstr "https://smaily.com/"
     103
     104#: public/class-smaily-for-cf7-public.php:189
     105msgid "Input does not contain a valid email address."
     106msgstr "Sisend ei sisalda tuntavat emaili aadressi."
     107
     108#: public/class-smaily-for-cf7-public.php:186
     109msgid "Invalid data submitted."
     110msgstr "Esitati vigased andmed"
     111
     112#: admin/class-smaily-for-cf7-admin.php:103
     113msgid ""
     114"Next steps: Deactivate and delete Smaily for Contact Form 7 → install Smaily "
     115"Connect → reconnect your Smaily account."
     116msgstr ""
     117"Järgmised sammud: Deaktiveeri ja kustuta Smaily Contact Form 7 plugin → "
     118"paigalda Smaily Connect → ühenda Smaily kontoga."
     119
     120#: admin/partials/smaily-for-cf7-admin-display.php:29
     121msgid "No autoresponder"
     122msgstr "Ilma automaatvastajata"
     123
     124#: admin/class-smaily-for-cf7-admin.php:426
     125msgid "No credentials to remove"
     126msgstr "Kasutajatunnuseid ei eksisteeri"
     127
     128#: admin/class-smaily-for-cf7-admin.php:331
     129msgid "No response from Smaily"
     130msgstr "Smaily'lt vastust ei saadud"
     131
     132#: admin/class-smaily-for-cf7-admin.php:390
     133msgid "Please fill out all fields!"
     134msgstr "Palun täida kõik väljad!"
     135
     136#: admin/class-smaily-for-cf7-admin.php:100
     137msgid ""
     138"Please uninstall this plugin and switch to Smaily Connect — our new, "
     139"combined plugin with support for WordPress, WooCommerce, Contact Form 7 and "
     140"Elementor."
     141msgstr ""
     142"Palun deaktiveeri ja kustuta see plugin ning paigalda Smaily Connect – meie "
     143"uus ühend-plugin, mis toetab WordPressi, WooCommerce’i, Contact Form 7 ja "
     144"Elementorit."
     145
     146#: admin/partials/smaily-for-cf7-admin-display.php:44
     147msgid "Reset credentials"
     148msgstr "Lähtesta kasutajatunnused"
     149
     150#: admin/partials/smaily-for-cf7-admin-display.php:55
     151msgid "Saved credentials invalid."
     152msgstr "Salvestatud kasutajatunnused valed."
     153
     154#. Author of the plugin
     155msgid "Smaily"
     156msgstr "Smaily"
     157
     158#. Name of the plugin
     159#: admin/class-smaily-for-cf7-admin.php:304
    24160msgid "Smaily for Contact Form 7"
    25161msgstr "Smaily for Contact Form 7"
    26162
    27 #: admin/class-smaily-for-cf7-admin.php:230
    28 msgid "No response from Smaily"
    29 msgstr "Smaily'lt vastust ei saadud"
    30 
    31 #: admin/class-smaily-for-cf7-admin.php:237
    32 msgid "Credentials valid"
    33 msgstr "Kasutajatunnused õiged"
    34 
    35 #: admin/class-smaily-for-cf7-admin.php:240
     163#: admin/class-smaily-for-cf7-admin.php:97
     164msgid ""
     165"Smaily for Contact Form 7 is officially deprecated and will no longer "
     166"receive updates or security patches."
     167msgstr ""
     168"Smaily Contact Form 7 plugin on ametlikult aegunud. Seda ei hooldata enam "
     169"ning uuendusi ega turvaparandusi ei pakuta."
     170
     171#: public/class-smaily-for-cf7-public.php:179
     172#: public/class-smaily-for-cf7-public.php:195
     173#: admin/class-smaily-for-cf7-admin.php:347
     174msgid "Something went wrong"
     175msgstr "Midagi läks valesti"
     176
     177#: admin/partials/smaily-for-cf7-admin-display.php:60
     178msgid "Subdomain"
     179msgstr "Alamdomeen"
     180
     181#: admin/class-smaily-for-cf7-admin.php:71
     182msgid "Switch to Smaily Connect"
     183msgstr "Uuenda Smaily Connect-ile"
     184
     185#: admin/class-smaily-for-cf7-admin.php:69
     186msgid "This plugin is deprecated!"
     187msgstr "See plugin on aegunud!"
     188
     189#: admin/partials/smaily-for-cf7-admin-display.php:90
     190msgid "Verify credentials"
     191msgstr "Valideeri kasutajatunnused"
     192
     193#: admin/class-smaily-for-cf7-admin.php:341
    36194msgid "Wrong credentials"
    37195msgstr "Valed kasutajatunnused"
    38196
    39 #: admin/class-smaily-for-cf7-admin.php:243
    40 msgid "Error in subdomain"
    41 msgstr "Viga alamdomeenis"
    42 
    43 #: admin/class-smaily-for-cf7-admin.php:246
    44 #: public/class-smaily-for-cf7-public.php:177
    45 #: public/class-smaily-for-cf7-public.php:190
    46 msgid "Something went wrong"
    47 msgstr "Midagi läks valesti"
    48 
    49 #: admin/class-smaily-for-cf7-admin.php:272
    50 msgid "Your nonce did not verify!"
    51 msgstr "Sinu nonce ei ole kinnitatav!"
    52 
    53 #: admin/class-smaily-for-cf7-admin.php:276
    54 #: admin/class-smaily-for-cf7-admin.php:316
     197#: admin/class-smaily-for-cf7-admin.php:377
     198#: admin/class-smaily-for-cf7-admin.php:417
    55199msgid "You do not have permission!"
    56200msgstr "Teil ei ole selle jaoks luba!"
    57 
    58 #: admin/class-smaily-for-cf7-admin.php:289
    59 msgid "Please fill out all fields!"
    60 msgstr "Palun täida kõik väljad!"
    61 
    62 #: admin/class-smaily-for-cf7-admin.php:322
    63 msgid "Credentials removed"
    64 msgstr "Kasutajatunnused eemaldatud"
    65 
    66 #: admin/class-smaily-for-cf7-admin.php:325
    67 msgid "No credentials to remove"
    68 msgstr "Kasutajatunnuseid ei eksisteeri"
    69 
    70 #: admin/partials/smaily-for-cf7-admin-display.php:14
    71 msgid ""
    72 "Configuring Smaily integration is disabled when using \"Add New Form\". "
    73 "Please save this form or edit an already existing form"
    74 msgstr ""
    75 "\"Add New Form\" kasutamisel ei ole võimalik Smaily moodulit seadistada. "
    76 "Palun salvesta käesolev vorm või seadista eelnevalt loodud vormi"
    77201
    78202#: admin/partials/smaily-for-cf7-admin-display.php:22
     
    80204msgstr "Sinu kasutajatunnused on õiged"
    81205
    82 #: admin/partials/smaily-for-cf7-admin-display.php:25
    83 msgid "Autoresponder"
    84 msgstr "Automaatvastaja"
    85 
    86 #: admin/partials/smaily-for-cf7-admin-display.php:29
    87 msgid "No autoresponder"
    88 msgstr "Ilma automaatvastajata"
    89 
    90 #: admin/partials/smaily-for-cf7-admin-display.php:44
    91 msgid "Reset credentials"
    92 msgstr "Lähtesta kasutajatunnused"
    93 
    94 #: admin/partials/smaily-for-cf7-admin-display.php:48
    95 msgid "Connect form with Smaily"
    96 msgstr "Ühenda form Smaily'ga"
    97 
    98 #: admin/partials/smaily-for-cf7-admin-display.php:51
    99 msgid "Captcha disabled. Please use a captcha if this is a public site."
    100 msgstr "Captcha keelatud. Palun kasuta Captchat kui see on avalik leht."
    101 
    102 #: admin/partials/smaily-for-cf7-admin-display.php:55
    103 msgid "Saved credentials invalid."
    104 msgstr "Salvestatud kasutajatunnused valed."
    105 
    106 #: admin/partials/smaily-for-cf7-admin-display.php:60
    107 msgid "Subdomain"
    108 msgstr "Alamdomeen"
    109 
    110 #: admin/partials/smaily-for-cf7-admin-display.php:70
    111 msgid "API Username"
    112 msgstr "API Kasutajatunnus"
    113 
    114 #: admin/partials/smaily-for-cf7-admin-display.php:77
    115 msgid "API Password"
    116 msgstr "API Salasõna"
    117 
    118 #: admin/partials/smaily-for-cf7-admin-display.php:90
    119 msgid "Verify credentials"
    120 msgstr "Valideeri kasutajatunnused"
    121 
    122 #: public/class-smaily-for-cf7-public.php:61
    123 msgid ""
    124 "Smaily for CF7 requires Transliterator extension. Please install php-intl "
    125 "package and try again."
    126 msgstr ""
    127 "Smaily for CF7 aktiveerimiseks on vaja Transliterator laiendust. Palun "
    128 "installeeri php-intl pakett ja proovi uuesti."
    129 
    130 #: public/class-smaily-for-cf7-public.php:181
    131 msgid "Form was not submitted using POST method."
    132 msgstr "Andmeid peab saatma POST tegevusviisiga."
    133 
    134 #: public/class-smaily-for-cf7-public.php:184
    135 msgid "Input does not contain a valid email address."
    136 msgstr "Sisend ei sisalda tuntavat emaili aadressi."
    137 
    138 #: public/class-smaily-for-cf7-public.php:187
    139 msgid "Could not add to subscriber list for an unknown reason."
    140 msgstr "Ei suutnud lisada uudiskirja nimekirja teadmata põhjusel."
    141 
    142 #: smaily-for-contact-form-7.php:74
    143 msgid ""
    144 "Smaily for Contact Form 7 is not able to activate. Contact Form 7 is needed "
    145 "to function properly. Is Contact Form 7 installed and activated?"
    146 msgstr ""
    147 "Smaily for Contact Form 7 ei suuda aktiveerida. Moodul nõuab käivitamiseks "
    148 "Contact Form 7-et. Kas see on installeeritud ja aktiveeritud?"
     206#: admin/class-smaily-for-cf7-admin.php:373
     207msgid "Your nonce did not verify!"
     208msgstr "Sinu nonce ei ole kinnitatav!"
  • smaily-for-contact-form-7/tags/1.0.11/smaily-for-contact-form-7.php

    r3266072 r3341499  
    1515 * Plugin Name: Smaily for Contact Form 7
    1616 * Plugin URI: https://github.com/sendsmaily/smaily-cf7-plugin
    17  * Description: Integrate Contact Form 7 form(s) with Smaily to add subscribers directly to Smaily and trigger marketing automations.
    18  * Version: 1.0.10
     17 * Description: [DEPRECATED] Smaily for Contact Form 7 is deprecated. Please use the new Smaily Connect plugin instead.
     18 * Version: 1.0.11
    1919 * License: GPL3
    2020 * Author: Smaily
    2121 * Author URI: https://smaily.com/
    2222 * Text Domain: smaily-for-contact-form-7
    23  * Domain Path: languages
     23 * Domain Path: /languages
    2424 *
    2525 * Smaily for Contact Form 7 is free software: you can redistribute it and/or modify
     
    4343require_once ABSPATH . 'wp-admin/includes/plugin.php';
    4444
    45 define( 'SMAILY_FOR_CF7_VERSION', '1.0.10' );
     45define( 'SMAILY_FOR_CF7_VERSION', '1.0.11' );
     46define( 'SMAILY_FOR_CF7_PLUGIN_FILE', __FILE__ );
     47define( 'SMAILY_FOR_CF7_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
     48
     49register_deactivation_hook( __FILE__, 'smaily_for_cf7_deactivate' );
     50/**
     51 * Deactivation function for the plugin.
     52 *
     53 * This function is called when the plugin is deactivated.
     54 *
     55 * @since 1.0.11
     56 */
     57function smaily_for_cf7_deactivate() {
     58    // Show a deprecation notice on subsequent activations.
     59    delete_metadata( 'user', 0, 'smaily_for_cf7_deprecation_notice_dismissed', '', true );
     60}
    4661
    4762/**
     
    5772 */
    5873function smaily_for_cf7_load_textdomain() {
    59     load_plugin_textdomain( 'smaily-for-contact-form-7', false, plugin_dir_path( __FILE__ ) . '/languages/' );
     74    load_plugin_textdomain( 'smaily-for-contact-form-7', false, plugin_basename( SMAILY_FOR_CF7_PLUGIN_PATH ) . '/languages/' );
    6075}
    6176add_action( 'plugins_loaded', 'smaily_for_cf7_load_textdomain' );
  • smaily-for-contact-form-7/tags/1.0.11/vendor/autoload.php

    r3266072 r3341499  
    1515        }
    1616    }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
     17    throw new RuntimeException($err);
    2118}
    2219
  • smaily-for-contact-form-7/tags/1.0.11/vendor/composer/InstalledVersions.php

    r3266072 r3341499  
    2727class InstalledVersions
    2828{
     29    /**
     30     * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to
     31     * @internal
     32     */
     33    private static $selfDir = null;
     34
    2935    /**
    3036     * @var mixed[]|null
     
    324330
    325331    /**
     332     * @return string
     333     */
     334    private static function getSelfDir()
     335    {
     336        if (self::$selfDir === null) {
     337            self::$selfDir = strtr(__DIR__, '\\', '/');
     338        }
     339
     340        return self::$selfDir;
     341    }
     342
     343    /**
    326344     * @return array[]
    327345     * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
     
    337355
    338356        if (self::$canGetVendors) {
    339             $selfDir = strtr(__DIR__, '\\', '/');
     357            $selfDir = self::getSelfDir();
    340358            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
    341359                $vendorDir = strtr($vendorDir, '\\', '/');
  • smaily-for-contact-form-7/tags/1.0.11/vendor/composer/installed.php

    r3266072 r3341499  
    22    'root' => array(
    33        'name' => 'smaily/smaily_for_contact_form_7',
    4         'pretty_version' => '1.0.10',
    5         'version' => '1.0.10.0',
    6         'reference' => '0d73c4f6b499de549939f3f91e0027f2679fb048',
     4        'pretty_version' => '1.0.11',
     5        'version' => '1.0.11.0',
     6        'reference' => 'cc36c0455f5d6631dc9d81b3efe0b6054ca8f6d7',
    77        'type' => 'plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'smaily/smaily_for_contact_form_7' => array(
    14             'pretty_version' => '1.0.10',
    15             'version' => '1.0.10.0',
    16             'reference' => '0d73c4f6b499de549939f3f91e0027f2679fb048',
     14            'pretty_version' => '1.0.11',
     15            'version' => '1.0.11.0',
     16            'reference' => 'cc36c0455f5d6631dc9d81b3efe0b6054ca8f6d7',
    1717            'type' => 'plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • smaily-for-contact-form-7/trunk/README.txt

    r3266072 r3341499  
    55Requires at least: 4.6
    66Tested up to: 6.7
    7 Stable tag: 1.0.10
     7Stable tag: 1.0.11
    88License: GPLv3
    99
    1010Flexible and straightforward Smaily newsletter integration for Contact Form 7.
     11
     12=== Smaily for Contact Form 7 — Deprecation notice ===
     13
     14Smaily for Contact Form 7 is officially deprecated. It is no longer maintained, and no further updates or security patches will be provided.
     15
     16We have released Smaily Connect, a new plugin that combines support for WordPress, WooCommerce, Contact Form 7, and Elementor in a single package.
     17
     18Please migrate now!
     19
     20In your WordPress admin go to Plugins → Installed Plugins.
     21Deactivate and Delete Smaily for Contact Form 7.
     22Go to Plugins → Add New, search for “Smaily Connect”, then Install and Activate.
     23Open Smaily Connect and re-connect your Smaily account (subdomain, API user, API password).
     24
     25For assistance, contact [email protected].
     26
     27[Smaily Connect](https://wordpress.org/plugins/smaily-connect/)
    1128
    1229== Description ==
     
    6683== Changelog ==
    6784
     85### 1.0.11
     86
     87- Deprecation notice!
     88
     89This plugin is no longer maintained. Please switch to the new Smaily Connect plugin.
     90https://wordpress.org/plugins/smaily-connect/
     91
    6892### 1.0.10
    6993
  • smaily-for-contact-form-7/trunk/admin/class-smaily-for-cf7-admin.php

    r2669912 r3341499  
    4747        $this->plugin_name = $plugin_name;
    4848        $this->version     = $version;
     49    }
     50
     51    /**
     52     * Add deprecation notice to plugins list.
     53     *
     54     * @param array  $plugin_meta An array of the plugin's metadata.
     55     * @param string $plugin_file Path to the plugin file relative to the plugins directory.
     56     * @param array  $plugin_data An array of plugin data.
     57     * @param string $status      Status filter currently applied to the plugin list.
     58     * @return array Modified plugin metadata.
     59     */
     60    public function add_plugin_row_deprecation_notice( $plugin_meta, $plugin_file, $plugin_data, $status ) {
     61        $smaily_cf7_basename = plugin_basename( SMAILY_FOR_CF7_PLUGIN_FILE );
     62
     63        if ( $plugin_file !== $smaily_cf7_basename || ! current_user_can( 'activate_plugins' ) ) {
     64            return $plugin_meta;
     65        }
     66
     67        $notice = sprintf(
     68            '<p style="margin-top: 10px;"><span style="color: #d63638; font-weight: bold; font-size: 1.2em;">%s</span><br/><a href="%s" target="_blank">%s</a></p>',
     69            esc_html__( 'This plugin is deprecated!', 'smaily-for-contact-form-7' ),
     70            'https://wordpress.org/plugins/smaily-connect/',
     71            esc_html__( 'Switch to Smaily Connect', 'smaily-for-contact-form-7' )
     72        );
     73
     74        $plugin_meta[] = $notice;
     75
     76        return $plugin_meta;
     77    }
     78
     79    /**
     80     * Show admin notices.
     81     *
     82     * @since 1.0.11
     83     */
     84    public function smaily_admin_notices() {
     85        if ( current_user_can( 'manage_options' ) ) {
     86            if ( get_user_meta( get_current_user_id(), 'smaily_for_cf7_deprecation_notice_dismissed', true ) ) {
     87                return;
     88            }
     89            ?>
     90            <div id="smaily-for-cf7-admin-deprecation-notice" class="notice notice-warning is-dismissible">
     91                <p>
     92                    <strong>
     93                        <?php esc_html_e( 'DEPRECATION NOTICE', 'smaily-for-contact-form-7' ); ?>
     94                    </strong>
     95                </p>
     96                <p>
     97                    <?php esc_html_e( 'Smaily for Contact Form 7 is officially deprecated and will no longer receive updates or security patches.', 'smaily-for-contact-form-7' ); ?>
     98                </p>
     99                <p>
     100                    <?php esc_html_e( 'Please uninstall this plugin and switch to Smaily Connect — our new, combined plugin with support for WordPress, WooCommerce, Contact Form 7 and Elementor.', 'smaily-for-contact-form-7' ); ?>
     101                </p>
     102                <p>
     103                    <?php esc_html_e( 'Next steps: Deactivate and delete Smaily for Contact Form 7 → install Smaily Connect → reconnect your Smaily account.', 'smaily-for-contact-form-7' ); ?>
     104                </p>
     105                <p>
     106                    <a href="https://wordpress.org/plugins/smaily-connect/" target="_blank" rel="noopener noreferrer">
     107                        <?php esc_html_e( 'Get Smaily Connect', 'smaily-for-contact-form-7' ); ?>
     108                    </a>
     109                </p>
     110            </div>
     111            <script>
     112                jQuery(document).ready(function($){
     113                    $('#smaily-for-cf7-admin-deprecation-notice').on('click', '.notice-dismiss', function() {
     114                        // Dismiss the notice via AJAX.
     115                        $.post(
     116                            ajaxurl,
     117                            {
     118                                action: 'smaily_for_cf7_dismiss_deprecation_notice',
     119                                nonce: '<?php echo wp_create_nonce( 'smaily_for_cf7_dismiss_deprecation_notice' ); ?>'
     120                            },
     121                            function(response) {
     122                                if (response.success) {
     123                                    $('#smaily-for-cf7-admin-deprecation-notice').fadeOut();
     124                                }
     125                            }
     126                        );
     127                    });
     128                });
     129            </script>
     130            <?php
     131        }
     132    }
     133
     134    /**
     135     * Handle the dismissal of the deprecation notice.
     136     *
     137     * @since 1.0.11
     138     */
     139    public function smaily_dismiss_deprecation_notice() {
     140        if ( ! wp_verify_nonce( $_POST['nonce'], 'smaily_for_cf7_dismiss_deprecation_notice' ) ) {
     141            wp_die( 'Invalid nonce.' );
     142        }
     143
     144        if ( ! current_user_can( 'manage_options' ) ) {
     145            wp_die( 'Unauthorized user.' );
     146        }
     147
     148        update_user_meta( get_current_user_id(), 'smaily_for_cf7_deprecation_notice_dismissed', true );
     149        wp_send_json_success();
    49150    }
    50151
  • smaily-for-contact-form-7/trunk/includes/class-smaily-for-cf7.php

    r2322355 r3341499  
    125125        $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' );
    126126
     127        $this->loader->add_action( 'admin_notices', $plugin_admin, 'smaily_admin_notices' );
     128        $this->loader->add_filter( 'plugin_row_meta', $plugin_admin, 'add_plugin_row_deprecation_notice', 10, 4 );
     129
    127130        $this->loader->add_action( 'wpcf7_after_save', $plugin_admin, 'save' );
    128131        $this->loader->add_action( 'wpcf7_editor_panels', $plugin_admin, 'add_tab', -1 );
     
    133136        $this->loader->add_action( 'wp_ajax_remove_credentials_callback', $plugin_admin, 'remove_credentials_callback' );
    134137        $this->loader->add_action( 'wp_ajax_nopriv_remove_credentials_callback', $plugin_admin, 'remove_credentials_callback' );
     138
     139        $this->loader->add_action( 'wp_ajax_smaily_for_cf7_dismiss_deprecation_notice', $plugin_admin, 'smaily_dismiss_deprecation_notice' );
    135140    }
    136141
  • smaily-for-contact-form-7/trunk/languages/smaily-for-contact-form-7-et.po

    r2886307 r3341499  
    77"contact-form-7/POT-Creation-Date: 2020-06-10 18:59+0300\n"
    88"POT-Creation-Date: 2023-03-24 12:32+0200\n"
    9 "PO-Revision-Date: 2023-03-24 12:32+0200\n"
    10 "Last-Translator: Tom <[email protected]>\n"
    11 "Language-Team: Smaily\n"
     9"PO-Revision-Date: 2025-08-07 07:43+0000\n"
     10"Last-Translator: \n"
     11"Language-Team: Eesti\n"
    1212"Language: et\n"
    1313"MIME-Version: 1.0\n"
     
    1515"Content-Transfer-Encoding: 8bit\n"
    1616"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    17 "X-Generator: Poedit 3.2.2\n"
     17"X-Generator: Loco https://localise.biz/\n"
    1818"X-Domain: smaily-for-contact-form-7\n"
    1919"X-Poedit-Basepath: ..\n"
    2020"X-Poedit-KeywordsList: __;esc_html__;_e;esc_html_e;_n\n"
    2121"X-Poedit-SearchPath-0: .\n"
    22 
    23 #: admin/class-smaily-for-cf7-admin.php:203
     22"X-Loco-Version: 2.8.0; wp-6.7.2; php-8.0.28"
     23
     24#. Description of the plugin
     25msgid ""
     26"[DEPRECATED] Smaily for Contact Form 7 is deprecated. Please use the new "
     27"Smaily Connect plugin instead."
     28msgstr ""
     29"[AEGUNUD] Smaily Contact Form 7 plugin on ametlikult aegunud. Palun kasutage "
     30"selle asemel uut Smaily Connect pluginat."
     31
     32#: admin/partials/smaily-for-cf7-admin-display.php:77
     33msgid "API Password"
     34msgstr "API Salasõna"
     35
     36#: admin/partials/smaily-for-cf7-admin-display.php:70
     37msgid "API Username"
     38msgstr "API Kasutajatunnus"
     39
     40#: admin/partials/smaily-for-cf7-admin-display.php:25
     41msgid "Autoresponder"
     42msgstr "Automaatvastaja"
     43
     44#: admin/partials/smaily-for-cf7-admin-display.php:51
     45msgid "Captcha disabled. Please use a captcha if this is a public site."
     46msgstr "Captcha keelatud. Palun kasuta Captchat kui see on avalik leht."
     47
     48#: admin/partials/smaily-for-cf7-admin-display.php:13
     49msgid ""
     50"Configuring Smaily integration is disabled when using \"Add New Form\". "
     51"Please save this form or edit an already existing form"
     52msgstr ""
     53"\"Add New Form\" kasutamisel ei ole võimalik Smaily moodulit seadistada. "
     54"Palun salvesta käesolev vorm või seadista eelnevalt loodud vormi"
     55
     56#: admin/partials/smaily-for-cf7-admin-display.php:48
     57msgid "Connect form with Smaily"
     58msgstr "Ühenda form Smaily'ga"
     59
     60#: smaily-for-contact-form-7.php:87
     61msgid ""
     62"Contact Form 7 is needed to function properly. Is Contact Form 7 installed "
     63"and activated?"
     64msgstr ""
     65"Contact Form 7 pisikmoodul on vajalik Smaily mooduli toimimiseks. Kas "
     66"Contact Form 7 moodul on paigaldatud ja aktiveeritud?"
     67
     68#: public/class-smaily-for-cf7-public.php:192
     69msgid "Could not add to subscriber list for an unknown reason."
     70msgstr "Ei suutnud lisada uudiskirja nimekirja teadmata põhjusel."
     71
     72#: admin/class-smaily-for-cf7-admin.php:423
     73msgid "Credentials removed"
     74msgstr "Kasutajatunnused eemaldatud"
     75
     76#: admin/class-smaily-for-cf7-admin.php:338
     77msgid "Credentials valid"
     78msgstr "Kasutajatunnused õiged"
     79
     80#: admin/class-smaily-for-cf7-admin.php:93
     81msgid "DEPRECATION NOTICE"
     82msgstr "TOETUSE LÕPETAMISE TEADE"
     83
     84#: admin/class-smaily-for-cf7-admin.php:344
     85msgid "Error in subdomain"
     86msgstr "Viga alamdomeenis"
     87
     88#: public/class-smaily-for-cf7-public.php:183
     89msgid "Form was not submitted using POST method."
     90msgstr "Andmeid peab saatma POST tegevusviisiga."
     91
     92#: admin/class-smaily-for-cf7-admin.php:107
     93msgid "Get Smaily Connect"
     94msgstr "Proovi Smaily Connect-i"
     95
     96#. URI of the plugin
     97msgid "https://github.com/sendsmaily/smaily-cf7-plugin"
     98msgstr "https://github.com/sendsmaily/smaily-cf7-plugin"
     99
     100#. Author URI of the plugin
     101msgid "https://smaily.com/"
     102msgstr "https://smaily.com/"
     103
     104#: public/class-smaily-for-cf7-public.php:189
     105msgid "Input does not contain a valid email address."
     106msgstr "Sisend ei sisalda tuntavat emaili aadressi."
     107
     108#: public/class-smaily-for-cf7-public.php:186
     109msgid "Invalid data submitted."
     110msgstr "Esitati vigased andmed"
     111
     112#: admin/class-smaily-for-cf7-admin.php:103
     113msgid ""
     114"Next steps: Deactivate and delete Smaily for Contact Form 7 → install Smaily "
     115"Connect → reconnect your Smaily account."
     116msgstr ""
     117"Järgmised sammud: Deaktiveeri ja kustuta Smaily Contact Form 7 plugin → "
     118"paigalda Smaily Connect → ühenda Smaily kontoga."
     119
     120#: admin/partials/smaily-for-cf7-admin-display.php:29
     121msgid "No autoresponder"
     122msgstr "Ilma automaatvastajata"
     123
     124#: admin/class-smaily-for-cf7-admin.php:426
     125msgid "No credentials to remove"
     126msgstr "Kasutajatunnuseid ei eksisteeri"
     127
     128#: admin/class-smaily-for-cf7-admin.php:331
     129msgid "No response from Smaily"
     130msgstr "Smaily'lt vastust ei saadud"
     131
     132#: admin/class-smaily-for-cf7-admin.php:390
     133msgid "Please fill out all fields!"
     134msgstr "Palun täida kõik väljad!"
     135
     136#: admin/class-smaily-for-cf7-admin.php:100
     137msgid ""
     138"Please uninstall this plugin and switch to Smaily Connect — our new, "
     139"combined plugin with support for WordPress, WooCommerce, Contact Form 7 and "
     140"Elementor."
     141msgstr ""
     142"Palun deaktiveeri ja kustuta see plugin ning paigalda Smaily Connect – meie "
     143"uus ühend-plugin, mis toetab WordPressi, WooCommerce’i, Contact Form 7 ja "
     144"Elementorit."
     145
     146#: admin/partials/smaily-for-cf7-admin-display.php:44
     147msgid "Reset credentials"
     148msgstr "Lähtesta kasutajatunnused"
     149
     150#: admin/partials/smaily-for-cf7-admin-display.php:55
     151msgid "Saved credentials invalid."
     152msgstr "Salvestatud kasutajatunnused valed."
     153
     154#. Author of the plugin
     155msgid "Smaily"
     156msgstr "Smaily"
     157
     158#. Name of the plugin
     159#: admin/class-smaily-for-cf7-admin.php:304
    24160msgid "Smaily for Contact Form 7"
    25161msgstr "Smaily for Contact Form 7"
    26162
    27 #: admin/class-smaily-for-cf7-admin.php:230
    28 msgid "No response from Smaily"
    29 msgstr "Smaily'lt vastust ei saadud"
    30 
    31 #: admin/class-smaily-for-cf7-admin.php:237
    32 msgid "Credentials valid"
    33 msgstr "Kasutajatunnused õiged"
    34 
    35 #: admin/class-smaily-for-cf7-admin.php:240
     163#: admin/class-smaily-for-cf7-admin.php:97
     164msgid ""
     165"Smaily for Contact Form 7 is officially deprecated and will no longer "
     166"receive updates or security patches."
     167msgstr ""
     168"Smaily Contact Form 7 plugin on ametlikult aegunud. Seda ei hooldata enam "
     169"ning uuendusi ega turvaparandusi ei pakuta."
     170
     171#: public/class-smaily-for-cf7-public.php:179
     172#: public/class-smaily-for-cf7-public.php:195
     173#: admin/class-smaily-for-cf7-admin.php:347
     174msgid "Something went wrong"
     175msgstr "Midagi läks valesti"
     176
     177#: admin/partials/smaily-for-cf7-admin-display.php:60
     178msgid "Subdomain"
     179msgstr "Alamdomeen"
     180
     181#: admin/class-smaily-for-cf7-admin.php:71
     182msgid "Switch to Smaily Connect"
     183msgstr "Uuenda Smaily Connect-ile"
     184
     185#: admin/class-smaily-for-cf7-admin.php:69
     186msgid "This plugin is deprecated!"
     187msgstr "See plugin on aegunud!"
     188
     189#: admin/partials/smaily-for-cf7-admin-display.php:90
     190msgid "Verify credentials"
     191msgstr "Valideeri kasutajatunnused"
     192
     193#: admin/class-smaily-for-cf7-admin.php:341
    36194msgid "Wrong credentials"
    37195msgstr "Valed kasutajatunnused"
    38196
    39 #: admin/class-smaily-for-cf7-admin.php:243
    40 msgid "Error in subdomain"
    41 msgstr "Viga alamdomeenis"
    42 
    43 #: admin/class-smaily-for-cf7-admin.php:246
    44 #: public/class-smaily-for-cf7-public.php:177
    45 #: public/class-smaily-for-cf7-public.php:190
    46 msgid "Something went wrong"
    47 msgstr "Midagi läks valesti"
    48 
    49 #: admin/class-smaily-for-cf7-admin.php:272
    50 msgid "Your nonce did not verify!"
    51 msgstr "Sinu nonce ei ole kinnitatav!"
    52 
    53 #: admin/class-smaily-for-cf7-admin.php:276
    54 #: admin/class-smaily-for-cf7-admin.php:316
     197#: admin/class-smaily-for-cf7-admin.php:377
     198#: admin/class-smaily-for-cf7-admin.php:417
    55199msgid "You do not have permission!"
    56200msgstr "Teil ei ole selle jaoks luba!"
    57 
    58 #: admin/class-smaily-for-cf7-admin.php:289
    59 msgid "Please fill out all fields!"
    60 msgstr "Palun täida kõik väljad!"
    61 
    62 #: admin/class-smaily-for-cf7-admin.php:322
    63 msgid "Credentials removed"
    64 msgstr "Kasutajatunnused eemaldatud"
    65 
    66 #: admin/class-smaily-for-cf7-admin.php:325
    67 msgid "No credentials to remove"
    68 msgstr "Kasutajatunnuseid ei eksisteeri"
    69 
    70 #: admin/partials/smaily-for-cf7-admin-display.php:14
    71 msgid ""
    72 "Configuring Smaily integration is disabled when using \"Add New Form\". "
    73 "Please save this form or edit an already existing form"
    74 msgstr ""
    75 "\"Add New Form\" kasutamisel ei ole võimalik Smaily moodulit seadistada. "
    76 "Palun salvesta käesolev vorm või seadista eelnevalt loodud vormi"
    77201
    78202#: admin/partials/smaily-for-cf7-admin-display.php:22
     
    80204msgstr "Sinu kasutajatunnused on õiged"
    81205
    82 #: admin/partials/smaily-for-cf7-admin-display.php:25
    83 msgid "Autoresponder"
    84 msgstr "Automaatvastaja"
    85 
    86 #: admin/partials/smaily-for-cf7-admin-display.php:29
    87 msgid "No autoresponder"
    88 msgstr "Ilma automaatvastajata"
    89 
    90 #: admin/partials/smaily-for-cf7-admin-display.php:44
    91 msgid "Reset credentials"
    92 msgstr "Lähtesta kasutajatunnused"
    93 
    94 #: admin/partials/smaily-for-cf7-admin-display.php:48
    95 msgid "Connect form with Smaily"
    96 msgstr "Ühenda form Smaily'ga"
    97 
    98 #: admin/partials/smaily-for-cf7-admin-display.php:51
    99 msgid "Captcha disabled. Please use a captcha if this is a public site."
    100 msgstr "Captcha keelatud. Palun kasuta Captchat kui see on avalik leht."
    101 
    102 #: admin/partials/smaily-for-cf7-admin-display.php:55
    103 msgid "Saved credentials invalid."
    104 msgstr "Salvestatud kasutajatunnused valed."
    105 
    106 #: admin/partials/smaily-for-cf7-admin-display.php:60
    107 msgid "Subdomain"
    108 msgstr "Alamdomeen"
    109 
    110 #: admin/partials/smaily-for-cf7-admin-display.php:70
    111 msgid "API Username"
    112 msgstr "API Kasutajatunnus"
    113 
    114 #: admin/partials/smaily-for-cf7-admin-display.php:77
    115 msgid "API Password"
    116 msgstr "API Salasõna"
    117 
    118 #: admin/partials/smaily-for-cf7-admin-display.php:90
    119 msgid "Verify credentials"
    120 msgstr "Valideeri kasutajatunnused"
    121 
    122 #: public/class-smaily-for-cf7-public.php:61
    123 msgid ""
    124 "Smaily for CF7 requires Transliterator extension. Please install php-intl "
    125 "package and try again."
    126 msgstr ""
    127 "Smaily for CF7 aktiveerimiseks on vaja Transliterator laiendust. Palun "
    128 "installeeri php-intl pakett ja proovi uuesti."
    129 
    130 #: public/class-smaily-for-cf7-public.php:181
    131 msgid "Form was not submitted using POST method."
    132 msgstr "Andmeid peab saatma POST tegevusviisiga."
    133 
    134 #: public/class-smaily-for-cf7-public.php:184
    135 msgid "Input does not contain a valid email address."
    136 msgstr "Sisend ei sisalda tuntavat emaili aadressi."
    137 
    138 #: public/class-smaily-for-cf7-public.php:187
    139 msgid "Could not add to subscriber list for an unknown reason."
    140 msgstr "Ei suutnud lisada uudiskirja nimekirja teadmata põhjusel."
    141 
    142 #: smaily-for-contact-form-7.php:74
    143 msgid ""
    144 "Smaily for Contact Form 7 is not able to activate. Contact Form 7 is needed "
    145 "to function properly. Is Contact Form 7 installed and activated?"
    146 msgstr ""
    147 "Smaily for Contact Form 7 ei suuda aktiveerida. Moodul nõuab käivitamiseks "
    148 "Contact Form 7-et. Kas see on installeeritud ja aktiveeritud?"
     206#: admin/class-smaily-for-cf7-admin.php:373
     207msgid "Your nonce did not verify!"
     208msgstr "Sinu nonce ei ole kinnitatav!"
  • smaily-for-contact-form-7/trunk/smaily-for-contact-form-7.php

    r3266072 r3341499  
    1515 * Plugin Name: Smaily for Contact Form 7
    1616 * Plugin URI: https://github.com/sendsmaily/smaily-cf7-plugin
    17  * Description: Integrate Contact Form 7 form(s) with Smaily to add subscribers directly to Smaily and trigger marketing automations.
    18  * Version: 1.0.10
     17 * Description: [DEPRECATED] Smaily for Contact Form 7 is deprecated. Please use the new Smaily Connect plugin instead.
     18 * Version: 1.0.11
    1919 * License: GPL3
    2020 * Author: Smaily
    2121 * Author URI: https://smaily.com/
    2222 * Text Domain: smaily-for-contact-form-7
    23  * Domain Path: languages
     23 * Domain Path: /languages
    2424 *
    2525 * Smaily for Contact Form 7 is free software: you can redistribute it and/or modify
     
    4343require_once ABSPATH . 'wp-admin/includes/plugin.php';
    4444
    45 define( 'SMAILY_FOR_CF7_VERSION', '1.0.10' );
     45define( 'SMAILY_FOR_CF7_VERSION', '1.0.11' );
     46define( 'SMAILY_FOR_CF7_PLUGIN_FILE', __FILE__ );
     47define( 'SMAILY_FOR_CF7_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
     48
     49register_deactivation_hook( __FILE__, 'smaily_for_cf7_deactivate' );
     50/**
     51 * Deactivation function for the plugin.
     52 *
     53 * This function is called when the plugin is deactivated.
     54 *
     55 * @since 1.0.11
     56 */
     57function smaily_for_cf7_deactivate() {
     58    // Show a deprecation notice on subsequent activations.
     59    delete_metadata( 'user', 0, 'smaily_for_cf7_deprecation_notice_dismissed', '', true );
     60}
    4661
    4762/**
     
    5772 */
    5873function smaily_for_cf7_load_textdomain() {
    59     load_plugin_textdomain( 'smaily-for-contact-form-7', false, plugin_dir_path( __FILE__ ) . '/languages/' );
     74    load_plugin_textdomain( 'smaily-for-contact-form-7', false, plugin_basename( SMAILY_FOR_CF7_PLUGIN_PATH ) . '/languages/' );
    6075}
    6176add_action( 'plugins_loaded', 'smaily_for_cf7_load_textdomain' );
  • smaily-for-contact-form-7/trunk/vendor/autoload.php

    r3266072 r3341499  
    1515        }
    1616    }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
     17    throw new RuntimeException($err);
    2118}
    2219
  • smaily-for-contact-form-7/trunk/vendor/composer/InstalledVersions.php

    r3266072 r3341499  
    2727class InstalledVersions
    2828{
     29    /**
     30     * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to
     31     * @internal
     32     */
     33    private static $selfDir = null;
     34
    2935    /**
    3036     * @var mixed[]|null
     
    324330
    325331    /**
     332     * @return string
     333     */
     334    private static function getSelfDir()
     335    {
     336        if (self::$selfDir === null) {
     337            self::$selfDir = strtr(__DIR__, '\\', '/');
     338        }
     339
     340        return self::$selfDir;
     341    }
     342
     343    /**
    326344     * @return array[]
    327345     * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
     
    337355
    338356        if (self::$canGetVendors) {
    339             $selfDir = strtr(__DIR__, '\\', '/');
     357            $selfDir = self::getSelfDir();
    340358            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
    341359                $vendorDir = strtr($vendorDir, '\\', '/');
  • smaily-for-contact-form-7/trunk/vendor/composer/installed.php

    r3266072 r3341499  
    22    'root' => array(
    33        'name' => 'smaily/smaily_for_contact_form_7',
    4         'pretty_version' => '1.0.10',
    5         'version' => '1.0.10.0',
    6         'reference' => '0d73c4f6b499de549939f3f91e0027f2679fb048',
     4        'pretty_version' => '1.0.11',
     5        'version' => '1.0.11.0',
     6        'reference' => 'cc36c0455f5d6631dc9d81b3efe0b6054ca8f6d7',
    77        'type' => 'plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'smaily/smaily_for_contact_form_7' => array(
    14             'pretty_version' => '1.0.10',
    15             'version' => '1.0.10.0',
    16             'reference' => '0d73c4f6b499de549939f3f91e0027f2679fb048',
     14            'pretty_version' => '1.0.11',
     15            'version' => '1.0.11.0',
     16            'reference' => 'cc36c0455f5d6631dc9d81b3efe0b6054ca8f6d7',
    1717            'type' => 'plugin',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.