XPressME Integration Kit

Trac


Ignore:
Timestamp:
Sep 6, 2010, 4:39:53 PM (14 years ago)
Author:
toemon
Message:

comment_quicktags_plusプラグイン対応 Fixes#367

Location:
trunk/xpressme_integration_kit/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/include/add_xpress_process.php

    r576 r650  
    77} 
    88 
     9function comment_quicktags_plus_patch(){ 
     10        $active_plugins = get_option('active_plugins'); 
     11        if (in_array('comment-quicktags/comment_quicktags_plus.php',$active_plugins,true)) { 
     12                ob_end_flush(); 
     13        } 
     14} 
    915function safe_site_url(){ 
    1016        global $xoops_config,$blog_id,$blogname; 
     
    157163                else 
    158164                        require_once( ABSPATH . WPINC . '/template-loader.php' ); 
     165                comment_quicktags_plus_patch(); 
    159166                $wp_output = ob_get_contents(); 
    160167        ob_end_clean(); 
  • trunk/xpressme_integration_kit/include/xpress_block_header.php

    r580 r650  
    6565                ob_start();      
    6666                        wp_head(); 
     67                        comment_quicktags_plus_patch(); 
    6768                        $header_str = ob_get_contents(); 
    6869                ob_end_clean(); 
Note: See TracChangeset for help on using the changeset viewer.