Plugin Directory

Changeset 2936277


Ignore:
Timestamp:
07/10/2023 01:22:01 AM (3 years ago)
Author:
pbwebdev
Message:

Update for 1.6.0
-Fix PHP warning introduced in 2fceb32
-Handle CIP68 asset packed name
-Prevent infinite loop on misconfigured pages
-New filter for asset collection cardanopress_collection_asset

Location:
cardanopress
Files:
550 added
5 edited

Legend:

Unmodified
Added
Removed
  • cardanopress/trunk/cardanopress.php

    r2910632 r2936277  
    77 * Author URI:  https://cardanopress.io
    88 * Description: Core plugin for the suite of CardanoPress plugins
    9  * Version:     1.5.0
     9 * Version:     1.6.0
    1010 * License:     GPL-2.0-only
    1111 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • cardanopress/trunk/readme.txt

    r2910632 r2936277  
    44Tags: cardano, blockchain, web3, metamask, nami, eternl, ada
    55Requires at least: 4.9
    6 Tested up to: 6.2.0
    7 Stable tag: 1.5.0
     6Tested up to: 6.1.1
     7Stable tag: 1.2.0
    88Requires PHP: 7.4
    99License: GPLv3
     
    2222* Nami
    2323* Eternl
    24 * Lace
    2524* Typhon
    2625* GeroWallet
     
    134133
    135134You can follow our [GitHub release](https://github.com/CardanoPress/cardanopress/releases) for full details on updates to the plugins.
    136 
    137 = 1.5.0 =
    138 - add a template if shortcode cardanopress_template_if
    139 - log helpful wallet action errors during AJAX requests customizable and translate-ready cardanopress_error_messages
    140 - improve getting pool details on settings save with fallback on the first settings page load
    141 - include the extended pool metadata in saved details
    142 - helper method to check already delegated account
    143 - always check the request origin; even if logged in
    144 
    145 
    146 = 1.4.0 =
    147 - Better handling of classic themes that do not support the wp_body_open hook
    148 - Temporarily render blank the shipped templates on block themes
    149 - Check the server for wasm mime type support
    150 - Warn on the incompatible themes and server setup stated
    151   - Print readable notice on the admin dashboard
    152   - Dump issue message on console and logs
    153 - Expose a JS method to force refresh the status of all supported wallets
    154 
    155 = 1.3.0 =
    156 - fixed compatibility issue with some plugins Psr\Log\LoggerInterface
    157 - Added Lace Wallet support
    158 
    159 = 1.2.1 =
    160 - Hot fix for 1.2.0 deploy
    161 
    162 = 1.2.0 =
    163 - An updated framework with prefixed dependencies
    164 - Persist notice review dismissal; also increased timeout
    165 - Customizable sanitization messages and made translatable
    166 - Added "the_content" function to the default page templates
    167135
    168136= 1.1.0 =
  • cardanopress/trunk/src/Actions/CoreAction.php

    r2910632 r2936277  
    245245        $collectionLink = get_permalink($collectionPage);
    246246
    247         if ($currentLink === $collectionLink) {
     247        if ($currentLink === $collectionLink && $currentLink !== $dashboardLink) {
    248248            wp_safe_redirect($dashboardLink);
    249249            exit;
  • cardanopress/trunk/src/Blockfrost.php

    r2910632 r2936277  
    2323        do_action('cardanopress_blockfrost_init', $this);
    2424
    25         if (null !== $this->logger) {
     25        if (isset($this->logger)) {
    2626            return;
    2727        }
  • cardanopress/trunk/src/Collection.php

    r2910632 r2936277  
    4444        $data['_quantity'] = $quantity;
    4545        $data['packed_name'] = pack("H*", $data['asset_name']);
     46        $data['packed_name'] = trim($data['packed_name']);
     47        $data['packed_name'] = mb_convert_encoding($data['packed_name'], 'UTF-8');
    4648        $data['parsed_image'] = '';
    4749
     
    5860        }
    5961
    60         return $data;
     62        return apply_filters('cardanopress_collection_asset', $data, $quantity);
    6163    }
    6264
Note: See TracChangeset for help on using the changeset viewer.