Make WordPress Core


Ignore:
Timestamp:
05/07/2010 02:58:35 AM (16 years ago)
Author:
nacin
Message:

Simple warning text for global terms. Probably not enough considering the sky will fall on your head if you enable them, but it's a start. fixes #12666.

File:
1 edited

Legend:

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

    r14404 r14494  
    5656                <th scope="row"><?php _e( 'Global Terms' ) ?></th>
    5757                <td>
     58                <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/>
    5859                <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( 'Maintain a global list of terms from all sites across the network.' ); ?></label><br />
    59                 <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></td>
     60                <?php if ( ! get_site_option( 'global_terms_enabled') ) { ?>
     61                <strong><?php _e( 'Warning!' ); ?></strong> <?php _e( 'Enabling global terms will create a new table and synchronize terms across the network.' ); ?>
     62                <?php } ?></td>
    6063            </tr>
    6164        </table>
Note: See TracChangeset for help on using the changeset viewer.