Plugin Directory

Changeset 1865185


Ignore:
Timestamp:
04/27/2018 04:08:03 AM (8 years ago)
Author:
kingthemes
Message:

update version 2.7.2

Location:
kingcomposer/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kingcomposer/trunk/assets/css/kc.builder.css

    r1861304 r1865185  
    8585}
    8686body.gutenberg-editor-page .edit-post-layout__content{
    87     margin-top: 40px;
     87    margin-top: 50px;
    8888}
    8989body.kc-editor-active{
  • kingcomposer/trunk/includes/kc.actions.php

    r1861304 r1865185  
    135135
    136136add_action('admin_enqueue_scripts', 'kc_assets', 1 );
     137
    137138function kc_assets(){
    138139
     
    239240
    240241add_filter ('admin_body_class', 'kc_admin_body_classes');
     242
    241243function kc_admin_body_classes ($classes) {
    242244
     
    259261
    260262add_action ('admin_bar_menu', 'kc_admin_bar', 999);
     263
    261264function kc_admin_bar ($wp_admin_bar) {
    262265
     
    275278
    276279add_action ('admin_menu', 'kc_settings_menu', 0);
     280
    277281function kc_settings_menu() {
    278282
     
    541545
    542546}
     547
    543548add_filter ('tiny_mce_before_init', 'kc_tinymce_fix');
    544549
     
    569574
    570575add_action ('save_post', 'kc_process_save', 999, 2);
     576
    571577function kc_process_save ($post_id, $post) {
    572578   
     
    633639        );
    634640
    635     }
    636     else{
     641    } else {
     642       
     643        if( !isset($_POST['action']) || $_POST['action'] !== 'inline-save'){
     644            $wpdb->update(
     645
     646                $wpdb->prefix.'posts',
     647
     648                array(
     649                    'ID' => $id,
     650                    'post_content_filtered' => ''
     651                ),
     652
     653                array( 'ID' => $id )
     654            );
     655        }
     656       
     657        if (isset($post->filter) && $post->filter == 'raw') {
     658            kc_process_save_meta($id, array('mode' => ''));
     659        }
     660       
     661    }
     662    /*else if (defined('GUTENBERG_VERSION')){
    637663
    638664        if (!isset($_POST['action']) || $_POST['action'] != 'inline-save'){
     
    651677            kc_process_save_meta($id, array('mode' => ''));
    652678        }
    653     }
     679    }*/
    654680
    655681}
  • kingcomposer/trunk/includes/kc.maps.php

    r1857785 r1865185  
    66136613        'name' => __( 'Contact Form 7', 'kingcomposer' ),
    66146614        'title' => 'Contact Form 7',
    6615         'icon' => 'fa fa-arrows-h',
     6615        'icon' => 'fas fa-envelope',
    66166616        'category' => 'Content',
    66176617        'wrapper_class' => 'clearfix',
Note: See TracChangeset for help on using the changeset viewer.