Changeset 2993727
- Timestamp:
- 11/10/2023 07:39:09 AM (2 years ago)
- Location:
- smaily-for-wp
- Files:
-
- 26 edited
- 1 copied
-
tags/3.1.2 (copied) (copied from smaily-for-wp/trunk)
-
tags/3.1.2/admin/class-smaily-for-wp-admin.php (modified) (2 diffs)
-
tags/3.1.2/includes/class-smaily-for-wp-block.php (modified) (1 diff)
-
tags/3.1.2/includes/class-smaily-for-wp.php (modified) (2 diffs)
-
tags/3.1.2/lang/smaily-for-wp-et.mo (modified) (previous)
-
tags/3.1.2/lang/smaily-for-wp-et.po (modified) (3 diffs)
-
tags/3.1.2/migrations/upgrade-3-0-0.php (modified) (1 diff)
-
tags/3.1.2/readme.txt (modified) (2 diffs)
-
tags/3.1.2/smaily-for-wp.php (modified) (2 diffs)
-
tags/3.1.2/vendor/autoload.php (modified) (1 diff)
-
tags/3.1.2/vendor/composer/ClassLoader.php (modified) (24 diffs)
-
tags/3.1.2/vendor/composer/autoload_real.php (modified) (2 diffs)
-
tags/3.1.2/vendor/composer/autoload_static.php (modified) (2 diffs)
-
tags/3.1.2/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/admin/class-smaily-for-wp-admin.php (modified) (2 diffs)
-
trunk/includes/class-smaily-for-wp-block.php (modified) (1 diff)
-
trunk/includes/class-smaily-for-wp.php (modified) (2 diffs)
-
trunk/lang/smaily-for-wp-et.mo (modified) (previous)
-
trunk/lang/smaily-for-wp-et.po (modified) (3 diffs)
-
trunk/migrations/upgrade-3-0-0.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/smaily-for-wp.php (modified) (2 diffs)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/ClassLoader.php (modified) (24 diffs)
-
trunk/vendor/composer/autoload_real.php (modified) (2 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
smaily-for-wp/tags/3.1.2/admin/class-smaily-for-wp-admin.php
r2873649 r2993727 68 68 wp_register_script( $this->plugin_name, SMLY4WP_PLUGIN_URL . '/admin/js/smaily-for-wp-admin.js', array( 'jquery' ), $this->version, false ); 69 69 wp_enqueue_script( $this->plugin_name ); 70 wp_ localize_script( $this->plugin_name, 'smaily_for_wp', array( 'ajax_url' => admin_url( 'admin-ajax.php' ) ));70 wp_add_inline_script( $this->plugin_name, 'var smaily_for_wp = ' . json_encode( array( 'ajax_url' => admin_url( 'admin-ajax.php' ) ) ) . ';' ); 71 71 } 72 72 … … 121 121 ); 122 122 123 wp_localize_script( 124 $this->plugin_name, 125 'autoresponders', 126 json_encode( $autoresponders ) 127 ); 123 wp_add_inline_script( $this->plugin_name, 'var autoresponders = ' . json_encode( $autoresponders ) . ';' ); 128 124 } 129 125 -
smaily-for-wp/tags/3.1.2/includes/class-smaily-for-wp-block.php
r2873649 r2993727 53 53 54 54 /** 55 * Register block. 56 * 57 * @since 3.1.2 58 * @access public 59 */ 60 public function init() { 61 register_block_type( 62 SMLY4WP_PLUGIN_PATH . '/blocks', 63 array( 64 'render_callback' => array( $this, 'render' ), 65 ) 66 ); 67 } 68 69 /** 55 70 * Render Gutenberg block using the widget shortcode renderer. 56 71 * -
smaily-for-wp/tags/3.1.2/includes/class-smaily-for-wp.php
r2873649 r2993727 66 66 $this->version = SMLY4WP_PLUGIN_VERSION; 67 67 $this->plugin_name = 'smaily-for-wp'; 68 68 69 $this->load_dependencies(); 69 70 $this->set_locale(); 70 71 $this->define_lifecycle_hooks(); 71 $this-> init_blocks();72 $this->register_blocks(); 72 73 $this->define_admin_hooks(); 73 74 $this->define_public_hooks(); … … 130 131 * @access private 131 132 */ 132 private function init_blocks() {133 private function register_blocks() { 133 134 $plugin_block = new Smaily_For_WP_Block( $this->options, $this->get_plugin_name(), $this->get_version() ); 134 135 register_block_type( 136 SMLY4WP_PLUGIN_PATH . '/blocks', 137 array( 138 'render_callback' => array( $plugin_block, 'render' ), 139 ) 140 ); 135 $this->loader->add_action( 'init', $plugin_block, 'init' ); 141 136 } 142 137 -
smaily-for-wp/tags/3.1.2/lang/smaily-for-wp-et.po
r2887377 r2993727 2 2 msgstr "" 3 3 "Project-Id-Version: Smaily for WP\n" 4 "POT-Creation-Date: 2023- 03-27 10:00+0300\n"5 "PO-Revision-Date: 2023- 03-27 10:00+0300\n"4 "POT-Creation-Date: 2023-11-10 09:31+0200\n" 5 "PO-Revision-Date: 2023-11-10 09:31+0200\n" 6 6 "Last-Translator: Smaily <[email protected]>\n" 7 7 "Language-Team: Smaily <[email protected]>\n" … … 11 11 "Content-Transfer-Encoding: 8bit\n" 12 12 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 13 "X-Generator: Poedit 3. 2.2\n"13 "X-Generator: Poedit 3.4.1\n" 14 14 "X-Poedit-Basepath: ..\n" 15 15 "X-Poedit-KeywordsList: __;_e;_n:1,2;_n_noop:1,2;_x:1,2c;_nx:4c,1,2;" … … 23 23 msgstr "Ilma automaatvastajata vorm" 24 24 25 #: admin/class-smaily-for-wp-admin.php:2 2125 #: admin/class-smaily-for-wp-admin.php:217 26 26 msgid "Please enter subdomain!" 27 27 msgstr "Palun sisesta alamdomeen!" 28 28 29 #: admin/class-smaily-for-wp-admin.php:22 529 #: admin/class-smaily-for-wp-admin.php:221 30 30 msgid "Please enter username!" 31 31 msgstr "Palun sisesta kasutajatunnus!" 32 32 33 #: admin/class-smaily-for-wp-admin.php:22 933 #: admin/class-smaily-for-wp-admin.php:225 34 34 msgid "Please enter password!" 35 35 msgstr "Palun sisesta parool!" 36 36 37 #: admin/class-smaily-for-wp-admin.php:24 537 #: admin/class-smaily-for-wp-admin.php:241 38 38 msgid "Wrong credentials" 39 39 msgstr "Valed autentimise tunnused" 40 40 41 #: admin/class-smaily-for-wp-admin.php:2 5041 #: admin/class-smaily-for-wp-admin.php:246 42 42 msgid "Error in subdomain" 43 43 msgstr "Viga alamdomeenis" 44 44 45 #: admin/class-smaily-for-wp-admin.php:2 6045 #: admin/class-smaily-for-wp-admin.php:256 46 46 msgid "Something went wrong with request to Smaily" 47 47 msgstr "Ilmnes probleem Smaily-ga ühendamisel" 48 48 49 #: admin/class-smaily-for-wp-admin.php:26 949 #: admin/class-smaily-for-wp-admin.php:265 50 50 msgid "Credentials validated." 51 51 msgstr "Autentimise tunnused valideeritud." 52 52 53 #: admin/class-smaily-for-wp-admin.php:28 653 #: admin/class-smaily-for-wp-admin.php:282 54 54 msgid "Credentials removed." 55 55 msgstr "Autentimise tunnused eemaldatud." 56 56 57 #: admin/class-smaily-for-wp-admin.php: 30357 #: admin/class-smaily-for-wp-admin.php:299 58 58 msgid "Newsletter subscription form reset to default." 59 59 msgstr "Liitumisvormi kood taasloodud." 60 60 61 #: admin/class-smaily-for-wp-admin.php:3 4261 #: admin/class-smaily-for-wp-admin.php:338 62 62 msgid "Changes saved." 63 63 msgstr "Salvestatud." -
smaily-for-wp/tags/3.1.2/migrations/upgrade-3-0-0.php
r2873649 r2993727 16 16 global $wpdb; 17 17 18 if ( $wpdb->get_var( "SHOW TABLES LIKE {$wpdb->prefix}smaily_config") === $wpdb->prefix . 'smaily_config' ) {18 if ( $wpdb->get_var( $wpdb->prepare( 'SHOW TABLES LIKE %s', $wpdb->prefix . 'smaily_config' ) ) === $wpdb->prefix . 'smaily_config' ) { 19 19 $config = $wpdb->get_row( "SELECT * FROM {$wpdb->prefix}smaily_config LIMIT 1", ARRAY_A ); 20 20 // Get saved autoresponder ID. -
smaily-for-wp/tags/3.1.2/readme.txt
r2887377 r2993727 4 4 Requires PHP: 5.6 5 5 Requires at least: 4.0 6 Stable tag: 3.1. 16 Stable tag: 3.1.2 7 7 Tags: widget, plugin, sidebar, api, mail, email, marketing, smaily 8 Tested up to: 6. 28 Tested up to: 6.4 9 9 10 10 Smaily newsletter subscription plugin for WordPress … … 76 76 77 77 == Changelog == 78 79 = 3.1.2 = 80 - Resolve plugin notices on plugin activation and page editing 78 81 79 82 = 3.1.1 = -
smaily-for-wp/tags/3.1.2/smaily-for-wp.php
r2887377 r2993727 10 10 * Text Domain: smaily-for-wp 11 11 * Description: Smaily newsletter subscription form. 12 * Version: 3.1. 112 * Version: 3.1.2 13 13 * Author: Sendsmaily LLC 14 14 * Author URI: https://smaily.com … … 25 25 * Current plugin version. 26 26 */ 27 define( 'SMLY4WP_PLUGIN_VERSION', '3.1. 1' );27 define( 'SMLY4WP_PLUGIN_VERSION', '3.1.2' ); 28 28 29 29 /** -
smaily-for-wp/tags/3.1.2/vendor/autoload.php
r2887377 r2993727 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit 51647f8c02733dabf2b3c873ad223d64::getLoader();25 return ComposerAutoloaderInit185d16ccea71d6c4feacf865d40f5b9a::getLoader(); -
smaily-for-wp/tags/3.1.2/vendor/composer/ClassLoader.php
r2873649 r2993727 46 46 private static $includeFile; 47 47 48 /** @var ?string*/48 /** @var string|null */ 49 49 private $vendorDir; 50 50 51 51 // PSR-4 52 52 /** 53 * @var array[] 54 * @psalm-var array<string, array<string, int>> 53 * @var array<string, array<string, int>> 55 54 */ 56 55 private $prefixLengthsPsr4 = array(); 57 56 /** 58 * @var array[] 59 * @psalm-var array<string, array<int, string>> 57 * @var array<string, list<string>> 60 58 */ 61 59 private $prefixDirsPsr4 = array(); 62 60 /** 63 * @var array[] 64 * @psalm-var array<string, string> 61 * @var list<string> 65 62 */ 66 63 private $fallbackDirsPsr4 = array(); … … 68 65 // PSR-0 69 66 /** 70 * @var array[] 71 * @psalm-var array<string, array<string, string[]>> 67 * List of PSR-0 prefixes 68 * 69 * Structured as array('F (first letter)' => array('Foo\Bar (full prefix)' => array('path', 'path2'))) 70 * 71 * @var array<string, array<string, list<string>>> 72 72 */ 73 73 private $prefixesPsr0 = array(); 74 74 /** 75 * @var array[] 76 * @psalm-var array<string, string> 75 * @var list<string> 77 76 */ 78 77 private $fallbackDirsPsr0 = array(); … … 82 81 83 82 /** 84 * @var string[] 85 * @psalm-var array<string, string> 83 * @var array<string, string> 86 84 */ 87 85 private $classMap = array(); … … 91 89 92 90 /** 93 * @var bool[] 94 * @psalm-var array<string, bool> 91 * @var array<string, bool> 95 92 */ 96 93 private $missingClasses = array(); 97 94 98 /** @var ?string*/95 /** @var string|null */ 99 96 private $apcuPrefix; 100 97 101 98 /** 102 * @var self[]99 * @var array<string, self> 103 100 */ 104 101 private static $registeredLoaders = array(); 105 102 106 103 /** 107 * @param ?string$vendorDir104 * @param string|null $vendorDir 108 105 */ 109 106 public function __construct($vendorDir = null) … … 114 111 115 112 /** 116 * @return string[]113 * @return array<string, list<string>> 117 114 */ 118 115 public function getPrefixes() … … 126 123 127 124 /** 128 * @return array[] 129 * @psalm-return array<string, array<int, string>> 125 * @return array<string, list<string>> 130 126 */ 131 127 public function getPrefixesPsr4() … … 135 131 136 132 /** 137 * @return array[] 138 * @psalm-return array<string, string> 133 * @return list<string> 139 134 */ 140 135 public function getFallbackDirs() … … 144 139 145 140 /** 146 * @return array[] 147 * @psalm-return array<string, string> 141 * @return list<string> 148 142 */ 149 143 public function getFallbackDirsPsr4() … … 153 147 154 148 /** 155 * @return string[] Array of classname => path 156 * @psalm-return array<string, string> 149 * @return array<string, string> Array of classname => path 157 150 */ 158 151 public function getClassMap() … … 162 155 163 156 /** 164 * @param string[] $classMap Class to filename map 165 * @psalm-param array<string, string> $classMap 157 * @param array<string, string> $classMap Class to filename map 166 158 * 167 159 * @return void … … 180 172 * appending or prepending to the ones previously set for this prefix. 181 173 * 182 * @param string $prefix The prefix183 * @param string[]|string $paths The PSR-0 root directories184 * @param bool $prepend Whether to prepend the directories174 * @param string $prefix The prefix 175 * @param list<string>|string $paths The PSR-0 root directories 176 * @param bool $prepend Whether to prepend the directories 185 177 * 186 178 * @return void … … 188 180 public function add($prefix, $paths, $prepend = false) 189 181 { 182 $paths = (array) $paths; 190 183 if (!$prefix) { 191 184 if ($prepend) { 192 185 $this->fallbackDirsPsr0 = array_merge( 193 (array)$paths,186 $paths, 194 187 $this->fallbackDirsPsr0 195 188 ); … … 197 190 $this->fallbackDirsPsr0 = array_merge( 198 191 $this->fallbackDirsPsr0, 199 (array)$paths192 $paths 200 193 ); 201 194 } … … 206 199 $first = $prefix[0]; 207 200 if (!isset($this->prefixesPsr0[$first][$prefix])) { 208 $this->prefixesPsr0[$first][$prefix] = (array)$paths;201 $this->prefixesPsr0[$first][$prefix] = $paths; 209 202 210 203 return; … … 212 205 if ($prepend) { 213 206 $this->prefixesPsr0[$first][$prefix] = array_merge( 214 (array)$paths,207 $paths, 215 208 $this->prefixesPsr0[$first][$prefix] 216 209 ); … … 218 211 $this->prefixesPsr0[$first][$prefix] = array_merge( 219 212 $this->prefixesPsr0[$first][$prefix], 220 (array)$paths213 $paths 221 214 ); 222 215 } … … 227 220 * appending or prepending to the ones previously set for this namespace. 228 221 * 229 * @param string $prefix The prefix/namespace, with trailing '\\'230 * @param string[]|string $paths The PSR-4 base directories231 * @param bool $prepend Whether to prepend the directories222 * @param string $prefix The prefix/namespace, with trailing '\\' 223 * @param list<string>|string $paths The PSR-4 base directories 224 * @param bool $prepend Whether to prepend the directories 232 225 * 233 226 * @throws \InvalidArgumentException … … 237 230 public function addPsr4($prefix, $paths, $prepend = false) 238 231 { 232 $paths = (array) $paths; 239 233 if (!$prefix) { 240 234 // Register directories for the root namespace. 241 235 if ($prepend) { 242 236 $this->fallbackDirsPsr4 = array_merge( 243 (array)$paths,237 $paths, 244 238 $this->fallbackDirsPsr4 245 239 ); … … 247 241 $this->fallbackDirsPsr4 = array_merge( 248 242 $this->fallbackDirsPsr4, 249 (array)$paths243 $paths 250 244 ); 251 245 } … … 257 251 } 258 252 $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; 259 $this->prefixDirsPsr4[$prefix] = (array)$paths;253 $this->prefixDirsPsr4[$prefix] = $paths; 260 254 } elseif ($prepend) { 261 255 // Prepend directories for an already registered namespace. 262 256 $this->prefixDirsPsr4[$prefix] = array_merge( 263 (array)$paths,257 $paths, 264 258 $this->prefixDirsPsr4[$prefix] 265 259 ); … … 268 262 $this->prefixDirsPsr4[$prefix] = array_merge( 269 263 $this->prefixDirsPsr4[$prefix], 270 (array)$paths264 $paths 271 265 ); 272 266 } … … 277 271 * replacing any others previously set for this prefix. 278 272 * 279 * @param string $prefix The prefix280 * @param string[]|string $paths The PSR-0 base directories273 * @param string $prefix The prefix 274 * @param list<string>|string $paths The PSR-0 base directories 281 275 * 282 276 * @return void … … 295 289 * replacing any others previously set for this namespace. 296 290 * 297 * @param string $prefix The prefix/namespace, with trailing '\\'298 * @param string[]|string $paths The PSR-4 base directories291 * @param string $prefix The prefix/namespace, with trailing '\\' 292 * @param list<string>|string $paths The PSR-4 base directories 299 293 * 300 294 * @throws \InvalidArgumentException … … 482 476 483 477 /** 484 * Returns the currently registered loaders indexed by their corresponding vendor directories.485 * 486 * @return self[]478 * Returns the currently registered loaders keyed by their corresponding vendor directories. 479 * 480 * @return array<string, self> 487 481 */ 488 482 public static function getRegisteredLoaders() -
smaily-for-wp/tags/3.1.2/vendor/composer/autoload_real.php
r2887377 r2993727 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 51647f8c02733dabf2b3c873ad223d645 class ComposerAutoloaderInit185d16ccea71d6c4feacf865d40f5b9a 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit 51647f8c02733dabf2b3c873ad223d64', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInit185d16ccea71d6c4feacf865d40f5b9a', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 27 spl_autoload_unregister(array('ComposerAutoloaderInit 51647f8c02733dabf2b3c873ad223d64', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInit185d16ccea71d6c4feacf865d40f5b9a', 'loadClassLoader')); 28 28 29 29 require __DIR__ . '/autoload_static.php'; 30 call_user_func(\Composer\Autoload\ComposerStaticInit 51647f8c02733dabf2b3c873ad223d64::getInitializer($loader));30 call_user_func(\Composer\Autoload\ComposerStaticInit185d16ccea71d6c4feacf865d40f5b9a::getInitializer($loader)); 31 31 32 32 $loader->register(true); -
smaily-for-wp/tags/3.1.2/vendor/composer/autoload_static.php
r2887377 r2993727 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 51647f8c02733dabf2b3c873ad223d647 class ComposerStaticInit185d16ccea71d6c4feacf865d40f5b9a 8 8 { 9 9 public static $classMap = array ( … … 14 14 { 15 15 return \Closure::bind(function () use ($loader) { 16 $loader->classMap = ComposerStaticInit 51647f8c02733dabf2b3c873ad223d64::$classMap;16 $loader->classMap = ComposerStaticInit185d16ccea71d6c4feacf865d40f5b9a::$classMap; 17 17 18 18 }, null, ClassLoader::class); -
smaily-for-wp/tags/3.1.2/vendor/composer/installed.php
r2887377 r2993727 2 2 'root' => array( 3 3 'name' => 'smaily/smaily_for_wp', 4 'pretty_version' => '3.1. 1',5 'version' => '3.1. 1.0',6 'reference' => ' 79692cc8c8cf433a89e432f81da233b2463a9317',4 'pretty_version' => '3.1.2', 5 'version' => '3.1.2.0', 6 'reference' => '1f468101c333fae4d27b7f79f08fde4de3f35a09', 7 7 'type' => 'plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 'smaily/smaily_for_wp' => array( 14 'pretty_version' => '3.1. 1',15 'version' => '3.1. 1.0',16 'reference' => ' 79692cc8c8cf433a89e432f81da233b2463a9317',14 'pretty_version' => '3.1.2', 15 'version' => '3.1.2.0', 16 'reference' => '1f468101c333fae4d27b7f79f08fde4de3f35a09', 17 17 'type' => 'plugin', 18 18 'install_path' => __DIR__ . '/../../', -
smaily-for-wp/trunk/admin/class-smaily-for-wp-admin.php
r2873649 r2993727 68 68 wp_register_script( $this->plugin_name, SMLY4WP_PLUGIN_URL . '/admin/js/smaily-for-wp-admin.js', array( 'jquery' ), $this->version, false ); 69 69 wp_enqueue_script( $this->plugin_name ); 70 wp_ localize_script( $this->plugin_name, 'smaily_for_wp', array( 'ajax_url' => admin_url( 'admin-ajax.php' ) ));70 wp_add_inline_script( $this->plugin_name, 'var smaily_for_wp = ' . json_encode( array( 'ajax_url' => admin_url( 'admin-ajax.php' ) ) ) . ';' ); 71 71 } 72 72 … … 121 121 ); 122 122 123 wp_localize_script( 124 $this->plugin_name, 125 'autoresponders', 126 json_encode( $autoresponders ) 127 ); 123 wp_add_inline_script( $this->plugin_name, 'var autoresponders = ' . json_encode( $autoresponders ) . ';' ); 128 124 } 129 125 -
smaily-for-wp/trunk/includes/class-smaily-for-wp-block.php
r2873649 r2993727 53 53 54 54 /** 55 * Register block. 56 * 57 * @since 3.1.2 58 * @access public 59 */ 60 public function init() { 61 register_block_type( 62 SMLY4WP_PLUGIN_PATH . '/blocks', 63 array( 64 'render_callback' => array( $this, 'render' ), 65 ) 66 ); 67 } 68 69 /** 55 70 * Render Gutenberg block using the widget shortcode renderer. 56 71 * -
smaily-for-wp/trunk/includes/class-smaily-for-wp.php
r2873649 r2993727 66 66 $this->version = SMLY4WP_PLUGIN_VERSION; 67 67 $this->plugin_name = 'smaily-for-wp'; 68 68 69 $this->load_dependencies(); 69 70 $this->set_locale(); 70 71 $this->define_lifecycle_hooks(); 71 $this-> init_blocks();72 $this->register_blocks(); 72 73 $this->define_admin_hooks(); 73 74 $this->define_public_hooks(); … … 130 131 * @access private 131 132 */ 132 private function init_blocks() {133 private function register_blocks() { 133 134 $plugin_block = new Smaily_For_WP_Block( $this->options, $this->get_plugin_name(), $this->get_version() ); 134 135 register_block_type( 136 SMLY4WP_PLUGIN_PATH . '/blocks', 137 array( 138 'render_callback' => array( $plugin_block, 'render' ), 139 ) 140 ); 135 $this->loader->add_action( 'init', $plugin_block, 'init' ); 141 136 } 142 137 -
smaily-for-wp/trunk/lang/smaily-for-wp-et.po
r2887377 r2993727 2 2 msgstr "" 3 3 "Project-Id-Version: Smaily for WP\n" 4 "POT-Creation-Date: 2023- 03-27 10:00+0300\n"5 "PO-Revision-Date: 2023- 03-27 10:00+0300\n"4 "POT-Creation-Date: 2023-11-10 09:31+0200\n" 5 "PO-Revision-Date: 2023-11-10 09:31+0200\n" 6 6 "Last-Translator: Smaily <[email protected]>\n" 7 7 "Language-Team: Smaily <[email protected]>\n" … … 11 11 "Content-Transfer-Encoding: 8bit\n" 12 12 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 13 "X-Generator: Poedit 3. 2.2\n"13 "X-Generator: Poedit 3.4.1\n" 14 14 "X-Poedit-Basepath: ..\n" 15 15 "X-Poedit-KeywordsList: __;_e;_n:1,2;_n_noop:1,2;_x:1,2c;_nx:4c,1,2;" … … 23 23 msgstr "Ilma automaatvastajata vorm" 24 24 25 #: admin/class-smaily-for-wp-admin.php:2 2125 #: admin/class-smaily-for-wp-admin.php:217 26 26 msgid "Please enter subdomain!" 27 27 msgstr "Palun sisesta alamdomeen!" 28 28 29 #: admin/class-smaily-for-wp-admin.php:22 529 #: admin/class-smaily-for-wp-admin.php:221 30 30 msgid "Please enter username!" 31 31 msgstr "Palun sisesta kasutajatunnus!" 32 32 33 #: admin/class-smaily-for-wp-admin.php:22 933 #: admin/class-smaily-for-wp-admin.php:225 34 34 msgid "Please enter password!" 35 35 msgstr "Palun sisesta parool!" 36 36 37 #: admin/class-smaily-for-wp-admin.php:24 537 #: admin/class-smaily-for-wp-admin.php:241 38 38 msgid "Wrong credentials" 39 39 msgstr "Valed autentimise tunnused" 40 40 41 #: admin/class-smaily-for-wp-admin.php:2 5041 #: admin/class-smaily-for-wp-admin.php:246 42 42 msgid "Error in subdomain" 43 43 msgstr "Viga alamdomeenis" 44 44 45 #: admin/class-smaily-for-wp-admin.php:2 6045 #: admin/class-smaily-for-wp-admin.php:256 46 46 msgid "Something went wrong with request to Smaily" 47 47 msgstr "Ilmnes probleem Smaily-ga ühendamisel" 48 48 49 #: admin/class-smaily-for-wp-admin.php:26 949 #: admin/class-smaily-for-wp-admin.php:265 50 50 msgid "Credentials validated." 51 51 msgstr "Autentimise tunnused valideeritud." 52 52 53 #: admin/class-smaily-for-wp-admin.php:28 653 #: admin/class-smaily-for-wp-admin.php:282 54 54 msgid "Credentials removed." 55 55 msgstr "Autentimise tunnused eemaldatud." 56 56 57 #: admin/class-smaily-for-wp-admin.php: 30357 #: admin/class-smaily-for-wp-admin.php:299 58 58 msgid "Newsletter subscription form reset to default." 59 59 msgstr "Liitumisvormi kood taasloodud." 60 60 61 #: admin/class-smaily-for-wp-admin.php:3 4261 #: admin/class-smaily-for-wp-admin.php:338 62 62 msgid "Changes saved." 63 63 msgstr "Salvestatud." -
smaily-for-wp/trunk/migrations/upgrade-3-0-0.php
r2873649 r2993727 16 16 global $wpdb; 17 17 18 if ( $wpdb->get_var( "SHOW TABLES LIKE {$wpdb->prefix}smaily_config") === $wpdb->prefix . 'smaily_config' ) {18 if ( $wpdb->get_var( $wpdb->prepare( 'SHOW TABLES LIKE %s', $wpdb->prefix . 'smaily_config' ) ) === $wpdb->prefix . 'smaily_config' ) { 19 19 $config = $wpdb->get_row( "SELECT * FROM {$wpdb->prefix}smaily_config LIMIT 1", ARRAY_A ); 20 20 // Get saved autoresponder ID. -
smaily-for-wp/trunk/readme.txt
r2887377 r2993727 4 4 Requires PHP: 5.6 5 5 Requires at least: 4.0 6 Stable tag: 3.1. 16 Stable tag: 3.1.2 7 7 Tags: widget, plugin, sidebar, api, mail, email, marketing, smaily 8 Tested up to: 6. 28 Tested up to: 6.4 9 9 10 10 Smaily newsletter subscription plugin for WordPress … … 76 76 77 77 == Changelog == 78 79 = 3.1.2 = 80 - Resolve plugin notices on plugin activation and page editing 78 81 79 82 = 3.1.1 = -
smaily-for-wp/trunk/smaily-for-wp.php
r2887377 r2993727 10 10 * Text Domain: smaily-for-wp 11 11 * Description: Smaily newsletter subscription form. 12 * Version: 3.1. 112 * Version: 3.1.2 13 13 * Author: Sendsmaily LLC 14 14 * Author URI: https://smaily.com … … 25 25 * Current plugin version. 26 26 */ 27 define( 'SMLY4WP_PLUGIN_VERSION', '3.1. 1' );27 define( 'SMLY4WP_PLUGIN_VERSION', '3.1.2' ); 28 28 29 29 /** -
smaily-for-wp/trunk/vendor/autoload.php
r2887377 r2993727 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit 51647f8c02733dabf2b3c873ad223d64::getLoader();25 return ComposerAutoloaderInit185d16ccea71d6c4feacf865d40f5b9a::getLoader(); -
smaily-for-wp/trunk/vendor/composer/ClassLoader.php
r2873649 r2993727 46 46 private static $includeFile; 47 47 48 /** @var ?string*/48 /** @var string|null */ 49 49 private $vendorDir; 50 50 51 51 // PSR-4 52 52 /** 53 * @var array[] 54 * @psalm-var array<string, array<string, int>> 53 * @var array<string, array<string, int>> 55 54 */ 56 55 private $prefixLengthsPsr4 = array(); 57 56 /** 58 * @var array[] 59 * @psalm-var array<string, array<int, string>> 57 * @var array<string, list<string>> 60 58 */ 61 59 private $prefixDirsPsr4 = array(); 62 60 /** 63 * @var array[] 64 * @psalm-var array<string, string> 61 * @var list<string> 65 62 */ 66 63 private $fallbackDirsPsr4 = array(); … … 68 65 // PSR-0 69 66 /** 70 * @var array[] 71 * @psalm-var array<string, array<string, string[]>> 67 * List of PSR-0 prefixes 68 * 69 * Structured as array('F (first letter)' => array('Foo\Bar (full prefix)' => array('path', 'path2'))) 70 * 71 * @var array<string, array<string, list<string>>> 72 72 */ 73 73 private $prefixesPsr0 = array(); 74 74 /** 75 * @var array[] 76 * @psalm-var array<string, string> 75 * @var list<string> 77 76 */ 78 77 private $fallbackDirsPsr0 = array(); … … 82 81 83 82 /** 84 * @var string[] 85 * @psalm-var array<string, string> 83 * @var array<string, string> 86 84 */ 87 85 private $classMap = array(); … … 91 89 92 90 /** 93 * @var bool[] 94 * @psalm-var array<string, bool> 91 * @var array<string, bool> 95 92 */ 96 93 private $missingClasses = array(); 97 94 98 /** @var ?string*/95 /** @var string|null */ 99 96 private $apcuPrefix; 100 97 101 98 /** 102 * @var self[]99 * @var array<string, self> 103 100 */ 104 101 private static $registeredLoaders = array(); 105 102 106 103 /** 107 * @param ?string$vendorDir104 * @param string|null $vendorDir 108 105 */ 109 106 public function __construct($vendorDir = null) … … 114 111 115 112 /** 116 * @return string[]113 * @return array<string, list<string>> 117 114 */ 118 115 public function getPrefixes() … … 126 123 127 124 /** 128 * @return array[] 129 * @psalm-return array<string, array<int, string>> 125 * @return array<string, list<string>> 130 126 */ 131 127 public function getPrefixesPsr4() … … 135 131 136 132 /** 137 * @return array[] 138 * @psalm-return array<string, string> 133 * @return list<string> 139 134 */ 140 135 public function getFallbackDirs() … … 144 139 145 140 /** 146 * @return array[] 147 * @psalm-return array<string, string> 141 * @return list<string> 148 142 */ 149 143 public function getFallbackDirsPsr4() … … 153 147 154 148 /** 155 * @return string[] Array of classname => path 156 * @psalm-return array<string, string> 149 * @return array<string, string> Array of classname => path 157 150 */ 158 151 public function getClassMap() … … 162 155 163 156 /** 164 * @param string[] $classMap Class to filename map 165 * @psalm-param array<string, string> $classMap 157 * @param array<string, string> $classMap Class to filename map 166 158 * 167 159 * @return void … … 180 172 * appending or prepending to the ones previously set for this prefix. 181 173 * 182 * @param string $prefix The prefix183 * @param string[]|string $paths The PSR-0 root directories184 * @param bool $prepend Whether to prepend the directories174 * @param string $prefix The prefix 175 * @param list<string>|string $paths The PSR-0 root directories 176 * @param bool $prepend Whether to prepend the directories 185 177 * 186 178 * @return void … … 188 180 public function add($prefix, $paths, $prepend = false) 189 181 { 182 $paths = (array) $paths; 190 183 if (!$prefix) { 191 184 if ($prepend) { 192 185 $this->fallbackDirsPsr0 = array_merge( 193 (array)$paths,186 $paths, 194 187 $this->fallbackDirsPsr0 195 188 ); … … 197 190 $this->fallbackDirsPsr0 = array_merge( 198 191 $this->fallbackDirsPsr0, 199 (array)$paths192 $paths 200 193 ); 201 194 } … … 206 199 $first = $prefix[0]; 207 200 if (!isset($this->prefixesPsr0[$first][$prefix])) { 208 $this->prefixesPsr0[$first][$prefix] = (array)$paths;201 $this->prefixesPsr0[$first][$prefix] = $paths; 209 202 210 203 return; … … 212 205 if ($prepend) { 213 206 $this->prefixesPsr0[$first][$prefix] = array_merge( 214 (array)$paths,207 $paths, 215 208 $this->prefixesPsr0[$first][$prefix] 216 209 ); … … 218 211 $this->prefixesPsr0[$first][$prefix] = array_merge( 219 212 $this->prefixesPsr0[$first][$prefix], 220 (array)$paths213 $paths 221 214 ); 222 215 } … … 227 220 * appending or prepending to the ones previously set for this namespace. 228 221 * 229 * @param string $prefix The prefix/namespace, with trailing '\\'230 * @param string[]|string $paths The PSR-4 base directories231 * @param bool $prepend Whether to prepend the directories222 * @param string $prefix The prefix/namespace, with trailing '\\' 223 * @param list<string>|string $paths The PSR-4 base directories 224 * @param bool $prepend Whether to prepend the directories 232 225 * 233 226 * @throws \InvalidArgumentException … … 237 230 public function addPsr4($prefix, $paths, $prepend = false) 238 231 { 232 $paths = (array) $paths; 239 233 if (!$prefix) { 240 234 // Register directories for the root namespace. 241 235 if ($prepend) { 242 236 $this->fallbackDirsPsr4 = array_merge( 243 (array)$paths,237 $paths, 244 238 $this->fallbackDirsPsr4 245 239 ); … … 247 241 $this->fallbackDirsPsr4 = array_merge( 248 242 $this->fallbackDirsPsr4, 249 (array)$paths243 $paths 250 244 ); 251 245 } … … 257 251 } 258 252 $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; 259 $this->prefixDirsPsr4[$prefix] = (array)$paths;253 $this->prefixDirsPsr4[$prefix] = $paths; 260 254 } elseif ($prepend) { 261 255 // Prepend directories for an already registered namespace. 262 256 $this->prefixDirsPsr4[$prefix] = array_merge( 263 (array)$paths,257 $paths, 264 258 $this->prefixDirsPsr4[$prefix] 265 259 ); … … 268 262 $this->prefixDirsPsr4[$prefix] = array_merge( 269 263 $this->prefixDirsPsr4[$prefix], 270 (array)$paths264 $paths 271 265 ); 272 266 } … … 277 271 * replacing any others previously set for this prefix. 278 272 * 279 * @param string $prefix The prefix280 * @param string[]|string $paths The PSR-0 base directories273 * @param string $prefix The prefix 274 * @param list<string>|string $paths The PSR-0 base directories 281 275 * 282 276 * @return void … … 295 289 * replacing any others previously set for this namespace. 296 290 * 297 * @param string $prefix The prefix/namespace, with trailing '\\'298 * @param string[]|string $paths The PSR-4 base directories291 * @param string $prefix The prefix/namespace, with trailing '\\' 292 * @param list<string>|string $paths The PSR-4 base directories 299 293 * 300 294 * @throws \InvalidArgumentException … … 482 476 483 477 /** 484 * Returns the currently registered loaders indexed by their corresponding vendor directories.485 * 486 * @return self[]478 * Returns the currently registered loaders keyed by their corresponding vendor directories. 479 * 480 * @return array<string, self> 487 481 */ 488 482 public static function getRegisteredLoaders() -
smaily-for-wp/trunk/vendor/composer/autoload_real.php
r2887377 r2993727 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 51647f8c02733dabf2b3c873ad223d645 class ComposerAutoloaderInit185d16ccea71d6c4feacf865d40f5b9a 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit 51647f8c02733dabf2b3c873ad223d64', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInit185d16ccea71d6c4feacf865d40f5b9a', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 27 spl_autoload_unregister(array('ComposerAutoloaderInit 51647f8c02733dabf2b3c873ad223d64', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInit185d16ccea71d6c4feacf865d40f5b9a', 'loadClassLoader')); 28 28 29 29 require __DIR__ . '/autoload_static.php'; 30 call_user_func(\Composer\Autoload\ComposerStaticInit 51647f8c02733dabf2b3c873ad223d64::getInitializer($loader));30 call_user_func(\Composer\Autoload\ComposerStaticInit185d16ccea71d6c4feacf865d40f5b9a::getInitializer($loader)); 31 31 32 32 $loader->register(true); -
smaily-for-wp/trunk/vendor/composer/autoload_static.php
r2887377 r2993727 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 51647f8c02733dabf2b3c873ad223d647 class ComposerStaticInit185d16ccea71d6c4feacf865d40f5b9a 8 8 { 9 9 public static $classMap = array ( … … 14 14 { 15 15 return \Closure::bind(function () use ($loader) { 16 $loader->classMap = ComposerStaticInit 51647f8c02733dabf2b3c873ad223d64::$classMap;16 $loader->classMap = ComposerStaticInit185d16ccea71d6c4feacf865d40f5b9a::$classMap; 17 17 18 18 }, null, ClassLoader::class); -
smaily-for-wp/trunk/vendor/composer/installed.php
r2887377 r2993727 2 2 'root' => array( 3 3 'name' => 'smaily/smaily_for_wp', 4 'pretty_version' => '3.1. 1',5 'version' => '3.1. 1.0',6 'reference' => ' 79692cc8c8cf433a89e432f81da233b2463a9317',4 'pretty_version' => '3.1.2', 5 'version' => '3.1.2.0', 6 'reference' => '1f468101c333fae4d27b7f79f08fde4de3f35a09', 7 7 'type' => 'plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 'smaily/smaily_for_wp' => array( 14 'pretty_version' => '3.1. 1',15 'version' => '3.1. 1.0',16 'reference' => ' 79692cc8c8cf433a89e432f81da233b2463a9317',14 'pretty_version' => '3.1.2', 15 'version' => '3.1.2.0', 16 'reference' => '1f468101c333fae4d27b7f79f08fde4de3f35a09', 17 17 'type' => 'plugin', 18 18 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.