Plugin Directory

Changeset 2645578


Ignore:
Timestamp:
12/17/2021 03:20:55 AM (4 years ago)
Author:
themejason
Message:

Update to version 1.0.3

Location:
theme-jason
Files:
23 added
3 edited

Legend:

Unmodified
Added
Removed
  • theme-jason/trunk/assets/admin/js/main.js

    r2641548 r2645578  
    1212
    1313                let import_btn = $( '.edit-site .popover-slot .components-popover:not(.block-editor-block-settings-menu__popover) .components-dropdown-menu__menu button' ).clone();
     14               
     15                if ( import_btn.length > 1 ) {
     16                    import_btn = import_btn[0];
     17                }
     18               
    1419                $( import_btn ).attr( 'id', 'theme-jason-import-styles' );
    1520                $( import_btn ).text( scriptParams.localization.import_styles );
     
    8388
    8489                let export_btn = $( '.edit-site .popover-slot .components-popover:not(.block-editor-block-settings-menu__popover) .components-dropdown-menu__menu button#theme-jason-import-styles' ).clone();
     90               
     91                if ( export_btn.length > 1 ) {
     92                    export_btn = export_btn[0];
     93                }
     94               
    8595                $( export_btn ).attr( 'id', 'theme-jason-export-styles' );
    8696                $( export_btn ).text( scriptParams.localization.export_styles );
     
    146156    }
    147157
    148     function showMessage( message, type = 'success', actions = [] ) {
     158    function showMessage( message, type = 'success', actions = null ) {
    149159        wp.data.dispatch("core/notices").createNotice(
    150160            type,
  • theme-jason/trunk/readme.txt

    r2641549 r2645578  
    22Contributors: (themejason)
    33Tags: theme.json, fonts, colors
    4 Requires at least: 5.9
     4Requires at least: 5.8
    55Tested up to: 5.8.2
    66Requires PHP: 7.0
    7 Stable tag: 1.0.2
     7Stable tag: 1.0.3
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    3131= 1.0 =
    3232* It's alive
     33
     34= 1.0.1 =
     35* Fixed why styles weren't importing correctly.
     36
     37= 1.0.2 =
     38* Fixed the menu items from showing up twice.
     39
  • theme-jason/trunk/theme-jason.php

    r2641549 r2645578  
    1010 * Requires PHP: 7.0
    1111 * Requires At Least: 5.8
    12  * Version: 1.0.1
     12 * Version: 1.0.3
    1313 * Text Domain:       theme-jason
    1414 * Domain Path:       /languages
     
    2424define( 'THEME_JASON_DIRECTORY_ROOT', __DIR__ );
    2525define( 'THEME_JASON_DIRECTORY_URL', plugin_dir_url( __FILE__ ) );
    26 define( 'THEME_JASON_PLUGIN_VERSION', '1.0.2' );
     26define( 'THEME_JASON_PLUGIN_VERSION', '1.0.3' );
    2727
    2828/**
Note: See TracChangeset for help on using the changeset viewer.