Changeset 25018
- Timestamp:
- 08/14/2013 03:00:37 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/ms-functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r24993 r25018 18 18 */ 19 19 function get_sitestats() { 20 global $wpdb;21 22 20 $stats = array( 23 21 'blogs' => get_blog_count(), … … 816 814 */ 817 815 function wpmu_activate_signup($key) { 818 global $wpdb , $current_site;816 global $wpdb; 819 817 820 818 $signup = $wpdb->get_row( $wpdb->prepare("SELECT * FROM $wpdb->signups WHERE activation_key = %s", $key) ); … … 1609 1607 */ 1610 1608 function maybe_redirect_404() { 1611 global $current_site;1612 1609 if ( is_main_site() && is_404() && defined( 'NOBLOGREDIRECT' ) && ( $destination = apply_filters( 'blog_redirect_404', NOBLOGREDIRECT ) ) ) { 1613 1610 if ( $destination == '%siteurl%' )
Note: See TracChangeset
for help on using the changeset viewer.