Plugin Directory

Changeset 2953708


Ignore:
Timestamp:
08/15/2023 09:20:06 AM (3 years ago)
Author:
netbiel
Message:

Fix error "cant redeclare function" - wrong function name

Location:
rocksite-sections
Files:
38 added
3 edited

Legend:

Unmodified
Added
Removed
  • rocksite-sections/trunk/README.txt

    r2953181 r2953708  
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1111
    12 Collection of ready-to-use Gutenberg sections (block patterns) based on Kadence Blocks Library: Article Lists Sections, Features, Subscription Form Sections
     12Collection of ready-to-use Gutenberg sections (block patterns) based on Kadence Blocks Library: Hero Sections, Features Sections, Call to Actions etc.
    1313
    1414== Description ==
     
    6666== Changelog ==
    6767
     68= 1.1.1 =
     69* Fix error "cant redeclare function" - wrong function name
     70
    6871= 1.1.0 =
    6972* updating section templates
  • rocksite-sections/trunk/includes/class-rocksite-blocks-library.php

    r2953181 r2953708  
    108108         * Load TGM Plugin
    109109         */
    110 
    111         require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/tgm/class-tgm-plugin-activation.php';
    112 
    113         require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/tgm/plugins-list.php';
     110        if ( ! class_exists( 'TGM_Plugin_Activation' ) ) {
     111            require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/tgm/class-tgm-plugin-activation.php';
     112
     113            require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/tgm/plugins-list.php';
     114        }
    114115
    115116        /**
  • rocksite-sections/trunk/rocksite-blocks-library.php

    r2953181 r2953708  
    44 * Plugin Name:       Rocksite Sections
    55 * Description:       Extends Kadence Blocks Library with new sections: Hero Sections, Features Sections, Call to Actions etc.
    6  * Version:           1.1.0
     6 * Version:           1.1.1
    77 * Author:            Piotr Bielecki
    88 * Author URI:        https://rocksite.pro/
     
    1818}
    1919
    20 define( 'ROCKSITE_BLOCKS_LIBRARY_VERSION', '1.0.3' );
     20define( 'ROCKSITE_BLOCKS_LIBRARY_VERSION', '1.1.1' );
    2121
    2222/**
Note: See TracChangeset for help on using the changeset viewer.