Version Description
Download this release
Release Info
Developer | themeisle |
Plugin | Gutenberg Blocks and Template Library by Otter |
Version | 1.6.8 |
Comparing to | |
See all releases |
Code changes from version 1.6.7 to 1.6.8
- CHANGELOG.md +4 -0
- class-otter-blocks.php +2 -0
- otter-blocks.php +2 -2
- readme.md +7 -0
- readme.txt +7 -0
- vendor/autoload.php +1 -1
- vendor/composer/autoload_files.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +5 -5
- vendor/composer/installed.php +4 -4
CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
##### [Version 1.6.7](https://github.com/Codeinwp/otter-blocks/compare/v1.6.6...v1.6.7) (2021-06-11)
|
2 |
|
3 |
* Enhance translation compatibility
|
1 |
+
##### [Version 1.6.8](https://github.com/Codeinwp/otter-blocks/compare/v1.6.7...v1.6.8) (2021-06-11)
|
2 |
+
|
3 |
+
* add JS translation compatibility
|
4 |
+
|
5 |
##### [Version 1.6.7](https://github.com/Codeinwp/otter-blocks/compare/v1.6.6...v1.6.7) (2021-06-11)
|
6 |
|
7 |
* Enhance translation compatibility
|
class-otter-blocks.php
CHANGED
@@ -275,6 +275,8 @@ class Otter_Blocks {
|
|
275 |
true
|
276 |
);
|
277 |
|
|
|
|
|
278 |
wp_localize_script(
|
279 |
'otter-blocks-scripts',
|
280 |
'otterObj',
|
275 |
true
|
276 |
);
|
277 |
|
278 |
+
wp_set_script_translations( 'otter-blocks-scripts', 'otter-blocks' );
|
279 |
+
|
280 |
wp_localize_script(
|
281 |
'otter-blocks-scripts',
|
282 |
'otterObj',
|
otter-blocks.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Plugin Name: Gutenberg Blocks and Template Library by Otter
|
8 |
* Plugin URI: https://themeisle.com/plugins/otter-blocks
|
9 |
* Description: Create beautiful and attracting posts, pages, and landing pages with Gutenberg Blocks and Template Library by Otter. Otter comes with dozens of Gutenberg blocks that are all you need to build beautiful pages.
|
10 |
-
* Version: 1.6.
|
11 |
* Author: ThemeIsle
|
12 |
* Author URI: https://themeisle.com
|
13 |
* License: GPL-2.0+
|
@@ -26,7 +26,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
26 |
define( 'OTTER_BLOCKS_BASEFILE', __FILE__ );
|
27 |
define( 'OTTER_BLOCKS_URL', plugins_url( '/', __FILE__ ) );
|
28 |
define( 'OTTER_BLOCKS_PATH', dirname( __FILE__ ) );
|
29 |
-
define( 'OTTER_BLOCKS_VERSION', '1.6.
|
30 |
define( 'OTTER_BLOCKS_DEV', false );
|
31 |
|
32 |
$vendor_file = OTTER_BLOCKS_PATH . '/vendor/autoload.php';
|
7 |
* Plugin Name: Gutenberg Blocks and Template Library by Otter
|
8 |
* Plugin URI: https://themeisle.com/plugins/otter-blocks
|
9 |
* Description: Create beautiful and attracting posts, pages, and landing pages with Gutenberg Blocks and Template Library by Otter. Otter comes with dozens of Gutenberg blocks that are all you need to build beautiful pages.
|
10 |
+
* Version: 1.6.8
|
11 |
* Author: ThemeIsle
|
12 |
* Author URI: https://themeisle.com
|
13 |
* License: GPL-2.0+
|
26 |
define( 'OTTER_BLOCKS_BASEFILE', __FILE__ );
|
27 |
define( 'OTTER_BLOCKS_URL', plugins_url( '/', __FILE__ ) );
|
28 |
define( 'OTTER_BLOCKS_PATH', dirname( __FILE__ ) );
|
29 |
+
define( 'OTTER_BLOCKS_VERSION', '1.6.8' );
|
30 |
define( 'OTTER_BLOCKS_DEV', false );
|
31 |
|
32 |
$vendor_file = OTTER_BLOCKS_PATH . '/vendor/autoload.php';
|
readme.md
CHANGED
@@ -91,6 +91,13 @@ Help your site shine with design options built to enhance your brand. Every bloc
|
|
91 |
|
92 |
## Changelog ##
|
93 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
##### [Version 1.6.7](https://github.com/Codeinwp/otter-blocks/compare/v1.6.6...v1.6.7) (2021-06-11)
|
95 |
|
96 |
* Enhance translation compatibility
|
91 |
|
92 |
## Changelog ##
|
93 |
|
94 |
+
##### [Version 1.6.8](https://github.com/Codeinwp/otter-blocks/compare/v1.6.7...v1.6.8) (2021-06-11)
|
95 |
+
|
96 |
+
* add JS translation compatibility
|
97 |
+
|
98 |
+
|
99 |
+
|
100 |
+
|
101 |
##### [Version 1.6.7](https://github.com/Codeinwp/otter-blocks/compare/v1.6.6...v1.6.7) (2021-06-11)
|
102 |
|
103 |
* Enhance translation compatibility
|
readme.txt
CHANGED
@@ -91,6 +91,13 @@ Help your site shine with design options built to enhance your brand. Every bloc
|
|
91 |
|
92 |
== Changelog ==
|
93 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
##### [Version 1.6.7](https://github.com/Codeinwp/otter-blocks/compare/v1.6.6...v1.6.7) (2021-06-11)
|
95 |
|
96 |
* Enhance translation compatibility
|
91 |
|
92 |
== Changelog ==
|
93 |
|
94 |
+
##### [Version 1.6.8](https://github.com/Codeinwp/otter-blocks/compare/v1.6.7...v1.6.8) (2021-06-11)
|
95 |
+
|
96 |
+
* add JS translation compatibility
|
97 |
+
|
98 |
+
|
99 |
+
|
100 |
+
|
101 |
##### [Version 1.6.7](https://github.com/Codeinwp/otter-blocks/compare/v1.6.6...v1.6.7) (2021-06-11)
|
102 |
|
103 |
* Enhance translation compatibility
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit23dafbdd30eec207ccd92cde2e20c5d9::getLoader();
|
vendor/composer/autoload_files.php
CHANGED
@@ -7,6 +7,6 @@ $baseDir = dirname($vendorDir);
|
|
7 |
|
8 |
return array(
|
9 |
'4940672e65e7c6c88ed7150711580427' => $vendorDir . '/codeinwp/gutenberg-animation/load.php',
|
10 |
-
'2c2d2fe92db4cd03403dbb108ac263b7' => $vendorDir . '/codeinwp/gutenberg-menu-icons/load.php',
|
11 |
'121493e618f7dac5b708da14e4109f9a' => $vendorDir . '/codeinwp/gutenberg-css/load.php',
|
|
|
12 |
);
|
7 |
|
8 |
return array(
|
9 |
'4940672e65e7c6c88ed7150711580427' => $vendorDir . '/codeinwp/gutenberg-animation/load.php',
|
|
|
10 |
'121493e618f7dac5b708da14e4109f9a' => $vendorDir . '/codeinwp/gutenberg-css/load.php',
|
11 |
+
'2c2d2fe92db4cd03403dbb108ac263b7' => $vendorDir . '/codeinwp/gutenberg-menu-icons/load.php',
|
12 |
);
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -24,15 +24,15 @@ class ComposerAutoloaderInitfc35f7f1eb55dcf309e94ecf7f82fafe
|
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
-
spl_autoload_register(array('
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
29 |
-
spl_autoload_unregister(array('
|
30 |
|
31 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
32 |
if ($useStaticLoader) {
|
33 |
require __DIR__ . '/autoload_static.php';
|
34 |
|
35 |
-
call_user_func(\Composer\Autoload\
|
36 |
} else {
|
37 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
38 |
foreach ($map as $namespace => $path) {
|
@@ -53,19 +53,19 @@ class ComposerAutoloaderInitfc35f7f1eb55dcf309e94ecf7f82fafe
|
|
53 |
$loader->register(true);
|
54 |
|
55 |
if ($useStaticLoader) {
|
56 |
-
$includeFiles = Composer\Autoload\
|
57 |
} else {
|
58 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
59 |
}
|
60 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
61 |
-
|
62 |
}
|
63 |
|
64 |
return $loader;
|
65 |
}
|
66 |
}
|
67 |
|
68 |
-
function
|
69 |
{
|
70 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
71 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit23dafbdd30eec207ccd92cde2e20c5d9
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
+
spl_autoload_register(array('ComposerAutoloaderInit23dafbdd30eec207ccd92cde2e20c5d9', 'loadClassLoader'), true, true);
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
29 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit23dafbdd30eec207ccd92cde2e20c5d9', 'loadClassLoader'));
|
30 |
|
31 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
32 |
if ($useStaticLoader) {
|
33 |
require __DIR__ . '/autoload_static.php';
|
34 |
|
35 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit23dafbdd30eec207ccd92cde2e20c5d9::getInitializer($loader));
|
36 |
} else {
|
37 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
38 |
foreach ($map as $namespace => $path) {
|
53 |
$loader->register(true);
|
54 |
|
55 |
if ($useStaticLoader) {
|
56 |
+
$includeFiles = Composer\Autoload\ComposerStaticInit23dafbdd30eec207ccd92cde2e20c5d9::$files;
|
57 |
} else {
|
58 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
59 |
}
|
60 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
61 |
+
composerRequire23dafbdd30eec207ccd92cde2e20c5d9($fileIdentifier, $file);
|
62 |
}
|
63 |
|
64 |
return $loader;
|
65 |
}
|
66 |
}
|
67 |
|
68 |
+
function composerRequire23dafbdd30eec207ccd92cde2e20c5d9($fileIdentifier, $file)
|
69 |
{
|
70 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
71 |
require $file;
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,12 +4,12 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'4940672e65e7c6c88ed7150711580427' => __DIR__ . '/..' . '/codeinwp/gutenberg-animation/load.php',
|
11 |
-
'2c2d2fe92db4cd03403dbb108ac263b7' => __DIR__ . '/..' . '/codeinwp/gutenberg-menu-icons/load.php',
|
12 |
'121493e618f7dac5b708da14e4109f9a' => __DIR__ . '/..' . '/codeinwp/gutenberg-css/load.php',
|
|
|
13 |
);
|
14 |
|
15 |
public static $prefixLengthsPsr4 = array (
|
@@ -93,9 +93,9 @@ class ComposerStaticInitfc35f7f1eb55dcf309e94ecf7f82fafe
|
|
93 |
public static function getInitializer(ClassLoader $loader)
|
94 |
{
|
95 |
return \Closure::bind(function () use ($loader) {
|
96 |
-
$loader->prefixLengthsPsr4 =
|
97 |
-
$loader->prefixDirsPsr4 =
|
98 |
-
$loader->classMap =
|
99 |
|
100 |
}, null, ClassLoader::class);
|
101 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit23dafbdd30eec207ccd92cde2e20c5d9
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'4940672e65e7c6c88ed7150711580427' => __DIR__ . '/..' . '/codeinwp/gutenberg-animation/load.php',
|
|
|
11 |
'121493e618f7dac5b708da14e4109f9a' => __DIR__ . '/..' . '/codeinwp/gutenberg-css/load.php',
|
12 |
+
'2c2d2fe92db4cd03403dbb108ac263b7' => __DIR__ . '/..' . '/codeinwp/gutenberg-menu-icons/load.php',
|
13 |
);
|
14 |
|
15 |
public static $prefixLengthsPsr4 = array (
|
93 |
public static function getInitializer(ClassLoader $loader)
|
94 |
{
|
95 |
return \Closure::bind(function () use ($loader) {
|
96 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit23dafbdd30eec207ccd92cde2e20c5d9::$prefixLengthsPsr4;
|
97 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit23dafbdd30eec207ccd92cde2e20c5d9::$prefixDirsPsr4;
|
98 |
+
$loader->classMap = ComposerStaticInit23dafbdd30eec207ccd92cde2e20c5d9::$classMap;
|
99 |
|
100 |
}, null, ClassLoader::class);
|
101 |
}
|
vendor/composer/installed.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
-
'pretty_version' => '1.6.
|
4 |
-
'version' => '1.6.
|
5 |
'type' => 'wordpress-plugin',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
@@ -47,8 +47,8 @@
|
|
47 |
'dev_requirement' => false,
|
48 |
),
|
49 |
'codeinwp/otter-blocks' => array(
|
50 |
-
'pretty_version' => '1.6.
|
51 |
-
'version' => '1.6.
|
52 |
'type' => 'wordpress-plugin',
|
53 |
'install_path' => __DIR__ . '/../../',
|
54 |
'aliases' => array(),
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
+
'pretty_version' => '1.6.8',
|
4 |
+
'version' => '1.6.8.0',
|
5 |
'type' => 'wordpress-plugin',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
47 |
'dev_requirement' => false,
|
48 |
),
|
49 |
'codeinwp/otter-blocks' => array(
|
50 |
+
'pretty_version' => '1.6.8',
|
51 |
+
'version' => '1.6.8.0',
|
52 |
'type' => 'wordpress-plugin',
|
53 |
'install_path' => __DIR__ . '/../../',
|
54 |
'aliases' => array(),
|