Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 18 additions & 16 deletions plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ function is_frontend() {
require_once( plugin_dir_path( __FILE__ ) . 'src/jetpack.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/multisite.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/kses.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/css-file-generator.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/dynamic-breakpoints.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/design-library/init.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/design-library/default-placeholders.php' );
Expand Down Expand Up @@ -332,20 +333,21 @@ function is_frontend() {
}
}

// Deprecated.
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/editor-settings.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/native-global-colors.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/navigation-panel-pre-enabled.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/font-awesome-version.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/global-color-schemes.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/block-defaults.php' );
// Allow users to disable the deprecated code via STACKABLE_DISABLE_DEPRECATED_CODE.
if ( ! defined( 'STACKABLE_DISABLE_DEPRECATED_CODE' ) ) {
// Deprecated.
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/editor-settings.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/native-global-colors.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/navigation-panel-pre-enabled.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/font-awesome-version.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/global-color-schemes.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/block-defaults.php' );

/**
* V2 Deprecated
*/
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/v2/init.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/v2/blocks.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/v2/disabled-blocks.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/v2/design-library/init.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/v2/optimization-settings.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/v2/global-settings.php' );
// V2 Deprecated
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/v2/init.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/v2/blocks.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/v2/disabled-blocks.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/v2/design-library/init.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/v2/optimization-settings.php' );
require_once( plugin_dir_path( __FILE__ ) . 'src/deprecated/v2/global-settings.php' );
}
Loading
Loading