Version Description
Download this release
Release Info
| Developer | themeisle |
| Plugin | |
| Version | 1.1.30 |
| Comparing to | |
| See all releases | |
Code changes from version 1.1.29 to 1.1.30
- CHANGELOG.md +4 -0
- README.md +7 -0
- includes/Importers/WP/WP_Import.php +4 -0
- includes/Main.php +1 -1
- languages/templates-patterns-collection.pot +2 -2
- readme.txt +7 -0
- templates-patterns-collection.php +1 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +4 -4
- vendor/composer/installed.php +4 -4
CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
##### [Version 1.1.29](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.1.28...v1.1.29) (2022-11-18)
|
| 2 |
|
| 3 |
- Feat: Allow Independent license
|
| 1 |
+
##### [Version 1.1.30](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.1.29...v1.1.30) (2022-11-25)
|
| 2 |
+
|
| 3 |
+
- Fix: mega menu item import settings mapping
|
| 4 |
+
|
| 5 |
##### [Version 1.1.29](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.1.28...v1.1.29) (2022-11-18)
|
| 6 |
|
| 7 |
- Feat: Allow Independent license
|
README.md
CHANGED
|
@@ -39,6 +39,13 @@ Yes, you can. You can either chose to import one template or the entire starter
|
|
| 39 |
|
| 40 |
## Changelog ##
|
| 41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
##### [Version 1.1.29](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.1.28...v1.1.29) (2022-11-18)
|
| 43 |
|
| 44 |
- Feat: Allow Independent license
|
| 39 |
|
| 40 |
## Changelog ##
|
| 41 |
|
| 42 |
+
##### [Version 1.1.30](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.1.29...v1.1.30) (2022-11-25)
|
| 43 |
+
|
| 44 |
+
- Fix: mega menu item import settings mapping
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
|
| 49 |
##### [Version 1.1.29](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.1.28...v1.1.29) (2022-11-18)
|
| 50 |
|
| 51 |
- Feat: Allow Independent license
|
includes/Importers/WP/WP_Import.php
CHANGED
|
@@ -621,6 +621,7 @@ class WP_Import extends WP_Importer {
|
|
| 621 |
} else {
|
| 622 |
$menu_id = is_array( $menu_id ) ? $menu_id['term_id'] : $menu_id;
|
| 623 |
}
|
|
|
|
| 624 |
foreach ( $item['postmeta'] as $meta ) {
|
| 625 |
${$meta['key']} = $meta['value'];
|
| 626 |
}
|
|
@@ -672,6 +673,9 @@ class WP_Import extends WP_Importer {
|
|
| 672 |
|
| 673 |
$id = wp_update_nav_menu_item( $menu_id, 0, $args );
|
| 674 |
if ( $id && ! is_wp_error( $id ) ) {
|
|
|
|
|
|
|
|
|
|
| 675 |
$this->processed_menu_items[ intval( $item['post_id'] ) ] = (int) $id;
|
| 676 |
}
|
| 677 |
$this->logger->log( 'Processed single menu item.', 'success' );
|
| 621 |
} else {
|
| 622 |
$menu_id = is_array( $menu_id ) ? $menu_id['term_id'] : $menu_id;
|
| 623 |
}
|
| 624 |
+
$nv_mm_options = '';
|
| 625 |
foreach ( $item['postmeta'] as $meta ) {
|
| 626 |
${$meta['key']} = $meta['value'];
|
| 627 |
}
|
| 673 |
|
| 674 |
$id = wp_update_nav_menu_item( $menu_id, 0, $args );
|
| 675 |
if ( $id && ! is_wp_error( $id ) ) {
|
| 676 |
+
if ( ! empty( $nv_mm_options ) ) {
|
| 677 |
+
update_post_meta( $id, 'nv_mm_options', $nv_mm_options );
|
| 678 |
+
}
|
| 679 |
$this->processed_menu_items[ intval( $item['post_id'] ) ] = (int) $id;
|
| 680 |
}
|
| 681 |
$this->logger->log( 'Processed single menu item.', 'success' );
|
includes/Main.php
CHANGED
|
@@ -19,7 +19,7 @@ class Main {
|
|
| 19 |
*
|
| 20 |
* @var string Version string.
|
| 21 |
*/
|
| 22 |
-
const VERSION = '1.1.
|
| 23 |
/**
|
| 24 |
* Sites Library API URL.
|
| 25 |
*
|
| 19 |
*
|
| 20 |
* @var string Version string.
|
| 21 |
*/
|
| 22 |
+
const VERSION = '1.1.30';
|
| 23 |
/**
|
| 24 |
* Sites Library API URL.
|
| 25 |
*
|
languages/templates-patterns-collection.pot
CHANGED
|
@@ -2,14 +2,14 @@
|
|
| 2 |
# This file is distributed under the GPLv3.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
-
"Project-Id-Version: Templates Patterns Collection 1.1.
|
| 6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/templates-patterns-collection\n"
|
| 7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
| 8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
| 9 |
"MIME-Version: 1.0\n"
|
| 10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
| 11 |
"Content-Transfer-Encoding: 8bit\n"
|
| 12 |
-
"POT-Creation-Date: 2022-11-
|
| 13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
| 14 |
"X-Generator: WP-CLI 2.7.1\n"
|
| 15 |
"X-Domain: templates-patterns-collection\n"
|
| 2 |
# This file is distributed under the GPLv3.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
+
"Project-Id-Version: Templates Patterns Collection 1.1.30\n"
|
| 6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/templates-patterns-collection\n"
|
| 7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
| 8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
| 9 |
"MIME-Version: 1.0\n"
|
| 10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
| 11 |
"Content-Transfer-Encoding: 8bit\n"
|
| 12 |
+
"POT-Creation-Date: 2022-11-25T13:59:42+00:00\n"
|
| 13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
| 14 |
"X-Generator: WP-CLI 2.7.1\n"
|
| 15 |
"X-Domain: templates-patterns-collection\n"
|
readme.txt
CHANGED
|
@@ -39,6 +39,13 @@ Yes, you can. You can either chose to import one template or the entire starter
|
|
| 39 |
|
| 40 |
== Changelog ==
|
| 41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
##### [Version 1.1.29](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.1.28...v1.1.29) (2022-11-18)
|
| 43 |
|
| 44 |
- Feat: Allow Independent license
|
| 39 |
|
| 40 |
== Changelog ==
|
| 41 |
|
| 42 |
+
##### [Version 1.1.30](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.1.29...v1.1.30) (2022-11-25)
|
| 43 |
+
|
| 44 |
+
- Fix: mega menu item import settings mapping
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
|
| 49 |
##### [Version 1.1.29](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.1.28...v1.1.29) (2022-11-18)
|
| 50 |
|
| 51 |
- Feat: Allow Independent license
|
templates-patterns-collection.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
/**
|
| 3 |
* Plugin Name: Templates Patterns Collection
|
| 4 |
* Description: This plugin is an add-on to Neve WordPress theme which offers access to Templates and Block Patterns library service to be used with the theme.
|
| 5 |
-
* Version: 1.1.
|
| 6 |
* Author: ThemeIsle
|
| 7 |
* Author URI: https://themeisle.com
|
| 8 |
* License: GPLv3
|
| 2 |
/**
|
| 3 |
* Plugin Name: Templates Patterns Collection
|
| 4 |
* Description: This plugin is an add-on to Neve WordPress theme which offers access to Templates and Block Patterns library service to be used with the theme.
|
| 5 |
+
* Version: 1.1.30
|
| 6 |
* Author: ThemeIsle
|
| 7 |
* Author URI: https://themeisle.com
|
| 8 |
* License: GPLv3
|
vendor/autoload.php
CHANGED
|
@@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
|
|
| 22 |
|
| 23 |
require_once __DIR__ . '/composer/autoload_real.php';
|
| 24 |
|
| 25 |
-
return
|
| 22 |
|
| 23 |
require_once __DIR__ . '/composer/autoload_real.php';
|
| 24 |
|
| 25 |
+
return ComposerAutoloaderInit01525a86cc2ba523f240853517c0b272::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 |
|
|
@@ -22,18 +22,18 @@ class ComposerAutoloaderInit8e636c3c1fc9852c223c8fa5dcaaa558
|
|
| 22 |
return self::$loader;
|
| 23 |
}
|
| 24 |
|
| 25 |
-
spl_autoload_register(array('
|
| 26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
| 27 |
-
spl_autoload_unregister(array('
|
| 28 |
|
| 29 |
require __DIR__ . '/autoload_static.php';
|
| 30 |
-
call_user_func(\Composer\Autoload\
|
| 31 |
|
| 32 |
$loader->register(true);
|
| 33 |
|
| 34 |
-
$includeFiles = \Composer\Autoload\
|
| 35 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
| 36 |
-
|
| 37 |
}
|
| 38 |
|
| 39 |
return $loader;
|
|
@@ -45,7 +45,7 @@ class ComposerAutoloaderInit8e636c3c1fc9852c223c8fa5dcaaa558
|
|
| 45 |
* @param string $file
|
| 46 |
* @return void
|
| 47 |
*/
|
| 48 |
-
function
|
| 49 |
{
|
| 50 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
| 51 |
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
| 2 |
|
| 3 |
// autoload_real.php @generated by Composer
|
| 4 |
|
| 5 |
+
class ComposerAutoloaderInit01525a86cc2ba523f240853517c0b272
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 22 |
return self::$loader;
|
| 23 |
}
|
| 24 |
|
| 25 |
+
spl_autoload_register(array('ComposerAutoloaderInit01525a86cc2ba523f240853517c0b272', 'loadClassLoader'), true, true);
|
| 26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
| 27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit01525a86cc2ba523f240853517c0b272', 'loadClassLoader'));
|
| 28 |
|
| 29 |
require __DIR__ . '/autoload_static.php';
|
| 30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit01525a86cc2ba523f240853517c0b272::getInitializer($loader));
|
| 31 |
|
| 32 |
$loader->register(true);
|
| 33 |
|
| 34 |
+
$includeFiles = \Composer\Autoload\ComposerStaticInit01525a86cc2ba523f240853517c0b272::$files;
|
| 35 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
| 36 |
+
composerRequire01525a86cc2ba523f240853517c0b272($fileIdentifier, $file);
|
| 37 |
}
|
| 38 |
|
| 39 |
return $loader;
|
| 45 |
* @param string $file
|
| 46 |
* @return void
|
| 47 |
*/
|
| 48 |
+
function composerRequire01525a86cc2ba523f240853517c0b272($fileIdentifier, $file)
|
| 49 |
{
|
| 50 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
| 51 |
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
vendor/composer/autoload_static.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
-
class
|
| 8 |
{
|
| 9 |
public static $files = array (
|
| 10 |
'50f1a0479b2a5847c529d784c54cebe2' => __DIR__ . '/..' . '/codeinwp/themeisle-sdk/load.php',
|
|
@@ -59,9 +59,9 @@ class ComposerStaticInit8e636c3c1fc9852c223c8fa5dcaaa558
|
|
| 59 |
public static function getInitializer(ClassLoader $loader)
|
| 60 |
{
|
| 61 |
return \Closure::bind(function () use ($loader) {
|
| 62 |
-
$loader->prefixLengthsPsr4 =
|
| 63 |
-
$loader->prefixDirsPsr4 =
|
| 64 |
-
$loader->classMap =
|
| 65 |
|
| 66 |
}, null, ClassLoader::class);
|
| 67 |
}
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
+
class ComposerStaticInit01525a86cc2ba523f240853517c0b272
|
| 8 |
{
|
| 9 |
public static $files = array (
|
| 10 |
'50f1a0479b2a5847c529d784c54cebe2' => __DIR__ . '/..' . '/codeinwp/themeisle-sdk/load.php',
|
| 59 |
public static function getInitializer(ClassLoader $loader)
|
| 60 |
{
|
| 61 |
return \Closure::bind(function () use ($loader) {
|
| 62 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit01525a86cc2ba523f240853517c0b272::$prefixLengthsPsr4;
|
| 63 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit01525a86cc2ba523f240853517c0b272::$prefixDirsPsr4;
|
| 64 |
+
$loader->classMap = ComposerStaticInit01525a86cc2ba523f240853517c0b272::$classMap;
|
| 65 |
|
| 66 |
}, null, ClassLoader::class);
|
| 67 |
}
|
vendor/composer/installed.php
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
<?php return array(
|
| 2 |
'root' => array(
|
| 3 |
'name' => 'codeinwp/templates-patterns-collection',
|
| 4 |
-
'pretty_version' => '1.1.
|
| 5 |
-
'version' => '1.1.
|
| 6 |
'reference' => NULL,
|
| 7 |
'type' => 'library',
|
| 8 |
'install_path' => __DIR__ . '/../../',
|
|
@@ -11,8 +11,8 @@
|
|
| 11 |
),
|
| 12 |
'versions' => array(
|
| 13 |
'codeinwp/templates-patterns-collection' => array(
|
| 14 |
-
'pretty_version' => '1.1.
|
| 15 |
-
'version' => '1.1.
|
| 16 |
'reference' => NULL,
|
| 17 |
'type' => 'library',
|
| 18 |
'install_path' => __DIR__ . '/../../',
|
| 1 |
<?php return array(
|
| 2 |
'root' => array(
|
| 3 |
'name' => 'codeinwp/templates-patterns-collection',
|
| 4 |
+
'pretty_version' => '1.1.30',
|
| 5 |
+
'version' => '1.1.30.0',
|
| 6 |
'reference' => NULL,
|
| 7 |
'type' => 'library',
|
| 8 |
'install_path' => __DIR__ . '/../../',
|
| 11 |
),
|
| 12 |
'versions' => array(
|
| 13 |
'codeinwp/templates-patterns-collection' => array(
|
| 14 |
+
'pretty_version' => '1.1.30',
|
| 15 |
+
'version' => '1.1.30.0',
|
| 16 |
'reference' => NULL,
|
| 17 |
'type' => 'library',
|
| 18 |
'install_path' => __DIR__ . '/../../',
|
