Skip to content

Commit 1bbae2f

Browse files
committed
Update from b1ca6fb
1 parent 29be517 commit 1bbae2f

15 files changed

Lines changed: 36 additions & 36 deletions

File tree

README.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,9 @@ Added support for Testnet & detailed info about minted NFTs & more validation me
205205
= 2.0.28 =
206206
Fixed API key submit validation
207207

208+
= 2.0.29 =
209+
Fixed activator lazy nft testnet field & strip HTML and special chars from IPFS metadata
210+
208211
== Upgrade Notice ==
209212

210213
= 1.0.0 =

inc/Activator.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ public function deactivate() {
4040
* @param boolean $errorlevel If true throw errors
4141
*/
4242
public function dbDelta($errorlevel) {
43-
global $wpdb;
44-
$lazyNftName = $this->getTableName("lazy_nft");
45-
$sql = "ALTER TABLE $lazyNftName ADD `testnet` BOOLEAN NOT NULL AFTER `prepared_nft_id`;";
46-
$wpdb->query($sql);
4743
}
4844

4945
private function initDatabase() {
@@ -70,6 +66,7 @@ private function initDatabase() {
7066
chain ENUM('CELO', 'ETH', 'BSC', 'ONE', 'MATIC') NOT NULL,
7167
error_cause varchar(256),
7268
prepared_nft_id bigint NOT NULL,
69+
testnet BOOLEAN NOT NULL,
7370
UNIQUE KEY id (id),
7471
CONSTRAINT FK_LazyNft FOREIGN KEY (prepared_nft_id) REFERENCES $prepareNftName(id)
7572
) $charset_collate;";

inc/base/others/cachebuster-lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
/* This file was automatically generated by the `grunt libs:cachebuster` command (Thu Apr 14 2022 09:09:53 GMT+0000 (Coordinated Universal Time)). */
2+
/* This file was automatically generated by the `grunt libs:cachebuster` command (Thu Jun 02 2022 11:28:53 GMT+0000 (Coordinated Universal Time)). */
33
return array(
44
'mobx' => '4.15.4',
55
'react' => '17.0.2',

inc/base/others/cachebuster.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
/* This file was automatically generated by the `grunt libs:cachebuster` command (Thu Apr 14 2022 09:09:53 GMT+0000 (Coordinated Universal Time)). */
2+
/* This file was automatically generated by the `grunt libs:cachebuster` command (Thu Jun 02 2022 11:28:53 GMT+0000 (Coordinated Universal Time)). */
33
return array(
44
'src/public/dist/admin.js' => '6a83f9d51144ea6281f9d86d7bb8d70c',
55
'src/public/dist/vendor-admin.js' => '88674945a6b37489c984c3de1eaeb815',

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Description: NFT Maker is the easiest and fastest free plugin to work with NFTs without any blockchain development experience.
99
* Author: Lukas Kotol
1010
* Author URI: https://t.me/LukasKotol
11-
* Version: 2.0.28
11+
* Version: 2.0.29
1212
* Text Domain: tatum
1313
* Domain Path: /languages
1414
* License: MIT

vendor/autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
require_once __DIR__ . '/composer/autoload_real.php';
66

7-
return ComposerAutoloaderInit4dc2469ac76a38dab8dea4c44690b80a::getLoader();
7+
return ComposerAutoloaderInit6ddb77796a46c13adddca7a25444fdf8::getLoader();

vendor/composer/autoload_real.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// autoload_real.php @generated by Composer
44

5-
class ComposerAutoloaderInit4dc2469ac76a38dab8dea4c44690b80a
5+
class ComposerAutoloaderInit6ddb77796a46c13adddca7a25444fdf8
66
{
77
private static $loader;
88

@@ -22,15 +22,15 @@ public static function getLoader()
2222
return self::$loader;
2323
}
2424

25-
spl_autoload_register(array('ComposerAutoloaderInit4dc2469ac76a38dab8dea4c44690b80a', 'loadClassLoader'), true, true);
25+
spl_autoload_register(array('ComposerAutoloaderInit6ddb77796a46c13adddca7a25444fdf8', 'loadClassLoader'), true, true);
2626
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27-
spl_autoload_unregister(array('ComposerAutoloaderInit4dc2469ac76a38dab8dea4c44690b80a', 'loadClassLoader'));
27+
spl_autoload_unregister(array('ComposerAutoloaderInit6ddb77796a46c13adddca7a25444fdf8', 'loadClassLoader'));
2828

2929
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
3030
if ($useStaticLoader) {
3131
require_once __DIR__ . '/autoload_static.php';
3232

33-
call_user_func(\Composer\Autoload\ComposerStaticInit4dc2469ac76a38dab8dea4c44690b80a::getInitializer($loader));
33+
call_user_func(\Composer\Autoload\ComposerStaticInit6ddb77796a46c13adddca7a25444fdf8::getInitializer($loader));
3434
} else {
3535
$classMap = require __DIR__ . '/autoload_classmap.php';
3636
if ($classMap) {

vendor/composer/autoload_static.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Composer\Autoload;
66

7-
class ComposerStaticInit4dc2469ac76a38dab8dea4c44690b80a
7+
class ComposerStaticInit6ddb77796a46c13adddca7a25444fdf8
88
{
99
public static $prefixLengthsPsr4 = array (
1010
'k' =>
@@ -89,9 +89,9 @@ class ComposerStaticInit4dc2469ac76a38dab8dea4c44690b80a
8989
public static function getInitializer(ClassLoader $loader)
9090
{
9191
return \Closure::bind(function () use ($loader) {
92-
$loader->prefixLengthsPsr4 = ComposerStaticInit4dc2469ac76a38dab8dea4c44690b80a::$prefixLengthsPsr4;
93-
$loader->prefixDirsPsr4 = ComposerStaticInit4dc2469ac76a38dab8dea4c44690b80a::$prefixDirsPsr4;
94-
$loader->classMap = ComposerStaticInit4dc2469ac76a38dab8dea4c44690b80a::$classMap;
92+
$loader->prefixLengthsPsr4 = ComposerStaticInit6ddb77796a46c13adddca7a25444fdf8::$prefixLengthsPsr4;
93+
$loader->prefixDirsPsr4 = ComposerStaticInit6ddb77796a46c13adddca7a25444fdf8::$prefixDirsPsr4;
94+
$loader->classMap = ComposerStaticInit6ddb77796a46c13adddca7a25444fdf8::$classMap;
9595

9696
}, null, ClassLoader::class);
9797
}

vendor/tatum/nft-maker/src/Connectors/IpfsConnector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ private static function buildDataFiles($boundary, $file) {
114114

115115
private static function createMetadataJson($product, $hash) {
116116
return json_encode(array(
117-
'name' => $product->get_title(),
118-
'description' => $product->get_description(),
117+
'name' => strip_tags(stripslashes($product->get_title())),
118+
'description' => strip_tags(stripslashes($product->get_description())),
119119
'image' => "ipfs://$hash"
120120
), JSON_UNESCAPED_SLASHES);
121121
}

vendor/tatum/nft-maker/vendor/autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
require_once __DIR__ . '/composer/autoload_real.php';
66

7-
return ComposerAutoloaderInitb256f69ab43264f0a019b0f89eeead4a::getLoader();
7+
return ComposerAutoloaderInit179325cca1997a4610e4a9073d755ce3::getLoader();

0 commit comments

Comments
 (0)