Make WordPress Core

Changeset 25018


Ignore:
Timestamp:
08/14/2013 03:00:37 PM (12 years ago)
Author:
ocean90
Message:

Remove references to unused globals. props jeremyfelt. fixes #24984.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-functions.php

    r24993 r25018  
    1818 */
    1919function get_sitestats() {
    20     global $wpdb;
    21 
    2220    $stats = array(
    2321        'blogs' => get_blog_count(),
     
    816814 */
    817815function wpmu_activate_signup($key) {
    818     global $wpdb, $current_site;
     816    global $wpdb;
    819817
    820818    $signup = $wpdb->get_row( $wpdb->prepare("SELECT * FROM $wpdb->signups WHERE activation_key = %s", $key) );
     
    16091607 */
    16101608function maybe_redirect_404() {
    1611     global $current_site;
    16121609    if ( is_main_site() && is_404() && defined( 'NOBLOGREDIRECT' ) && ( $destination = apply_filters( 'blog_redirect_404', NOBLOGREDIRECT ) ) ) {
    16131610        if ( $destination == '%siteurl%' )
Note: See TracChangeset for help on using the changeset viewer.