Changeset 1992301
- Timestamp:
- 12/12/2018 01:49:47 AM (7 years ago)
- Location:
- theme-blvd-layout-builder/tags/2.3.4
- Files:
-
- 4 edited
-
inc/admin/class-tb-layout-builder-upgrade-notice.php (modified) (1 diff)
-
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.4/inc/admin/class-tb-layout-builder-upgrade-notice.php
r1991394 r1992301 49 49 public function in_plugin_update_message( $args, $response ) { 50 50 51 $message = ''; 52 51 53 if ( ! empty( $args['upgrade_notice'] ) ) { 52 53 $message = '';54 54 55 55 $notice = $args['upgrade_notice']; -
theme-blvd-layout-builder/tags/2.3.4/inc/admin/class-tb-layout-builder.php
r1991394 r1992301 4250 4250 * Check if this is the classic editor. 4251 4251 * 4252 * The new WordPress editor seems to fire all of the4253 * old action hooks; so this check helps to eliminate4254 * outputting unnecessary stuff into the new editor4252 * The new WordPress block editor seems to fire all of 4253 * the old action hooks; so this check helps to eliminate 4254 * outputting unnecessary stuff into the new block editor 4255 4255 * interface. 4256 *4257 * @TODO Re-check this function as Gutenberg is merged4258 * into WordPress 5.0. It will probably need to be changed.4259 4256 * 4260 4257 * @since 2.3.0 … … 4277 4274 } 4278 4275 4279 if ( version_compare( $GLOBALS['wp_version'], '5', '<' ) ) { 4276 $is_pre_gutenberg = version_compare( $GLOBALS['wp_version'], '5', '<' ); 4277 4278 if ( $is_pre_gutenberg ) { 4280 4279 return true; 4281 4280 } … … 4283 4282 $is_classic_editor_plugin_installed = class_exists( 'Classic_Editor' ); 4284 4283 4285 /*4286 * It's too difficult to determine accurately if classic editor4287 * should show; so I'm just going to plop it in the edit page4288 * screen when the plugin is installed.4289 */4290 4284 if ( $is_classic_editor_plugin_installed ) { 4291 return true; 4292 } 4293 4294 // if ( ! $is_classic_editor_plugin_installed ) { 4295 // return false; 4296 // } 4297 4298 // if ( isset( $_REQUEST['classic-editor'] ) ) { 4299 // return true; 4300 // } 4301 4302 // $option = get_option( 'classic-editor-replace' ); 4303 4304 // if ( $option === 'block' || $option === 'no-replace' ) { // Backwards compat for option. 4305 // $editor = 'block'; 4306 // } else { 4307 // // empty( $option ) || $option === 'classic' || $option === 'replace'. 4308 // $editor = 'classic'; 4309 // } 4310 4311 // $allow_users = ( 'allow' === get_option( 'classic-editor-allow-users' ) ); 4312 4313 // if ( 'classic' === $editor && ! $allow_users ) { 4314 // return true; 4315 // } 4316 4317 // if ( $allow_users && 'classic' === get_user_option( 'classic-editor-settings' ) ) { 4318 // return true; 4319 // } 4285 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'] ) ) { 4291 4292 $was_saved_with_classic_editor = ( 'classic-editor' === get_post_meta( $post_id, 'classic-editor-remember', true ) ); 4293 4294 if ( $was_saved_with_classic_editor ) { 4295 return true; 4296 } 4297 } 4298 4299 if ( isset( $_GET['classic-editor'] ) ) { 4300 return true; 4301 } 4302 } 4320 4303 4321 4304 return false; -
theme-blvd-layout-builder/tags/2.3.4/readme.txt
r1991394 r1992301 3 3 Contributors: themeblvd 4 4 Tags: layouts, custom, homepage, builder, Theme Blvd, themeblvd, Jason Bobich 5 Stable Tag: 2.3. 35 Stable Tag: 2.3.4 6 6 Tested up to: 5.0 7 7 … … 47 47 == Changelog == 48 48 49 = 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. 51 * Fixed: Occasional upgrade notice PHP warnings. 52 49 53 = 2.3.3 - 12/10/2018 = 50 * Fixed: Classic editor's legacy layout builder not displaying because of recent updates to the official Classic Editorplugin.54 * Fixed: Classic editor's legacy layout builder not displaying because of recent updates to the official [Classic Editor](https://wordpress.org/plugins/classic-editor) plugin. 51 55 52 56 = 2.3.2 - 11/20/2018 = … … 289 293 == Upgrade Notice == 290 294 291 = 2.3. 2=295 = 2.3.4 = 292 296 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.4/tb-builder.php
r1991394 r1992301 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. 35 Version: 2.3.4 6 6 Author: Theme Blvd 7 7 Author URI: http://themeblvd.com … … 9 9 */ 10 10 11 define( 'TB_BUILDER_PLUGIN_VERSION', '2.3. 3' );11 define( 'TB_BUILDER_PLUGIN_VERSION', '2.3.4' ); 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.