Changeset 1992783
- Timestamp:
- 12/12/2018 01:25:11 PM (7 years ago)
- Location:
- theme-blvd-layout-builder/tags/2.3.5
- Files:
-
- 3 edited
-
inc/admin/class-tb-layout-builder.php (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
-
tb-builder.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
theme-blvd-layout-builder/tags/2.3.5/inc/admin/class-tb-layout-builder.php
r1992301 r1992783 2481 2481 public function builder_init() { 2482 2482 2483 if ( $this->is_classic_editor() ) { 2484 2485 add_action( 'save_post', array( $this, 'save_post' ) ); 2483 $screen = get_current_screen(); 2484 2485 if ( 'post' == $screen->base && 'page' == $screen->id ) { 2486 if ( $this->is_supported_post_type( $screen->post_type ) ) { 2487 add_action( 'save_post', array( $this, 'save_post' ) ); 2488 } 2489 } 2490 2491 if ( $this->is_classic_editor( $screen ) ) { 2486 2492 2487 2493 add_action( 'edit_form_after_title', array( $this, 'builder' ) ); … … 4284 4290 if ( $is_classic_editor_plugin_installed ) { 4285 4291 4286 $post_id = (int) $_GET['post']; 4287 4288 $allow_users = ( 'allow' === get_option( 'classic-editor-allow-users' ) ); 4289 4290 if ( $post_id && $allow_users && ! isset( $_GET['classic-editor__forget'] ) ) { 4292 $post_id = ! empty( $_GET['post'] ) ? (int) $_GET['post'] : 0; 4293 4294 $allow_users_to_switch_editors = ( 'allow' === get_option( 'classic-editor-allow-users' ) ); 4295 4296 // Is the classic editor "remembering" to use the classic editor? 4297 if ( $post_id && $allow_users_to_switch_editors && ! isset( $_GET['classic-editor__forget'] ) ) { 4291 4298 4292 4299 $was_saved_with_classic_editor = ( 'classic-editor' === get_post_meta( $post_id, 'classic-editor-remember', true ) ); … … 4297 4304 } 4298 4305 4306 // Is the classic editor being explicitly switched to? 4299 4307 if ( isset( $_GET['classic-editor'] ) ) { 4308 return true; 4309 } 4310 4311 $option = get_option( 'classic-editor-replace' ); 4312 4313 $use_classic_editor = ( empty( $option ) || $option === 'classic' || $option === 'replace' ); 4314 4315 // Is the user forced to use classic editor and not allowed to switch? 4316 if ( ! $allow_users_to_switch_editors && $use_classic_editor ) { 4300 4317 return true; 4301 4318 } -
theme-blvd-layout-builder/tags/2.3.5/readme.txt
r1992301 r1992783 3 3 Contributors: themeblvd 4 4 Tags: layouts, custom, homepage, builder, Theme Blvd, themeblvd, Jason Bobich 5 Stable Tag: 2.3. 45 Stable Tag: 2.3.5 6 6 Tested up to: 5.0 7 7 … … 47 47 == Changelog == 48 48 49 = 2.3.5 - 12/12/2018 = 50 * Fixed: More integration issues with official [Classic Editor](https://wordpress.org/plugins/classic-editor) plugin. 51 49 52 = 2.3.4 - 12/11/2018 = 50 * Fixed: More stable compatibility with the official [Classic Editor](https://wordpress.org/plugins/classic-editor) plugin; there were some instances when Classic Editor plugin is installed, where saving from the block editor would result in corrupted data in the page's attached custom layout.53 * Fixed: More integration issues with official [Classic Editor](https://wordpress.org/plugins/classic-editor) plugin. 51 54 * Fixed: Occasional upgrade notice PHP warnings. 52 55 … … 293 296 == Upgrade Notice == 294 297 295 = 2.3. 4=298 = 2.3.5 = 296 299 Compatible Themes: Jump Start 2.0+, Denali 1.0+, Gnar 1.0+, Akita 2.1.17+, Alyeska 3.1.17+, Arcadian 2.1.8+, Barely Corporate 4.1.17+, Commodore 3.0.14+, Swagger 2.1.17+ -
theme-blvd-layout-builder/tags/2.3.5/tb-builder.php
r1992301 r1992783 3 3 Plugin Name: Theme Blvd Layout Builder 4 4 Description: When using a Theme Blvd theme, this plugin gives you slick interface to build custom layouts. 5 Version: 2.3. 45 Version: 2.3.5 6 6 Author: Theme Blvd 7 7 Author URI: http://themeblvd.com … … 9 9 */ 10 10 11 define( 'TB_BUILDER_PLUGIN_VERSION', '2.3. 4' );11 define( 'TB_BUILDER_PLUGIN_VERSION', '2.3.5' ); 12 12 define( 'TB_BUILDER_PLUGIN_DIR', dirname( __FILE__ ) ); 13 13 define( 'TB_BUILDER_PLUGIN_URI', plugins_url( '' , __FILE__ ) );
Note: See TracChangeset
for help on using the changeset viewer.