Changeset 2842796
- Timestamp:
- 01/03/2023 12:35:50 PM (3 years ago)
- Location:
- emailoctopus/trunk
- Files:
-
- 12 edited
-
emailoctopus.php (modified) (2 diffs)
-
languages/emailoctopus.pot (modified) (8 diffs)
-
public/build/json/block.json (modified) (1 diff)
-
public/views/page-form.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
src/Admin.php (modified) (2 diffs)
-
src/Gutenberg.php (modified) (1 diff)
-
src/json/block.json (modified) (1 diff)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/composer/autoload_real.php (modified) (2 diffs)
-
vendor/composer/autoload_static.php (modified) (2 diffs)
-
vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
emailoctopus/trunk/emailoctopus.php
r2833885 r2842796 4 4 * Plugin URI: https://emailoctopus.com 5 5 * Description: Email marketing widget; easily add subscribers to an EmailOctopus list. Fully customisable. 6 * Version: 3.1. 26 * Version: 3.1.3 7 7 * Author: EmailOctopus 8 8 * Author URI: https://emailoctopus.com … … 26 26 } 27 27 28 define( 'EMAILOCTOPUS_VERSION', '3.1. 2' );28 define( 'EMAILOCTOPUS_VERSION', '3.1.3' ); 29 29 define( 'EMAILOCTOPUS_FILE', __FILE__ ); 30 30 define( 'EMAILOCTOPUS_DIR', plugin_dir_path( EMAILOCTOPUS_FILE ) ); -
emailoctopus/trunk/languages/emailoctopus.pot
r2833885 r2842796 1 # Copyright (C) 202 2EmailOctopus1 # Copyright (C) 2023 EmailOctopus 2 2 # This file is distributed under the GPL-2.0+. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: EmailOctopus 3.1. 2\n"5 "Project-Id-Version: EmailOctopus 3.1.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/emailoctopus-wordpress-plugin\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 2-12-14T15:50:51+00:00\n"12 "POT-Creation-Date: 2023-01-03T12:21:43+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.7.1\n" … … 57 57 58 58 #: public/views/component-welcome.php:18 59 #: src/Gutenberg.php:7 059 #: src/Gutenberg.php:79 60 60 msgid "Create an account for free" 61 61 msgstr "" 62 62 63 63 #: public/views/component-welcome.php:21 64 #: src/Gutenberg.php: 7464 #: src/Gutenberg.php:83 65 65 msgid "Connect an existing account" 66 66 msgstr "" … … 105 105 #: public/views/page-forms.php:85 106 106 #: public/views/page-forms.php:117 107 #: src/Gutenberg.php:9 0107 #: src/Gutenberg.php:99 108 108 msgid "Form" 109 109 msgstr "" … … 111 111 #: public/views/page-form.php:91 112 112 #: public/views/page-form.php:125 113 #: src/Gutenberg.php: 88114 #: src/Gutenberg.php:1 57113 #: src/Gutenberg.php:97 114 #: src/Gutenberg.php:166 115 115 msgid "Untitled" 116 116 msgstr "" 117 117 118 118 #: public/views/page-form.php:95 119 #: src/Gutenberg.php:16 0119 #: src/Gutenberg.php:169 120 120 msgid "hello bar" 121 121 msgstr "" 122 122 123 123 #: public/views/page-form.php:98 124 #: src/Gutenberg.php:1 63124 #: src/Gutenberg.php:172 125 125 msgid "inline" 126 126 msgstr "" 127 127 128 128 #: public/views/page-form.php:101 129 #: src/Gutenberg.php:1 66129 #: src/Gutenberg.php:175 130 130 msgid "pop-up" 131 131 msgstr "" 132 132 133 133 #: public/views/page-form.php:104 134 #: src/Gutenberg.php:1 69134 #: src/Gutenberg.php:178 135 135 msgid "slide-in" 136 136 msgstr "" … … 194 194 #: public/views/page-forms.php:119 195 195 #: src/Admin.php:117 196 #: src/Gutenberg.php: 99196 #: src/Gutenberg.php:108 197 197 msgid "Display settings" 198 198 msgstr "" … … 242 242 243 243 #: src/Admin.php:116 244 #: src/Gutenberg.php:10 0244 #: src/Gutenberg.php:109 245 245 msgid "View on EmailOctopus" 246 246 msgstr "" … … 329 329 msgstr "" 330 330 331 #: src/Gutenberg.php: 67331 #: src/Gutenberg.php:76 332 332 msgid "To use this block, create an EmailOctopus account or connect an existing one." 333 333 msgstr "" 334 334 335 335 #. translators: %s - create form link 336 #: src/Gutenberg.php:8 0336 #: src/Gutenberg.php:89 337 337 msgid "No forms yet. %s." 338 338 msgstr "" 339 339 340 #: src/Gutenberg.php: 81340 #: src/Gutenberg.php:90 341 341 msgid "Create one" 342 342 msgstr "" 343 343 344 #: src/Gutenberg.php: 89344 #: src/Gutenberg.php:98 345 345 msgid "General" 346 346 msgstr "" 347 347 348 #: src/Gutenberg.php: 92348 #: src/Gutenberg.php:101 349 349 msgid "Select a form using the sidebar." 350 350 msgstr "" 351 351 352 352 #. translators: %1$s - form name, %2$s - form type 353 #: src/Gutenberg.php: 94353 #: src/Gutenberg.php:103 354 354 msgid "%1$s (%2$s)" 355 355 msgstr "" 356 356 357 #: src/Gutenberg.php: 95357 #: src/Gutenberg.php:104 358 358 msgid "Click preview or publish to view." 359 359 msgstr "" 360 360 361 361 #. translators: %s - form_id 362 #: src/Gutenberg.php: 97362 #: src/Gutenberg.php:106 363 363 msgid "Error: could not load form %s from the API." 364 364 msgstr "" 365 365 366 #: src/Gutenberg.php:1 51366 #: src/Gutenberg.php:160 367 367 msgid "None" 368 368 msgstr "" -
emailoctopus/trunk/public/build/json/block.json
r2833885 r2842796 6 6 "description": "Add an EmailOctopus Form.", 7 7 "category": "emailoctopus", 8 "version": "3.1. 2",8 "version": "3.1.3", 9 9 "textdomain": "emailoctopus", 10 10 "keywords": [ -
emailoctopus/trunk/public/views/page-form.php
r2818433 r2842796 15 15 $utils = new Utils(); 16 16 $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 ); 18 18 19 19 wp_enqueue_script( 'emailoctopus_page_form' ); -
emailoctopus/trunk/readme.txt
r2833885 r2842796 5 5 Requires at least: 5.0 6 6 Tested up to: 6.1 7 Stable tag: 3.1. 27 Stable tag: 3.1.3 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 48 48 == Changelog == 49 49 50 = 3.1.3 = 51 * Bug fixes and improvements. 52 50 53 = 3.1.2 = 51 54 * Bug fixes and improvements. … … 158 161 == Upgrade Notice == 159 162 163 = 3.1.3 = 164 Bug fixes and improvements. 165 160 166 = 3.1.2 = 161 167 Bug fixes and improvements. -
emailoctopus/trunk/src/Admin.php
r2818433 r2842796 215 215 public function handle_save_form(): void 216 216 { 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); 219 219 220 220 // There is no legitimate reason either of these should be missing, or if either is missing, no legitimate reason to proceed. … … 227 227 $_POST, 228 228 [ 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, 231 231 'emailoctopus-form-post-id' => FILTER_SANITIZE_NUMBER_INT, 232 232 'emailoctopus-form-post-types' => [ 233 'filter' => FILTER_SANITIZE_ STRING,233 'filter' => FILTER_SANITIZE_FULL_SPECIAL_CHARS, 234 234 'flags' => FILTER_FORCE_ARRAY, 235 235 ], -
emailoctopus/trunk/src/Gutenberg.php
r2833885 r2842796 204 204 'methods' => 'GET', 205 205 'callback' => [$this, 'preview_shortcode_callback'], 206 'permission_callback' => function () { 207 return current_user_can('edit_posts'); 208 }, 206 209 ]; 207 210 register_rest_route($this->rest_api_namespace, $route, $route_params); -
emailoctopus/trunk/src/json/block.json
r2833885 r2842796 6 6 "description": "Add an EmailOctopus Form.", 7 7 "category": "emailoctopus", 8 "version": "3.1. 2",8 "version": "3.1.3", 9 9 "textdomain": "emailoctopus", 10 10 "keywords": ["emailoctopus", "email octopus", "form"], -
emailoctopus/trunk/vendor/autoload.php
r2833885 r2842796 10 10 require_once __DIR__ . '/composer/autoload_real.php'; 11 11 12 return ComposerAutoloaderInit ff01eae3483200b8989e707308263b0a::getLoader();12 return ComposerAutoloaderInit3508636542ba028db3de3daf860484bb::getLoader(); -
emailoctopus/trunk/vendor/composer/autoload_real.php
r2833885 r2842796 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit ff01eae3483200b8989e707308263b0a5 class ComposerAutoloaderInit3508636542ba028db3de3daf860484bb 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit ff01eae3483200b8989e707308263b0a', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInit3508636542ba028db3de3daf860484bb', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 27 spl_autoload_unregister(array('ComposerAutoloaderInit ff01eae3483200b8989e707308263b0a', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInit3508636542ba028db3de3daf860484bb', 'loadClassLoader')); 28 28 29 29 require __DIR__ . '/autoload_static.php'; 30 call_user_func(\Composer\Autoload\ComposerStaticInit ff01eae3483200b8989e707308263b0a::getInitializer($loader));30 call_user_func(\Composer\Autoload\ComposerStaticInit3508636542ba028db3de3daf860484bb::getInitializer($loader)); 31 31 32 32 $loader->setClassMapAuthoritative(true); -
emailoctopus/trunk/vendor/composer/autoload_static.php
r2833885 r2842796 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit ff01eae3483200b8989e707308263b0a7 class ComposerStaticInit3508636542ba028db3de3daf860484bb 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 40 40 { 41 41 return \Closure::bind(function () use ($loader) { 42 $loader->prefixLengthsPsr4 = ComposerStaticInit ff01eae3483200b8989e707308263b0a::$prefixLengthsPsr4;43 $loader->prefixDirsPsr4 = ComposerStaticInit ff01eae3483200b8989e707308263b0a::$prefixDirsPsr4;44 $loader->classMap = ComposerStaticInit ff01eae3483200b8989e707308263b0a::$classMap;42 $loader->prefixLengthsPsr4 = ComposerStaticInit3508636542ba028db3de3daf860484bb::$prefixLengthsPsr4; 43 $loader->prefixDirsPsr4 = ComposerStaticInit3508636542ba028db3de3daf860484bb::$prefixDirsPsr4; 44 $loader->classMap = ComposerStaticInit3508636542ba028db3de3daf860484bb::$classMap; 45 45 46 46 }, null, ClassLoader::class); -
emailoctopus/trunk/vendor/composer/installed.php
r2833885 r2842796 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' 0ff7e63331a7c8b6b2570d5ca630888f61ed09bd',6 'reference' => 'fdc8d3ffa1ece56b1dec6c6fd8f39af8b463d880', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-master', 15 15 'version' => 'dev-master', 16 'reference' => ' 0ff7e63331a7c8b6b2570d5ca630888f61ed09bd',16 'reference' => 'fdc8d3ffa1ece56b1dec6c6fd8f39af8b463d880', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.