WordPress.org

Plugin Directory

Changeset 354002


Ignore:
Timestamp:
03/02/11 03:18:42 (3 years ago)
Author:
ikailo
Message:
 
Location:
wp-hive/tags/0.6.2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-hive/tags/0.6.2/do-prefix.php

    r353992 r354002  
    172172 */ 
    173173 
    174  
     174    // Setting up for success - force plugin active. Will be changed in a future version. 
     175    // Just remember that you need to delete db.php if you want to deactivate the plugin. 
     176    wphive_force_plugin_active(); 
    175177?> 
  • wp-hive/tags/0.6.2/includes/functions.php

    r353992 r354002  
    2222function wphive_force_plugin_active() { 
    2323    global $wpdb, $table_prefix; 
    24     if (function_exists('apply_filters')) { 
     24 
     25    if (function_exists('wp_cache_get')) { 
    2526        $active_plugins = get_option('active_plugins'); 
    2627        $plugin_name = 'wp-hive/wp-hive.php'; 
  • wp-hive/tags/0.6.2/includes/plugin.php

    r353992 r354002  
    193193    global $wphive, $table_prefix, $orig_hostname; 
    194194 
    195     // Setting up for success - force plugin active. Will be changed in a future version. 
    196     // Just remember that you need to delete db.php if you want to deactivate the plugin. 
    197     wphive_force_plugin_active(); 
    198  
    199195    // Check if this is a fresh install and fix Siteurl for proper redirect 
     196 
     197    // TODO: Not sure if this is actually needed anymore??? 
    200198    wphive_siteurl_for_install($wphive->current_site->path, $table_prefix, $orig_hostname, $wphive->current_site->host); 
    201  
    202199} 
    203200add_action('plugins_loaded', 'wphive_post_load'); 
Note: See TracChangeset for help on using the changeset viewer.