Make WordPress Core


Ignore:
Timestamp:
05/25/2010 01:58:52 PM (14 years ago)
Author:
nacin
Message:

Remove the on switch for global terms. install_global_terms() can be triggered in a plugin. see #12666.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/ms-edit.php

    r14737 r14880  
    116116        }
    117117        update_site_option( 'dashboard_blog', $dashboard_blog_id );
    118         // global terms
    119         if ( !global_terms_enabled() && ! empty( $_POST['global_terms_enabled'] ) ) {
    120             require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
    121             // create global terms table
    122             install_global_terms();
    123         }
     118
    124119        $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' );
    125120        $checked_options = array( 'mu_media_buttons' => array(), 'menu_items' => array(), 'registrationnotification' => 'no', 'upload_space_check_disabled' => 1 );
Note: See TracChangeset for help on using the changeset viewer.