Changeset 1865185
- Timestamp:
- 04/27/2018 04:08:03 AM (8 years ago)
- Location:
- kingcomposer/trunk
- Files:
-
- 3 edited
-
assets/css/kc.builder.css (modified) (1 diff)
-
includes/kc.actions.php (modified) (8 diffs)
-
includes/kc.maps.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kingcomposer/trunk/assets/css/kc.builder.css
r1861304 r1865185 85 85 } 86 86 body.gutenberg-editor-page .edit-post-layout__content{ 87 margin-top: 40px;87 margin-top: 50px; 88 88 } 89 89 body.kc-editor-active{ -
kingcomposer/trunk/includes/kc.actions.php
r1861304 r1865185 135 135 136 136 add_action('admin_enqueue_scripts', 'kc_assets', 1 ); 137 137 138 function kc_assets(){ 138 139 … … 239 240 240 241 add_filter ('admin_body_class', 'kc_admin_body_classes'); 242 241 243 function kc_admin_body_classes ($classes) { 242 244 … … 259 261 260 262 add_action ('admin_bar_menu', 'kc_admin_bar', 999); 263 261 264 function kc_admin_bar ($wp_admin_bar) { 262 265 … … 275 278 276 279 add_action ('admin_menu', 'kc_settings_menu', 0); 280 277 281 function kc_settings_menu() { 278 282 … … 541 545 542 546 } 547 543 548 add_filter ('tiny_mce_before_init', 'kc_tinymce_fix'); 544 549 … … 569 574 570 575 add_action ('save_post', 'kc_process_save', 999, 2); 576 571 577 function kc_process_save ($post_id, $post) { 572 578 … … 633 639 ); 634 640 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')){ 637 663 638 664 if (!isset($_POST['action']) || $_POST['action'] != 'inline-save'){ … … 651 677 kc_process_save_meta($id, array('mode' => '')); 652 678 } 653 } 679 }*/ 654 680 655 681 } -
kingcomposer/trunk/includes/kc.maps.php
r1857785 r1865185 6613 6613 'name' => __( 'Contact Form 7', 'kingcomposer' ), 6614 6614 'title' => 'Contact Form 7', 6615 'icon' => 'fa fa-arrows-h',6615 'icon' => 'fas fa-envelope', 6616 6616 'category' => 'Content', 6617 6617 'wrapper_class' => 'clearfix',
Note: See TracChangeset
for help on using the changeset viewer.