Changeset 13713
- Timestamp:
- 03/16/2010 03:31:50 PM (16 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 4 edited
-
includes/schema.php (modified) (1 diff)
-
includes/upgrade.php (modified) (1 diff)
-
ms-edit.php (modified) (1 diff)
-
ms-options.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/schema.php
r13655 r13713 710 710 'subdomain_install' => intval( $subdomain_install ), 711 711 ); 712 if ( is_multisite() ) 713 $sitemeta[ 'global_terms_enabled' ] = get_site_option( 'global_terms_enabled', '0' ); 714 else 715 $sitemeta[ 'global_terms_enabled' ] = '0'; 712 716 713 717 $insert = ''; -
trunk/wp-admin/includes/upgrade.php
r13618 r13713 1150 1150 } 1151 1151 } 1152 // 3.0 1153 if ( $wp_current_db_version < 13576 ) 1154 update_site_option( 'global_terms_enabled', '1' ); 1152 1155 } 1153 1156 -
trunk/wp-admin/ms-edit.php
r13654 r13713 108 108 } 109 109 update_site_option( "dashboard_blog", $dashboard_blog_id ); 110 $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' );110 $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' ); 111 111 $checked_options = array('mu_media_buttons', 'menu_items'); 112 112 foreach ( $checked_options as $option_name ) { -
trunk/wp-admin/ms-options.php
r13708 r13713 43 43 <?php printf( __( 'Registration and support mails will come from this address. Make it generic like "support@%s"' ), $current_site->domain ); ?> 44 44 </td> 45 </tr> 46 47 <tr valign="top"> 48 <th scope="row"><?php _e('Global Terms') ?></th> 49 <td> 50 <label><input type='radio' id="global_terms_enabled" name="global_terms_enabled" value='1' <?php checked( get_site_option( 'global_terms_enabled' ), 1 ) ?>/> <?php _e( 'Enabled' ); ?></label><br /> 51 <label><input type='radio' id="global_terms_enabled" name="global_terms_enabled" value='0' <?php checked( get_site_option( 'global_terms_enabled' ), 0 ) ?>/> <?php _e( 'Disabled' ); ?></label><br /> 52 <?php _e( 'Maintain a global list of terms from all sites across the network.' ); ?></td> 45 53 </tr> 46 54 </table>
Note: See TracChangeset
for help on using the changeset viewer.