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

    r13713 r13715  
    108108        }
    109109        update_site_option( "dashboard_blog", $dashboard_blog_id );
     110        // global terms
     111        if ( !global_terms_enabled() && '1' == $_POST[ 'global_terms_enabled' ] ) {
     112            require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
     113            // create global terms table
     114            install_global_terms();
     115        }
    110116        $options = array( 'registrationnotification', 'registration', 'add_new_users', 'menu_items', 'mu_media_buttons', 'upload_space_check_disabled', 'blog_upload_space', 'upload_filetypes', 'site_name', 'first_post', 'first_page', 'first_comment', 'first_comment_url', 'first_comment_author', 'welcome_email', 'welcome_user_email', 'fileupload_maxk', 'admin_notice_feed', 'global_terms_enabled' );
    111117        $checked_options = array('mu_media_buttons', 'menu_items');
Note: See TracChangeset for help on using the changeset viewer.