Plugin Directory

Changeset 2842796


Ignore:
Timestamp:
01/03/2023 12:35:50 PM (3 years ago)
Author:
EmailOctopus
Message:

Adding version 3.1.3.

Location:
emailoctopus/trunk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • emailoctopus/trunk/emailoctopus.php

    r2833885 r2842796  
    44 * Plugin URI:        https://emailoctopus.com
    55 * Description:       Email marketing widget; easily add subscribers to an EmailOctopus list. Fully customisable.
    6  * Version:           3.1.2
     6 * Version:           3.1.3
    77 * Author:            EmailOctopus
    88 * Author URI:        https://emailoctopus.com
     
    2626}
    2727
    28 define( 'EMAILOCTOPUS_VERSION', '3.1.2' );
     28define( 'EMAILOCTOPUS_VERSION', '3.1.3' );
    2929define( 'EMAILOCTOPUS_FILE', __FILE__ );
    3030define( 'EMAILOCTOPUS_DIR', plugin_dir_path( EMAILOCTOPUS_FILE ) );
  • emailoctopus/trunk/languages/emailoctopus.pot

    r2833885 r2842796  
    1 # Copyright (C) 2022 EmailOctopus
     1# Copyright (C) 2023 EmailOctopus
    22# This file is distributed under the GPL-2.0+.
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: EmailOctopus 3.1.2\n"
     5"Project-Id-Version: EmailOctopus 3.1.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/emailoctopus-wordpress-plugin\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2022-12-14T15:50:51+00:00\n"
     12"POT-Creation-Date: 2023-01-03T12:21:43+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.7.1\n"
     
    5757
    5858#: public/views/component-welcome.php:18
    59 #: src/Gutenberg.php:70
     59#: src/Gutenberg.php:79
    6060msgid "Create an account for free"
    6161msgstr ""
    6262
    6363#: public/views/component-welcome.php:21
    64 #: src/Gutenberg.php:74
     64#: src/Gutenberg.php:83
    6565msgid "Connect an existing account"
    6666msgstr ""
     
    105105#: public/views/page-forms.php:85
    106106#: public/views/page-forms.php:117
    107 #: src/Gutenberg.php:90
     107#: src/Gutenberg.php:99
    108108msgid "Form"
    109109msgstr ""
     
    111111#: public/views/page-form.php:91
    112112#: public/views/page-form.php:125
    113 #: src/Gutenberg.php:88
    114 #: src/Gutenberg.php:157
     113#: src/Gutenberg.php:97
     114#: src/Gutenberg.php:166
    115115msgid "Untitled"
    116116msgstr ""
    117117
    118118#: public/views/page-form.php:95
    119 #: src/Gutenberg.php:160
     119#: src/Gutenberg.php:169
    120120msgid "hello bar"
    121121msgstr ""
    122122
    123123#: public/views/page-form.php:98
    124 #: src/Gutenberg.php:163
     124#: src/Gutenberg.php:172
    125125msgid "inline"
    126126msgstr ""
    127127
    128128#: public/views/page-form.php:101
    129 #: src/Gutenberg.php:166
     129#: src/Gutenberg.php:175
    130130msgid "pop-up"
    131131msgstr ""
    132132
    133133#: public/views/page-form.php:104
    134 #: src/Gutenberg.php:169
     134#: src/Gutenberg.php:178
    135135msgid "slide-in"
    136136msgstr ""
     
    194194#: public/views/page-forms.php:119
    195195#: src/Admin.php:117
    196 #: src/Gutenberg.php:99
     196#: src/Gutenberg.php:108
    197197msgid "Display settings"
    198198msgstr ""
     
    242242
    243243#: src/Admin.php:116
    244 #: src/Gutenberg.php:100
     244#: src/Gutenberg.php:109
    245245msgid "View on EmailOctopus"
    246246msgstr ""
     
    329329msgstr ""
    330330
    331 #: src/Gutenberg.php:67
     331#: src/Gutenberg.php:76
    332332msgid "To use this block, create an EmailOctopus account or connect an existing one."
    333333msgstr ""
    334334
    335335#. translators: %s - create form link
    336 #: src/Gutenberg.php:80
     336#: src/Gutenberg.php:89
    337337msgid "No forms yet. %s."
    338338msgstr ""
    339339
    340 #: src/Gutenberg.php:81
     340#: src/Gutenberg.php:90
    341341msgid "Create one"
    342342msgstr ""
    343343
    344 #: src/Gutenberg.php:89
     344#: src/Gutenberg.php:98
    345345msgid "General"
    346346msgstr ""
    347347
    348 #: src/Gutenberg.php:92
     348#: src/Gutenberg.php:101
    349349msgid "Select a form using the sidebar."
    350350msgstr ""
    351351
    352352#. translators: %1$s - form name, %2$s - form type
    353 #: src/Gutenberg.php:94
     353#: src/Gutenberg.php:103
    354354msgid "%1$s (%2$s)"
    355355msgstr ""
    356356
    357 #: src/Gutenberg.php:95
     357#: src/Gutenberg.php:104
    358358msgid "Click preview or publish to view."
    359359msgstr ""
    360360
    361361#. translators: %s - form_id
    362 #: src/Gutenberg.php:97
     362#: src/Gutenberg.php:106
    363363msgid "Error: could not load form %s from the API."
    364364msgstr ""
    365365
    366 #: src/Gutenberg.php:151
     366#: src/Gutenberg.php:160
    367367msgid "None"
    368368msgstr ""
  • emailoctopus/trunk/public/build/json/block.json

    r2833885 r2842796  
    66  "description": "Add an EmailOctopus Form.",
    77  "category": "emailoctopus",
    8   "version": "3.1.2",
     8  "version": "3.1.3",
    99  "textdomain": "emailoctopus",
    1010  "keywords": [
  • emailoctopus/trunk/public/views/page-form.php

    r2818433 r2842796  
    1515$utils         = new Utils();
    1616$api_key       = get_option( 'emailoctopus_api_key', false );
    17 $form_id       = filter_input( INPUT_GET, 'form-id', FILTER_SANITIZE_STRING );
     17$form_id       = filter_input( INPUT_GET, 'form-id', FILTER_SANITIZE_FULL_SPECIAL_CHARS );
    1818
    1919wp_enqueue_script( 'emailoctopus_page_form' );
  • emailoctopus/trunk/readme.txt

    r2833885 r2842796  
    55Requires at least: 5.0
    66Tested up to: 6.1
    7 Stable tag: 3.1.2
     7Stable tag: 3.1.3
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    4848== Changelog ==
    4949
     50= 3.1.3 =
     51* Bug fixes and improvements.
     52
    5053= 3.1.2 =
    5154* Bug fixes and improvements.
     
    158161== Upgrade Notice ==
    159162
     163= 3.1.3 =
     164Bug fixes and improvements.
     165
    160166= 3.1.2 =
    161167Bug fixes and improvements.
  • emailoctopus/trunk/src/Admin.php

    r2818433 r2842796  
    215215    public function handle_save_form(): void
    216216    {
    217         $nonce = filter_input(INPUT_POST, '_eo_nonce', FILTER_SANITIZE_STRING);
    218         $referer = filter_input(INPUT_POST, '_wp_http_referer', FILTER_SANITIZE_STRING);
     217        $nonce = filter_input(INPUT_POST, '_eo_nonce', FILTER_SANITIZE_FULL_SPECIAL_CHARS);
     218        $referer = filter_input(INPUT_POST, '_wp_http_referer', FILTER_SANITIZE_URL);
    219219
    220220        // There is no legitimate reason either of these should be missing, or if either is missing, no legitimate reason to proceed.
     
    227227            $_POST,
    228228            [
    229                 'emailoctopus-form-automatic-display' => FILTER_SANITIZE_STRING,
    230                 'emailoctopus-form-form-id' => FILTER_SANITIZE_STRING,
     229                'emailoctopus-form-automatic-display' => FILTER_SANITIZE_FULL_SPECIAL_CHARS,
     230                'emailoctopus-form-form-id' => FILTER_SANITIZE_FULL_SPECIAL_CHARS,
    231231                'emailoctopus-form-post-id' => FILTER_SANITIZE_NUMBER_INT,
    232232                'emailoctopus-form-post-types' => [
    233                     'filter' => FILTER_SANITIZE_STRING,
     233                    'filter' => FILTER_SANITIZE_FULL_SPECIAL_CHARS,
    234234                    'flags' => FILTER_FORCE_ARRAY,
    235235                ],
  • emailoctopus/trunk/src/Gutenberg.php

    r2833885 r2842796  
    204204            'methods' => 'GET',
    205205            'callback' => [$this, 'preview_shortcode_callback'],
     206            'permission_callback' => function () {
     207                return current_user_can('edit_posts');
     208            },
    206209        ];
    207210        register_rest_route($this->rest_api_namespace, $route, $route_params);
  • emailoctopus/trunk/src/json/block.json

    r2833885 r2842796  
    66    "description": "Add an EmailOctopus Form.",
    77    "category": "emailoctopus",
    8     "version": "3.1.2",
     8    "version": "3.1.3",
    99    "textdomain": "emailoctopus",
    1010    "keywords": ["emailoctopus", "email octopus", "form"],
  • emailoctopus/trunk/vendor/autoload.php

    r2833885 r2842796  
    1010require_once __DIR__ . '/composer/autoload_real.php';
    1111
    12 return ComposerAutoloaderInitff01eae3483200b8989e707308263b0a::getLoader();
     12return ComposerAutoloaderInit3508636542ba028db3de3daf860484bb::getLoader();
  • emailoctopus/trunk/vendor/composer/autoload_real.php

    r2833885 r2842796  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInitff01eae3483200b8989e707308263b0a
     5class ComposerAutoloaderInit3508636542ba028db3de3daf860484bb
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInitff01eae3483200b8989e707308263b0a', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit3508636542ba028db3de3daf860484bb', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInitff01eae3483200b8989e707308263b0a', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit3508636542ba028db3de3daf860484bb', 'loadClassLoader'));
    2828
    2929        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Composer\Autoload\ComposerStaticInitff01eae3483200b8989e707308263b0a::getInitializer($loader));
     30        call_user_func(\Composer\Autoload\ComposerStaticInit3508636542ba028db3de3daf860484bb::getInitializer($loader));
    3131
    3232        $loader->setClassMapAuthoritative(true);
  • emailoctopus/trunk/vendor/composer/autoload_static.php

    r2833885 r2842796  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInitff01eae3483200b8989e707308263b0a
     7class ComposerStaticInit3508636542ba028db3de3daf860484bb
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    4040    {
    4141        return \Closure::bind(function () use ($loader) {
    42             $loader->prefixLengthsPsr4 = ComposerStaticInitff01eae3483200b8989e707308263b0a::$prefixLengthsPsr4;
    43             $loader->prefixDirsPsr4 = ComposerStaticInitff01eae3483200b8989e707308263b0a::$prefixDirsPsr4;
    44             $loader->classMap = ComposerStaticInitff01eae3483200b8989e707308263b0a::$classMap;
     42            $loader->prefixLengthsPsr4 = ComposerStaticInit3508636542ba028db3de3daf860484bb::$prefixLengthsPsr4;
     43            $loader->prefixDirsPsr4 = ComposerStaticInit3508636542ba028db3de3daf860484bb::$prefixDirsPsr4;
     44            $loader->classMap = ComposerStaticInit3508636542ba028db3de3daf860484bb::$classMap;
    4545
    4646        }, null, ClassLoader::class);
  • emailoctopus/trunk/vendor/composer/installed.php

    r2833885 r2842796  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '0ff7e63331a7c8b6b2570d5ca630888f61ed09bd',
     6        'reference' => 'fdc8d3ffa1ece56b1dec6c6fd8f39af8b463d880',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-master',
    1515            'version' => 'dev-master',
    16             'reference' => '0ff7e63331a7c8b6b2570d5ca630888f61ed09bd',
     16            'reference' => 'fdc8d3ffa1ece56b1dec6c6fd8f39af8b463d880',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.