Plugin Directory

Changeset 3010794


Ignore:
Timestamp:
12/16/2023 10:33:20 AM (2 years ago)
Author:
munirkamal
Message:

Update to version 1.40.4 from GitHub

Location:
block-options
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • block-options/tags/1.40.4/includes/addons/styles-manager/gutenberghub-styles-manager-admin.php

    r2973254 r3010794  
    6666            EDITORSKIT_PLUGIN_URL . 'build/styles-manager-addon-block.js',
    6767            array(
     68                'lodash',
    6869                'wp-element',
    6970                'wp-api',
     
    9899                EDITORSKIT_PLUGIN_URL . 'build/styles-manager-addon-admin.js',
    99100                array(
     101                    'lodash',
    100102                    'wp-element',
    101103                    'wp-api',
  • block-options/tags/1.40.4/includes/addons/styles-manager/rest-api/gutenberghub-styles-import-export-controller.php

    r2971684 r3010794  
    105105        }
    106106
     107        $file_type = wp_check_filetype( $files['json']['name'] );
     108
     109        if ( 'json' !== $file_type['ext'] ) {
     110            return new WP_REST_Response( array( 'message' => 'Invalid file type. Only JSON files are allowed.' ), 400 );
     111        }
     112
    107113        require_once ABSPATH . 'wp-admin/includes/file.php';
    108114
  • block-options/tags/1.40.4/languages/editorskit.pot

    r2973254 r3010794  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: EditorsKit 1.40.3\n"
     5"Project-Id-Version: EditorsKit 1.40.4\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/block-options\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2023-09-30T07:17:53+00:00\n"
     12"POT-Creation-Date: 2023-12-16T10:24:22+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.7.1\n"
  • block-options/tags/1.40.4/plugin.php

    r2973254 r3010794  
    44 * Plugin URI: https://editorskit.com/
    55 * Description: EditorsKit is a suite of <strong>page building block options</strong> for the Gutenberg block editor.
    6  * Version: 1.40.3
     6 * Version: 1.40.4
    77 * Author: Munir Kamal
    88 * Author URI: https://www.munirkamal.com/
     
    9696        private function setup_constants() {
    9797            $this->define( 'EDITORSKIT_DEBUG', true );
    98             $this->define( 'EDITORSKIT_VERSION', '1.40.3' );
     98            $this->define( 'EDITORSKIT_VERSION', '1.40.4' );
    9999            $this->define( 'EDITORSKIT_HAS_PRO', false );
    100100            $this->define( 'EDITORSKIT_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
  • block-options/tags/1.40.4/readme.txt

    r2973254 r3010794  
    77Tested up to: 6.3
    88Requires PHP: 5.6
    9 Stable tag: 1.40.3
     9Stable tag: 1.40.4
    1010License: GPL-3.0
    1111License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    198198== Changelog ==
    199199
     200= 1.40.4
     201* Fix: Added a check for file type in styles importer to improve security.
     202
    200203= 1.40.3
    201204* Fix: Styles manager conflicting with other post types.
  • block-options/trunk/includes/addons/styles-manager/gutenberghub-styles-manager-admin.php

    r2973254 r3010794  
    6666            EDITORSKIT_PLUGIN_URL . 'build/styles-manager-addon-block.js',
    6767            array(
     68                'lodash',
    6869                'wp-element',
    6970                'wp-api',
     
    9899                EDITORSKIT_PLUGIN_URL . 'build/styles-manager-addon-admin.js',
    99100                array(
     101                    'lodash',
    100102                    'wp-element',
    101103                    'wp-api',
  • block-options/trunk/includes/addons/styles-manager/rest-api/gutenberghub-styles-import-export-controller.php

    r2971684 r3010794  
    105105        }
    106106
     107        $file_type = wp_check_filetype( $files['json']['name'] );
     108
     109        if ( 'json' !== $file_type['ext'] ) {
     110            return new WP_REST_Response( array( 'message' => 'Invalid file type. Only JSON files are allowed.' ), 400 );
     111        }
     112
    107113        require_once ABSPATH . 'wp-admin/includes/file.php';
    108114
  • block-options/trunk/languages/editorskit.pot

    r2973254 r3010794  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: EditorsKit 1.40.3\n"
     5"Project-Id-Version: EditorsKit 1.40.4\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/block-options\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2023-09-30T07:17:53+00:00\n"
     12"POT-Creation-Date: 2023-12-16T10:24:22+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.7.1\n"
  • block-options/trunk/plugin.php

    r2973254 r3010794  
    44 * Plugin URI: https://editorskit.com/
    55 * Description: EditorsKit is a suite of <strong>page building block options</strong> for the Gutenberg block editor.
    6  * Version: 1.40.3
     6 * Version: 1.40.4
    77 * Author: Munir Kamal
    88 * Author URI: https://www.munirkamal.com/
     
    9696        private function setup_constants() {
    9797            $this->define( 'EDITORSKIT_DEBUG', true );
    98             $this->define( 'EDITORSKIT_VERSION', '1.40.3' );
     98            $this->define( 'EDITORSKIT_VERSION', '1.40.4' );
    9999            $this->define( 'EDITORSKIT_HAS_PRO', false );
    100100            $this->define( 'EDITORSKIT_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
  • block-options/trunk/readme.txt

    r2973254 r3010794  
    77Tested up to: 6.3
    88Requires PHP: 5.6
    9 Stable tag: 1.40.3
     9Stable tag: 1.40.4
    1010License: GPL-3.0
    1111License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    198198== Changelog ==
    199199
     200= 1.40.4
     201* Fix: Added a check for file type in styles importer to improve security.
     202
    200203= 1.40.3
    201204* Fix: Styles manager conflicting with other post types.
Note: See TracChangeset for help on using the changeset viewer.