Skip to content

Commit

Permalink
Update from b1ca6fb
Browse files Browse the repository at this point in the history
  • Loading branch information
Hathoriel committed Jun 2, 2022
1 parent 29be517 commit 1bbae2f
Show file tree
Hide file tree
Showing 15 changed files with 36 additions and 36 deletions.
3 changes: 3 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ Added support for Testnet & detailed info about minted NFTs & more validation me
= 2.0.28 =
Fixed API key submit validation

= 2.0.29 =
Fixed activator lazy nft testnet field & strip HTML and special chars from IPFS metadata

== Upgrade Notice ==

= 1.0.0 =
Expand Down
5 changes: 1 addition & 4 deletions inc/Activator.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ public function deactivate() {
* @param boolean $errorlevel If true throw errors
*/
public function dbDelta($errorlevel) {
global $wpdb;
$lazyNftName = $this->getTableName("lazy_nft");
$sql = "ALTER TABLE $lazyNftName ADD `testnet` BOOLEAN NOT NULL AFTER `prepared_nft_id`;";
$wpdb->query($sql);
}

private function initDatabase() {
Expand All @@ -70,6 +66,7 @@ private function initDatabase() {
chain ENUM('CELO', 'ETH', 'BSC', 'ONE', 'MATIC') NOT NULL,
error_cause varchar(256),
prepared_nft_id bigint NOT NULL,
testnet BOOLEAN NOT NULL,
UNIQUE KEY id (id),
CONSTRAINT FK_LazyNft FOREIGN KEY (prepared_nft_id) REFERENCES $prepareNftName(id)
) $charset_collate;";
Expand Down
2 changes: 1 addition & 1 deletion inc/base/others/cachebuster-lib.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
/* This file was automatically generated by the `grunt libs:cachebuster` command (Thu Apr 14 2022 09:09:53 GMT+0000 (Coordinated Universal Time)). */
/* This file was automatically generated by the `grunt libs:cachebuster` command (Thu Jun 02 2022 11:28:53 GMT+0000 (Coordinated Universal Time)). */
return array(
'mobx' => '4.15.4',
'react' => '17.0.2',
Expand Down
2 changes: 1 addition & 1 deletion inc/base/others/cachebuster.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
/* This file was automatically generated by the `grunt libs:cachebuster` command (Thu Apr 14 2022 09:09:53 GMT+0000 (Coordinated Universal Time)). */
/* This file was automatically generated by the `grunt libs:cachebuster` command (Thu Jun 02 2022 11:28:53 GMT+0000 (Coordinated Universal Time)). */
return array(
'src/public/dist/admin.js' => '6a83f9d51144ea6281f9d86d7bb8d70c',
'src/public/dist/vendor-admin.js' => '88674945a6b37489c984c3de1eaeb815',
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Description: NFT Maker is the easiest and fastest free plugin to work with NFTs without any blockchain development experience.
* Author: Lukas Kotol
* Author URI: https://t.me/LukasKotol
* Version: 2.0.28
* Version: 2.0.29
* Text Domain: tatum
* Domain Path: /languages
* License: MIT
Expand Down
2 changes: 1 addition & 1 deletion vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

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

return ComposerAutoloaderInit4dc2469ac76a38dab8dea4c44690b80a::getLoader();
return ComposerAutoloaderInit6ddb77796a46c13adddca7a25444fdf8::getLoader();
8 changes: 4 additions & 4 deletions vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInit4dc2469ac76a38dab8dea4c44690b80a
class ComposerAutoloaderInit6ddb77796a46c13adddca7a25444fdf8
{
private static $loader;

Expand All @@ -22,15 +22,15 @@ public static function getLoader()
return self::$loader;
}

spl_autoload_register(array('ComposerAutoloaderInit4dc2469ac76a38dab8dea4c44690b80a', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit6ddb77796a46c13adddca7a25444fdf8', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInit4dc2469ac76a38dab8dea4c44690b80a', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit6ddb77796a46c13adddca7a25444fdf8', 'loadClassLoader'));

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

call_user_func(\Composer\Autoload\ComposerStaticInit4dc2469ac76a38dab8dea4c44690b80a::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit6ddb77796a46c13adddca7a25444fdf8::getInitializer($loader));
} else {
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Composer\Autoload;

class ComposerStaticInit4dc2469ac76a38dab8dea4c44690b80a
class ComposerStaticInit6ddb77796a46c13adddca7a25444fdf8
{
public static $prefixLengthsPsr4 = array (
'k' =>
Expand Down Expand Up @@ -89,9 +89,9 @@ class ComposerStaticInit4dc2469ac76a38dab8dea4c44690b80a
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit4dc2469ac76a38dab8dea4c44690b80a::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit4dc2469ac76a38dab8dea4c44690b80a::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit4dc2469ac76a38dab8dea4c44690b80a::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit6ddb77796a46c13adddca7a25444fdf8::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit6ddb77796a46c13adddca7a25444fdf8::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit6ddb77796a46c13adddca7a25444fdf8::$classMap;

}, null, ClassLoader::class);
}
Expand Down
4 changes: 2 additions & 2 deletions vendor/tatum/nft-maker/src/Connectors/IpfsConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ private static function buildDataFiles($boundary, $file) {

private static function createMetadataJson($product, $hash) {
return json_encode(array(
'name' => $product->get_title(),
'description' => $product->get_description(),
'name' => strip_tags(stripslashes($product->get_title())),
'description' => strip_tags(stripslashes($product->get_description())),
'image' => "ipfs://$hash"
), JSON_UNESCAPED_SLASHES);
}
Expand Down
2 changes: 1 addition & 1 deletion vendor/tatum/nft-maker/vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

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

return ComposerAutoloaderInitb256f69ab43264f0a019b0f89eeead4a::getLoader();
return ComposerAutoloaderInit179325cca1997a4610e4a9073d755ce3::getLoader();
8 changes: 4 additions & 4 deletions vendor/tatum/nft-maker/vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInitb256f69ab43264f0a019b0f89eeead4a
class ComposerAutoloaderInit179325cca1997a4610e4a9073d755ce3
{
private static $loader;

Expand All @@ -22,15 +22,15 @@ public static function getLoader()
return self::$loader;
}

spl_autoload_register(array('ComposerAutoloaderInitb256f69ab43264f0a019b0f89eeead4a', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit179325cca1997a4610e4a9073d755ce3', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInitb256f69ab43264f0a019b0f89eeead4a', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit179325cca1997a4610e4a9073d755ce3', 'loadClassLoader'));

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

call_user_func(\Composer\Autoload\ComposerStaticInitb256f69ab43264f0a019b0f89eeead4a::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit179325cca1997a4610e4a9073d755ce3::getInitializer($loader));
} else {
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
Expand Down
8 changes: 4 additions & 4 deletions vendor/tatum/nft-maker/vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Composer\Autoload;

class ComposerStaticInitb256f69ab43264f0a019b0f89eeead4a
class ComposerStaticInit179325cca1997a4610e4a9073d755ce3
{
public static $prefixLengthsPsr4 = array (
'k' =>
Expand Down Expand Up @@ -61,9 +61,9 @@ class ComposerStaticInitb256f69ab43264f0a019b0f89eeead4a
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInitb256f69ab43264f0a019b0f89eeead4a::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitb256f69ab43264f0a019b0f89eeead4a::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitb256f69ab43264f0a019b0f89eeead4a::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit179325cca1997a4610e4a9073d755ce3::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit179325cca1997a4610e4a9073d755ce3::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit179325cca1997a4610e4a9073d755ce3::$classMap;

}, null, ClassLoader::class);
}
Expand Down
2 changes: 1 addition & 1 deletion vendor/tatum/utils/vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

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

return ComposerAutoloaderInitda7f25d5b25ad6410facd0c879825f31::getLoader();
return ComposerAutoloaderInit3e1a5fae4b8830b6e67dbb869beda6ed::getLoader();
8 changes: 4 additions & 4 deletions vendor/tatum/utils/vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInitda7f25d5b25ad6410facd0c879825f31
class ComposerAutoloaderInit3e1a5fae4b8830b6e67dbb869beda6ed
{
private static $loader;

Expand All @@ -22,15 +22,15 @@ public static function getLoader()
return self::$loader;
}

spl_autoload_register(array('ComposerAutoloaderInitda7f25d5b25ad6410facd0c879825f31', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit3e1a5fae4b8830b6e67dbb869beda6ed', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInitda7f25d5b25ad6410facd0c879825f31', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit3e1a5fae4b8830b6e67dbb869beda6ed', 'loadClassLoader'));

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

call_user_func(\Composer\Autoload\ComposerStaticInitda7f25d5b25ad6410facd0c879825f31::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit3e1a5fae4b8830b6e67dbb869beda6ed::getInitializer($loader));
} else {
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
Expand Down
8 changes: 4 additions & 4 deletions vendor/tatum/utils/vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Composer\Autoload;

class ComposerStaticInitda7f25d5b25ad6410facd0c879825f31
class ComposerStaticInit3e1a5fae4b8830b6e67dbb869beda6ed
{
public static $prefixLengthsPsr4 = array (
'H' =>
Expand Down Expand Up @@ -39,9 +39,9 @@ class ComposerStaticInitda7f25d5b25ad6410facd0c879825f31
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInitda7f25d5b25ad6410facd0c879825f31::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitda7f25d5b25ad6410facd0c879825f31::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitda7f25d5b25ad6410facd0c879825f31::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit3e1a5fae4b8830b6e67dbb869beda6ed::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit3e1a5fae4b8830b6e67dbb869beda6ed::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit3e1a5fae4b8830b6e67dbb869beda6ed::$classMap;

}, null, ClassLoader::class);
}
Expand Down

0 comments on commit 1bbae2f

Please sign in to comment.