XPressME Integration Kit

Trac


Ignore:
Timestamp:
Dec 18, 2008, 1:20:50 PM (15 years ago)
Author:
toemon
Message:

モジュールインストール・アップデート時にxpressmeプラグインを有効にする #42

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/onupdate.php

    r1 r34  
    4646                }                                
    4747        } 
     48        /* activate the tag plugin */ 
     49        $plugin_current = "xpressme/xpressme.php"; 
     50        update_option('active_plugins', array($plugin_current)); 
     51        include(dirname(__FILE__) . '/../wp-content/plugins/'.$plugin_current); 
     52        do_action('activate_'.$plugin_current); 
     53         
    4854//      update_option("blog_charset", wp_blog_charset()); 
    4955        $xpress_version = $module->modinfo['version']; 
Note: See TracChangeset for help on using the changeset viewer.