WordPress.org

Plugin Directory

Changeset 354013


Ignore:
Timestamp:
03/02/11 05:21:55 (3 years ago)
Author:
ikailo
Message:
 
Location:
wp-hive/tags/0.6.2
Files:
6 edited

Legend:

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

    r353992 r354013  
    2626if ( ! defined('ABSPATH') ) die("Hmmm..."); 
    2727 
    28 require_once( ABSPATH . WPINC . '/wp-db.php' ); // For Pre 3.1 
     28require_once( ABSPATH . WPINC . '/wp-db.php' ); 
    2929 
    30 // For 3.1 
     30// Required for future release per http://core.trac.wordpress.org/ticket/14508 
    3131if ( ! isset( $wpdb ) ) 
    3232    $wpdb = new wpdb( DB_USER, DB_PASSWORD, DB_NAME, DB_HOST ); 
     
    3737if ( file_exists(WP_PLUGIN_DIR . '/wp-hive/do-prefix.php')) 
    3838    require_once( WP_PLUGIN_DIR . '/wp-hive/do-prefix.php'); 
     39 
    3940?> 
  • wp-hive/tags/0.6.2/do-prefix.php

    r354002 r354013  
    172172 */ 
    173173 
    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(); 
     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. 
     176wphive_force_plugin_active(); 
     177 
     178 
     179// Check if this is a fresh install and fix Siteurl for proper redirect 
     180wphive_siteurl_for_install($wphive->current_site->path, $table_prefix, $orig_hostname, $wphive->current_site->host); 
     181 
    177182?> 
  • wp-hive/tags/0.6.2/includes/functions.php

    r354002 r354013  
    2222function wphive_force_plugin_active() { 
    2323    global $wpdb, $table_prefix; 
    24  
    2524    if (function_exists('wp_cache_get')) { 
    2625        $active_plugins = get_option('active_plugins'); 
  • wp-hive/tags/0.6.2/includes/plugin.php

    r354002 r354013  
    190190add_filter('flush_rewrite_rules_hard', 'force_soft_flush'); 
    191191 
    192 function wphive_post_load() { 
    193     global $wphive, $table_prefix, $orig_hostname; 
    194  
    195     // Check if this is a fresh install and fix Siteurl for proper redirect 
    196  
    197     // TODO: Not sure if this is actually needed anymore??? 
    198     wphive_siteurl_for_install($wphive->current_site->path, $table_prefix, $orig_hostname, $wphive->current_site->host); 
    199 } 
    200 add_action('plugins_loaded', 'wphive_post_load'); 
    201  
    202192?> 
  • wp-hive/tags/0.6.2/readme.txt

    r353992 r354013  
    1 === Plugin Name === 
     1=== Plugin Name === 
    22Author: ikailo 
    33Contributors: ikailo 
  • wp-hive/tags/0.6.2/wp-hive.php

    r353992 r354013  
    44 Plugin URI: http://wp-hive.com/ 
    55 Description: Run multiple sites using a single installation of WordPress. 
    6  Version: 0.6.2 
     6 Version: 0.6.1 
    77 Author: ikailo 
    88 Author URI: http://ikailo.com 
Note: See TracChangeset for help on using the changeset viewer.