Changeset 1463
- Timestamp:
- 09/02/08 16:18:07 (3 months ago)
- Files:
-
- branches/2.6/wp-includes/wpmu-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.6/wp-includes/wpmu-functions.php
r1460 r1463 1701 1701 1702 1702 function admin_footer() { 1703 global $wpdb; 1703 global $wpdb, $current_blog, $current_site; 1704 if( $current_blog->domain . $current_blog->path == $current_site->domain . $current_site->path ) 1705 return false; 1704 1706 1705 1707 if( $this->reallydeleteblog == true ) { … … 1709 1711 1710 1712 function admin_menu() { 1711 add_submenu_page('options-general.php', __('Delete Blog'), __('Delete Blog'), 'manage_options', 'delete-blog', array(&$this, 'plugin_content')); 1713 global $current_blog, $current_site; 1714 if( $current_blog->domain . $current_blog->path != $current_site->domain . $current_site->path ) 1715 add_submenu_page('options-general.php', __('Delete Blog'), __('Delete Blog'), 'manage_options', 'delete-blog', array(&$this, 'plugin_content')); 1712 1716 } 1713 1717
