Plugin Directory

Changeset 1992301


Ignore:
Timestamp:
12/12/2018 01:49:47 AM (7 years ago)
Author:
themeblvd
Message:

2.3.4

Location:
theme-blvd-layout-builder/tags/2.3.4
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • theme-blvd-layout-builder/tags/2.3.4/inc/admin/class-tb-layout-builder-upgrade-notice.php

    r1991394 r1992301  
    4949    public function in_plugin_update_message( $args, $response ) {
    5050
     51        $message = '';
     52
    5153        if ( ! empty( $args['upgrade_notice'] ) ) {
    52 
    53             $message = '';
    5454
    5555            $notice = $args['upgrade_notice'];
  • theme-blvd-layout-builder/tags/2.3.4/inc/admin/class-tb-layout-builder.php

    r1991394 r1992301  
    42504250     * Check if this is the classic editor.
    42514251     *
    4252      * The new WordPress editor seems to fire all of the
    4253      * old action hooks; so this check helps to eliminate
    4254      * outputting unnecessary stuff into the new editor
     4252     * 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
    42554255     * interface.
    4256      *
    4257      * @TODO Re-check this function as Gutenberg is merged
    4258      * into WordPress 5.0. It will probably need to be changed.
    42594256     *
    42604257     * @since 2.3.0
     
    42774274        }
    42784275
    4279         if ( version_compare( $GLOBALS['wp_version'], '5', '<' ) ) {
     4276        $is_pre_gutenberg = version_compare( $GLOBALS['wp_version'], '5', '<' );
     4277
     4278        if ( $is_pre_gutenberg ) {
    42804279            return true;
    42814280        }
     
    42834282        $is_classic_editor_plugin_installed = class_exists( 'Classic_Editor' );
    42844283
    4285         /*
    4286          * It's too difficult to determine accurately if classic editor
    4287          * should show; so I'm just going to plop it in the edit page
    4288          * screen when the plugin is installed.
    4289          */
    42904284        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        }
    43204303
    43214304        return false;
  • theme-blvd-layout-builder/tags/2.3.4/readme.txt

    r1991394 r1992301  
    33Contributors: themeblvd
    44Tags: layouts, custom, homepage, builder, Theme Blvd, themeblvd, Jason Bobich
    5 Stable Tag: 2.3.3
     5Stable Tag: 2.3.4
    66Tested up to: 5.0
    77
     
    4747== Changelog ==
    4848
     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
    4953= 2.3.3 - 12/10/2018 =
    50 * Fixed: Classic editor's legacy layout builder not displaying because of recent updates to the official Classic Editor plugin.
     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.
    5155
    5256= 2.3.2 - 11/20/2018 =
     
    289293== Upgrade Notice ==
    290294
    291 = 2.3.2 =
     295= 2.3.4 =
    292296Compatible 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  
    33Plugin Name: Theme Blvd Layout Builder
    44Description: When using a Theme Blvd theme, this plugin gives you slick interface to build custom layouts.
    5 Version: 2.3.3
     5Version: 2.3.4
    66Author: Theme Blvd
    77Author URI: http://themeblvd.com
     
    99*/
    1010
    11 define( 'TB_BUILDER_PLUGIN_VERSION', '2.3.3' );
     11define( 'TB_BUILDER_PLUGIN_VERSION', '2.3.4' );
    1212define( 'TB_BUILDER_PLUGIN_DIR', dirname( __FILE__ ) );
    1313define( 'TB_BUILDER_PLUGIN_URI', plugins_url( '' , __FILE__ ) );
Note: See TracChangeset for help on using the changeset viewer.