Plugin Directory

Changeset 3256881


Ignore:
Timestamp:
03/17/2025 05:47:19 AM (12 months ago)
Author:
blockskitdev
Message:
  • Child theme compatibility update.
Location:
blockskit
Files:
21 added
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • blockskit/trunk/blockskit.php

    r3241661 r3256881  
    77 * Author: blockskitdev
    88 * Author URI: https://blockskit.com/
    9  * Version: 1.1.0
     9 * Version: 1.1.1
    1010 * Text Domain: blockskit
    11  * Domain Path:
     11 * Domain Path: https://blockskit.com/free
    1212 * Tested up to: 6.7
    1313 *
  • blockskit/trunk/import/demo/functions.php

    r3241661 r3256881  
    462462                $demo_lists = get_transient( 'bk_import_demo_lists' );
    463463                break;
     464            case 'blockskit-corporate-services':
     465                $list_url = "https://gitlab.com/api/v4/projects/46250773/repository/files/blockskit-corporate-services-demo-list%2Ejson?ref=master";
     466                while( empty( get_transient( 'bk_import_demo_lists' ) ) ){
     467                    $request_demo_list_body = wp_remote_retrieve_body( wp_remote_get( $list_url ) );
     468                    if( is_wp_error( $request_demo_list_body ) ) {
     469                        return false; // Bail early
     470                    }
     471                    $demo_list_std     = json_decode( $request_demo_list_body, true );
     472                    $demo_list_array   = (array) $demo_list_std;
     473                    $demo_list_content = $demo_list_array['content'];
     474                    $demo_lists_json   = base64_decode( $demo_list_content );
     475                    $demo_lists        = json_decode( $demo_lists_json, true );
     476                    set_transient( 'bk_import_demo_lists', $demo_lists, MINUTE_IN_SECONDS );
     477                }
     478                $demo_lists = get_transient( 'bk_import_demo_lists' );
     479                break;
    464480            default:
    465481                $demo_lists = array();
  • blockskit/trunk/readme.txt

    r3241661 r3256881  
    55Tested up to: 6.7
    66Requires PHP: 7.4.9
    7 Stable tag: 1.1.0
     7Stable tag: 1.1.1
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    4242
    4343== Changelog ==
     44
     45= 1.1.1 =
     46* Child theme compatibility update.
    4447
    4548= 1.1.0 =
Note: See TracChangeset for help on using the changeset viewer.