WordPress.org

Plugin Directory

Changeset 161092


Ignore:
Timestamp:
10/07/09 02:01:32 (5 years ago)
Author:
ikailo
Message:
 
Location:
wp-hive/tags/0.5
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • wp-hive/tags/0.5/add-ons/root-files-rewriter.php

    r151196 r161092  
    11<?php 
     2/* 
     3 WP Hive is a Wordpress Plugin that allows a single Wordpress installation to service multiple blogs. 
     4 This file is part of WP Hive. 
     5 
     6 WP Hive is free software: you can redistribute it and/or modify 
     7 it under the terms of the GNU General Public License as published by 
     8 the Free Software Foundation, either version 3 of the License, or 
     9 (at your option) any later version. 
     10 
     11 WP Hive is distributed in the hope that it will be useful, 
     12 but WITHOUT ANY WARRANTY; without even the implied warranty of 
     13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     14 GNU General Public License for more details. 
     15 
     16 You should have received a copy of the GNU General Public License 
     17 along with WP Hive.  If not, see <http://www.gnu.org/licenses/>. 
     18 
     19 Copyright (C) 2009 John Sessford - john@wp-hive.com 
     20 */ 
     21 
    222/* -------- 
    323 * Robots.txt Manager 
  • wp-hive/tags/0.5/admin/add.php

    r151196 r161092  
    11<?php 
     2/* 
     3 WP Hive is a Wordpress Plugin that allows a single Wordpress installation to service multiple blogs. 
     4 This file is part of WP Hive. 
     5 
     6 WP Hive is free software: you can redistribute it and/or modify 
     7 it under the terms of the GNU General Public License as published by 
     8 the Free Software Foundation, either version 3 of the License, or 
     9 (at your option) any later version. 
     10 
     11 WP Hive is distributed in the hope that it will be useful, 
     12 but WITHOUT ANY WARRANTY; without even the implied warranty of 
     13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     14 GNU General Public License for more details. 
     15 
     16 You should have received a copy of the GNU General Public License 
     17 along with WP Hive.  If not, see <http://www.gnu.org/licenses/>. 
     18 
     19 Copyright (C) 2009 John Sessford - john@wp-hive.com 
     20 */ 
     21 
    222if ( ! defined('ABSPATH') ) die("Hmmm..."); 
    323 
     
    525 
    626require (WPHIVE_PATH.'/admin/edit.php'); 
     27?> 
  • wp-hive/tags/0.5/admin/edit.php

    r160829 r161092  
    1717 along with WP Hive.  If not, see <http://www.gnu.org/licenses/>. 
    1818 
    19  Copyright (C) 2008 John Sessford - john@wp-hive.com 
     19 Copyright (C) 2009 John Sessford - john@wp-hive.com 
    2020 */ 
    2121 
  • wp-hive/tags/0.5/admin/settings.php

    r156140 r161092  
    1717 along with WP Hive.  If not, see <http://www.gnu.org/licenses/>. 
    1818 
    19  Copyright (C) 2008 John Sessford - john@wp-hive.com 
     19 Copyright (C) 2009 John Sessford - john@wp-hive.com 
    2020 */ 
    2121 
  • wp-hive/tags/0.5/db.php

    r138681 r161092  
    11<?php 
     2/* 
     3 WP Hive is a Wordpress Plugin that allows a single Wordpress installation to service multiple blogs. 
     4 This file is part of WP Hive. 
     5 
     6 WP Hive is free software: you can redistribute it and/or modify 
     7 it under the terms of the GNU General Public License as published by 
     8 the Free Software Foundation, either version 3 of the License, or 
     9 (at your option) any later version. 
     10 
     11 WP Hive is distributed in the hope that it will be useful, 
     12 but WITHOUT ANY WARRANTY; without even the implied warranty of 
     13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     14 GNU General Public License for more details. 
     15 
     16 You should have received a copy of the GNU General Public License 
     17 along with WP Hive.  If not, see <http://www.gnu.org/licenses/>. 
     18 
     19 Copyright (C) 2009 John Sessford - john@wp-hive.com 
     20 */ 
     21 
    222/* Put this file into the wp-content directory 
    323 * WP Hive Plugin - Database Hook 
    424 */ 
     25 
    526require_once( ABSPATH . WPINC . '/wp-db.php' ); 
    627require_once( WP_CONTENT_DIR . '/plugins/wp-hive/do-prefix.php'); 
  • wp-hive/tags/0.5/do-prefix.php

    r160829 r161092  
    11<?php 
     2/* 
     3 WP Hive is a Wordpress Plugin that allows a single Wordpress installation to service multiple blogs. 
     4 This file is part of WP Hive. 
    25 
    3 // WP Hive Plugin 
    4 // Version 0.5 
     6 WP Hive is free software: you can redistribute it and/or modify 
     7 it under the terms of the GNU General Public License as published by 
     8 the Free Software Foundation, either version 3 of the License, or 
     9 (at your option) any later version. 
     10 
     11 WP Hive is distributed in the hope that it will be useful, 
     12 but WITHOUT ANY WARRANTY; without even the implied warranty of 
     13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     14 GNU General Public License for more details. 
     15 
     16 You should have received a copy of the GNU General Public License 
     17 along with WP Hive.  If not, see <http://www.gnu.org/licenses/>. 
     18 
     19 Copyright (C) 2009 John Sessford - john@wp-hive.com 
     20 */ 
    521 
    622global $wpdb, $table_prefix, $hostname, $pathname, $wphive; 
  • wp-hive/tags/0.5/includes/class.wphive.php

    r161074 r161092  
    1717 along with WP Hive.  If not, see <http://www.gnu.org/licenses/>. 
    1818 
    19  Copyright (C) 2008 John Sessford - john@wp-hive.com 
     19 Copyright (C) 2009 John Sessford - john@wp-hive.com 
    2020 */ 
    2121 
  • wp-hive/tags/0.5/includes/functions.php

    r161074 r161092  
    11<?php 
     2/* 
     3 WP Hive is a Wordpress Plugin that allows a single Wordpress installation to service multiple blogs. 
     4 This file is part of WP Hive. 
     5 
     6 WP Hive is free software: you can redistribute it and/or modify 
     7 it under the terms of the GNU General Public License as published by 
     8 the Free Software Foundation, either version 3 of the License, or 
     9 (at your option) any later version. 
     10 
     11 WP Hive is distributed in the hope that it will be useful, 
     12 but WITHOUT ANY WARRANTY; without even the implied warranty of 
     13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     14 GNU General Public License for more details. 
     15 
     16 You should have received a copy of the GNU General Public License 
     17 along with WP Hive.  If not, see <http://www.gnu.org/licenses/>. 
     18 
     19 Copyright (C) 2009 John Sessford - john@wp-hive.com 
     20 */ 
    221 
    322function wphive_force_plugin_active() { 
  • wp-hive/tags/0.5/includes/install.php

    r156140 r161092  
    11<?php 
     2/* 
     3 WP Hive is a Wordpress Plugin that allows a single Wordpress installation to service multiple blogs. 
     4 This file is part of WP Hive. 
     5 
     6 WP Hive is free software: you can redistribute it and/or modify 
     7 it under the terms of the GNU General Public License as published by 
     8 the Free Software Foundation, either version 3 of the License, or 
     9 (at your option) any later version. 
     10 
     11 WP Hive is distributed in the hope that it will be useful, 
     12 but WITHOUT ANY WARRANTY; without even the implied warranty of 
     13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     14 GNU General Public License for more details. 
     15 
     16 You should have received a copy of the GNU General Public License 
     17 along with WP Hive.  If not, see <http://www.gnu.org/licenses/>. 
     18 
     19 Copyright (C) 2009 John Sessford - john@wp-hive.com 
     20 */ 
    221 
    322function wphive_maybe_install($from_version, $to_version) { 
  • wp-hive/tags/0.5/resources/mime-content-type.php

    r151196 r161092  
    11<?php 
     2/* 
     3 WP Hive is a Wordpress Plugin that allows a single Wordpress installation to service multiple blogs. 
     4 This file is part of WP Hive. 
     5 
     6 WP Hive is free software: you can redistribute it and/or modify 
     7 it under the terms of the GNU General Public License as published by 
     8 the Free Software Foundation, either version 3 of the License, or 
     9 (at your option) any later version. 
     10 
     11 WP Hive is distributed in the hope that it will be useful, 
     12 but WITHOUT ANY WARRANTY; without even the implied warranty of 
     13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     14 GNU General Public License for more details. 
     15 
     16 You should have received a copy of the GNU General Public License 
     17 along with WP Hive.  If not, see <http://www.gnu.org/licenses/>. 
     18 
     19 Copyright (C) 2009 John Sessford - john@wp-hive.com 
     20 */ 
     21 
     22/* Props to English Mike - http://englishmike.net */ 
     23 
    224if ( !function_exists('mime_content_type') ) { 
    325    function mime_content_type($filename) { 
  • wp-hive/tags/0.5/wp-hive.php

    r160829 r161092  
    11<?php 
    2  
    32/* 
    43 Plugin Name: WP Hive 
     
    87 Author: ikailo 
    98 Author URI: http://wp-hive.com 
     9 */ 
     10 
     11/* 
     12 WP Hive is a Wordpress Plugin that allows a single Wordpress installation to service multiple blogs. 
     13 This file is part of WP Hive. 
     14 
     15 WP Hive is free software: you can redistribute it and/or modify 
     16 it under the terms of the GNU General Public License as published by 
     17 the Free Software Foundation, either version 3 of the License, or 
     18 (at your option) any later version. 
     19 
     20 WP Hive is distributed in the hope that it will be useful, 
     21 but WITHOUT ANY WARRANTY; without even the implied warranty of 
     22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     23 GNU General Public License for more details. 
     24 
     25 You should have received a copy of the GNU General Public License 
     26 along with WP Hive.  If not, see <http://www.gnu.org/licenses/>. 
     27 
     28 Copyright (C) 2009 John Sessford - john@wp-hive.com 
    1029 */ 
    1130 
     
    5372add_action('admin_menu', 'wphive_admin_hook'); 
    5473 
     74/*  
     75 * Sorting out wp-admin confusion  
     76 * when logging into subdirectories. 
     77 */ 
    5578 
    5679function wphive_login_notices() { 
    57 /* Trying to sort out wp-admin confusion, when logging into subdirectories, because path is not in browser url. */ 
    5880    if ( isset($_COOKIE['wphive_pathname']) ) { 
    5981         
     
    7294wphive_login_notices(); 
    7395 
    74 /* Fix Meta URLs */ 
     96/* 
     97 * Fix Meta URLs 
     98 */ 
     99 
    75100function wphive_meta_url($meta_url) { 
    76101    global $wphive; 
     
    87112add_filter('wp_admin', 'wphive_meta_url'); 
    88113 
    89 /* Log Out */ 
     114/* 
     115 *  Log Out 
     116 */ 
    90117 
    91118function wphive_logout() { 
Note: See TracChangeset for help on using the changeset viewer.