XPressME Integration Kit

Trac

Changeset 652


Ignore:
Timestamp:
Sep 7, 2010, 2:21:39 PM (14 years ago)
Author:
toemon
Message:

comment_quicktags_plusプラグイン対応 Fixes#367
プラグインのインストールディレクトリがことなっていても対応するように変更

File:
1 edited

Legend:

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

    r650 r652  
    99function comment_quicktags_plus_patch(){ 
    1010        $active_plugins = get_option('active_plugins'); 
    11         if (in_array('comment-quicktags/comment_quicktags_plus.php',$active_plugins,true)) { 
    12                 ob_end_flush(); 
     11        foreach($active_plugins as $active_plugin){ 
     12                if(preg_match('/comment_quicktags_plus\.php/',$active_plugin)) ob_end_flush(); 
    1313        } 
    1414} 
Note: See TracChangeset for help on using the changeset viewer.