Version Description
Download this release
Release Info
Developer | themeisle |
Plugin | Gutenberg Blocks and Template Library by Otter |
Version | 1.7.3 |
Comparing to | |
See all releases |
Code changes from version 1.7.2 to 1.7.3
- CHANGELOG.md +5 -0
- inc/class-blocks-export-import.php +6 -0
- otter-blocks.php +2 -2
- readme.md +8 -0
- readme.txt +8 -0
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +4 -4
- vendor/composer/installed.php +4 -4
CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
##### [Version 1.7.2](https://github.com/Codeinwp/otter-blocks/compare/v1.7.1...v1.7.2) (2021-11-18)
|
2 |
|
3 |
- Add Duplicate/Move/Delete options to Section Block’s Columns
|
1 |
+
##### [Version 1.7.3](https://github.com/Codeinwp/otter-blocks/compare/v1.7.2...v1.7.3) (2021-11-18)
|
2 |
+
|
3 |
+
|
4 |
+
- Plus a lot more features from 1.7.2: https://github.com/Codeinwp/otter-blocks/blob/master/CHANGELOG.md#version-172-2021-11-18
|
5 |
+
|
6 |
##### [Version 1.7.2](https://github.com/Codeinwp/otter-blocks/compare/v1.7.1...v1.7.2) (2021-11-18)
|
7 |
|
8 |
- Add Duplicate/Move/Delete options to Section Block’s Columns
|
inc/class-blocks-export-import.php
CHANGED
@@ -38,6 +38,12 @@ class Blocks_Export_Import {
|
|
38 |
* @access public
|
39 |
*/
|
40 |
public function enqueue_editor_assets() {
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
$asset_file = include BLOCKS_EXPORT_IMPORT_PATH . '/build/export-import/index.asset.php';
|
42 |
|
43 |
wp_enqueue_script(
|
38 |
* @access public
|
39 |
*/
|
40 |
public function enqueue_editor_assets() {
|
41 |
+
$current_screen = get_current_screen();
|
42 |
+
|
43 |
+
if ( 'post' !== $current_screen->base ) {
|
44 |
+
return;
|
45 |
+
}
|
46 |
+
|
47 |
$asset_file = include BLOCKS_EXPORT_IMPORT_PATH . '/build/export-import/index.asset.php';
|
48 |
|
49 |
wp_enqueue_script(
|
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.7.
|
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.7.
|
30 |
|
31 |
$vendor_file = OTTER_BLOCKS_PATH . '/vendor/autoload.php';
|
32 |
|
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.7.3
|
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.7.3' );
|
30 |
|
31 |
$vendor_file = OTTER_BLOCKS_PATH . '/vendor/autoload.php';
|
32 |
|
readme.md
CHANGED
@@ -96,6 +96,14 @@ Help your site shine with design options built to enhance your brand. Every bloc
|
|
96 |
|
97 |
## Changelog ##
|
98 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
##### [Version 1.7.2](https://github.com/Codeinwp/otter-blocks/compare/v1.7.1...v1.7.2) (2021-11-18)
|
100 |
|
101 |
- Add Duplicate/Move/Delete options to Section Block’s Columns
|
96 |
|
97 |
## Changelog ##
|
98 |
|
99 |
+
##### [Version 1.7.3](https://github.com/Codeinwp/otter-blocks/compare/v1.7.2...v1.7.3) (2021-11-18)
|
100 |
+
|
101 |
+
|
102 |
+
- Plus a lot more features from 1.7.2: https://github.com/Codeinwp/otter-blocks/blob/master/CHANGELOG.md#version-172-2021-11-18
|
103 |
+
|
104 |
+
|
105 |
+
|
106 |
+
|
107 |
##### [Version 1.7.2](https://github.com/Codeinwp/otter-blocks/compare/v1.7.1...v1.7.2) (2021-11-18)
|
108 |
|
109 |
- Add Duplicate/Move/Delete options to Section Block’s Columns
|
readme.txt
CHANGED
@@ -96,6 +96,14 @@ Help your site shine with design options built to enhance your brand. Every bloc
|
|
96 |
|
97 |
== Changelog ==
|
98 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
##### [Version 1.7.2](https://github.com/Codeinwp/otter-blocks/compare/v1.7.1...v1.7.2) (2021-11-18)
|
100 |
|
101 |
- Add Duplicate/Move/Delete options to Section Block’s Columns
|
96 |
|
97 |
== Changelog ==
|
98 |
|
99 |
+
##### [Version 1.7.3](https://github.com/Codeinwp/otter-blocks/compare/v1.7.2...v1.7.3) (2021-11-18)
|
100 |
+
|
101 |
+
|
102 |
+
- Plus a lot more features from 1.7.2: https://github.com/Codeinwp/otter-blocks/blob/master/CHANGELOG.md#version-172-2021-11-18
|
103 |
+
|
104 |
+
|
105 |
+
|
106 |
+
|
107 |
##### [Version 1.7.2](https://github.com/Codeinwp/otter-blocks/compare/v1.7.1...v1.7.2) (2021-11-18)
|
108 |
|
109 |
- Add Duplicate/Move/Delete options to Section Block’s Columns
|
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 ComposerAutoloaderInit348e4e90bd0f9fe5db7c4cda28ef679e::getLoader();
|
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 ComposerAutoloaderInit64ec7df4484df8b68992571302fbf64c
|
|
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) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit348e4e90bd0f9fe5db7c4cda28ef679e
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
+
spl_autoload_register(array('ComposerAutoloaderInit348e4e90bd0f9fe5db7c4cda28ef679e', 'loadClassLoader'), true, true);
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
29 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit348e4e90bd0f9fe5db7c4cda28ef679e', '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\ComposerStaticInit348e4e90bd0f9fe5db7c4cda28ef679e::getInitializer($loader));
|
36 |
} else {
|
37 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
38 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
't' =>
|
@@ -115,9 +115,9 @@ class ComposerStaticInit64ec7df4484df8b68992571302fbf64c
|
|
115 |
public static function getInitializer(ClassLoader $loader)
|
116 |
{
|
117 |
return \Closure::bind(function () use ($loader) {
|
118 |
-
$loader->prefixLengthsPsr4 =
|
119 |
-
$loader->prefixDirsPsr4 =
|
120 |
-
$loader->classMap =
|
121 |
|
122 |
}, null, ClassLoader::class);
|
123 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit348e4e90bd0f9fe5db7c4cda28ef679e
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
't' =>
|
115 |
public static function getInitializer(ClassLoader $loader)
|
116 |
{
|
117 |
return \Closure::bind(function () use ($loader) {
|
118 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit348e4e90bd0f9fe5db7c4cda28ef679e::$prefixLengthsPsr4;
|
119 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit348e4e90bd0f9fe5db7c4cda28ef679e::$prefixDirsPsr4;
|
120 |
+
$loader->classMap = ComposerStaticInit348e4e90bd0f9fe5db7c4cda28ef679e::$classMap;
|
121 |
|
122 |
}, null, ClassLoader::class);
|
123 |
}
|
vendor/composer/installed.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
-
'pretty_version' => '1.7.
|
4 |
-
'version' => '1.7.
|
5 |
'type' => 'wordpress-plugin',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
@@ -11,8 +11,8 @@
|
|
11 |
),
|
12 |
'versions' => array(
|
13 |
'codeinwp/otter-blocks' => array(
|
14 |
-
'pretty_version' => '1.7.
|
15 |
-
'version' => '1.7.
|
16 |
'type' => 'wordpress-plugin',
|
17 |
'install_path' => __DIR__ . '/../../',
|
18 |
'aliases' => array(),
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
+
'pretty_version' => '1.7.3',
|
4 |
+
'version' => '1.7.3.0',
|
5 |
'type' => 'wordpress-plugin',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
11 |
),
|
12 |
'versions' => array(
|
13 |
'codeinwp/otter-blocks' => array(
|
14 |
+
'pretty_version' => '1.7.3',
|
15 |
+
'version' => '1.7.3.0',
|
16 |
'type' => 'wordpress-plugin',
|
17 |
'install_path' => __DIR__ . '/../../',
|
18 |
'aliases' => array(),
|