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-admin/includes/ms.php

    r13618 r13715  
    521521
    522522function sync_category_tag_slugs( $term, $taxonomy ) {
    523     if ( $taxonomy == 'category' || $taxonomy == 'post_tag' ) {
     523    if ( global_terms_enabled() && ( $taxonomy == 'category' || $taxonomy == 'post_tag' ) ) {
    524524        if ( is_object( $term ) ) {
    525525            $term->slug = sanitize_title( $term->name );
Note: See TracChangeset for help on using the changeset viewer.