Plugin Directory

Changeset 2267571


Ignore:
Timestamp:
03/25/2020 05:26:56 PM (6 years ago)
Author:
sortabrilliant
Message:

Update to version 1.0.2 from GitHub

Location:
ubiquitous-blocks
Files:
28 added
2 deleted
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • ubiquitous-blocks/tags/1.0.2/includes/class-ubiquitous-blocks-assets.php

    r2232992 r2267571  
    6464        }
    6565
     66        $asset_filepath = UBIQUITOUS_BLOCKS_DIR_PATH . '/build/index.asset.php';
     67        $asset_file = file_exists( $asset_filepath ) ? include $asset_filepath : [
     68            'dependencies' => [],
     69            'version'      => false,
     70        ];
     71
    6672        // Scripts.
    6773        wp_enqueue_script(
    6874            $this->_slug . '-editor',
    69             UBIQUITOUS_BLOCKS_URL_PATH . '/dist/blocks.build.js',
    70             array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-plugins', 'wp-components', 'wp-edit-post', 'wp-api', 'wp-editor', 'wp-hooks', 'wp-api-fetch' ),
    71             time(),
     75            UBIQUITOUS_BLOCKS_URL_PATH . '/build/index.js',
     76            [ 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-plugins', 'wp-components', 'wp-edit-post', 'wp-api', 'wp-editor', 'wp-hooks', 'wp-api-fetch' ],
     77            $asset_file['version'],
    7278            false
    7379        );
  • ubiquitous-blocks/tags/1.0.2/readme.txt

    r2236812 r2267571  
    33Tags: blocks, reuseable blocks
    44Requires at least: 5.0
    5 Tested up to: 5.3.2
    6 Stable tag: 1.0.0
     5Tested up to: 5.4
     6Stable tag: 1.0.2
    77Requires PHP: 5.6
    88License: GPLv2 or later
     
    2525
    2626== Changelog ==
    27 * Initial Commit
     27* 1.0.2 Reduce bundled asset size.
     28* 1.0.1 Update "Tested up to" WordPress version.
     29* 1.0.0 Initial Commit
  • ubiquitous-blocks/tags/1.0.2/ubiquitous-blocks.php

    r2232992 r2267571  
    66 * Author:      sorta brilliant
    77 * Author URI:  https://sortabrilliant.com/
    8  * Version:     1.0.0
     8 * Version:     1.0.2
    99 * License:     GPL-2.0-or-later
    1010 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
     
    2727         * @static
    2828         */
    29         public static $version = '1.0.0';
     29        public static $version = '1.0.2';
    3030
    3131        /**
  • ubiquitous-blocks/trunk/includes/class-ubiquitous-blocks-assets.php

    r2232992 r2267571  
    6464        }
    6565
     66        $asset_filepath = UBIQUITOUS_BLOCKS_DIR_PATH . '/build/index.asset.php';
     67        $asset_file = file_exists( $asset_filepath ) ? include $asset_filepath : [
     68            'dependencies' => [],
     69            'version'      => false,
     70        ];
     71
    6672        // Scripts.
    6773        wp_enqueue_script(
    6874            $this->_slug . '-editor',
    69             UBIQUITOUS_BLOCKS_URL_PATH . '/dist/blocks.build.js',
    70             array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-plugins', 'wp-components', 'wp-edit-post', 'wp-api', 'wp-editor', 'wp-hooks', 'wp-api-fetch' ),
    71             time(),
     75            UBIQUITOUS_BLOCKS_URL_PATH . '/build/index.js',
     76            [ 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-plugins', 'wp-components', 'wp-edit-post', 'wp-api', 'wp-editor', 'wp-hooks', 'wp-api-fetch' ],
     77            $asset_file['version'],
    7278            false
    7379        );
  • ubiquitous-blocks/trunk/readme.txt

    r2236812 r2267571  
    33Tags: blocks, reuseable blocks
    44Requires at least: 5.0
    5 Tested up to: 5.3.2
    6 Stable tag: 1.0.0
     5Tested up to: 5.4
     6Stable tag: 1.0.2
    77Requires PHP: 5.6
    88License: GPLv2 or later
     
    2525
    2626== Changelog ==
    27 * Initial Commit
     27* 1.0.2 Reduce bundled asset size.
     28* 1.0.1 Update "Tested up to" WordPress version.
     29* 1.0.0 Initial Commit
  • ubiquitous-blocks/trunk/ubiquitous-blocks.php

    r2232992 r2267571  
    66 * Author:      sorta brilliant
    77 * Author URI:  https://sortabrilliant.com/
    8  * Version:     1.0.0
     8 * Version:     1.0.2
    99 * License:     GPL-2.0-or-later
    1010 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
     
    2727         * @static
    2828         */
    29         public static $version = '1.0.0';
     29        public static $version = '1.0.2';
    3030
    3131        /**
Note: See TracChangeset for help on using the changeset viewer.