Make WordPress Core


Ignore:
Timestamp:
03/16/2010 05:17:55 PM (15 years ago)
Author:
wpmuguru
Message:

first pass on optional global terms, see #12589

File:
1 edited

Legend:

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

    r13563 r13715  
    12111211    global $wpdb;
    12121212
     1213    if ( !global_terms_enabled() )
     1214        return $term_id;
     1215
    12131216    $term_id = intval( $term_id );
    12141217    $c = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->terms WHERE term_id = %d", $term_id ) );
Note: See TracChangeset for help on using the changeset viewer.