Small fix to [14102]. props ocean90. see #12889

git-svn-id: https://develop.svn.wordpress.org/trunk@14103 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-04-16 13:45:56 +00:00
parent 9b66f84145
commit 82a7687b30

View File

@ -125,12 +125,11 @@ switch ( $action ) {
<td> <td>
<?php <?php
$checked_fields = array( 'public' => __( 'Public' ) ); $checked_fields = array( 'public' => __( 'Public' ) );
if ( ! $is_main_site ) if ( ! $is_main_site ) {
$checked_fields = array( $checked_fields['archived'] = __( 'Archived' );
'archived' => __( 'Archived' ), $checked_fields['spam'] = __( 'Spam' );
'spam' => __( 'Spam' ), $checked_fields['deleted'] = __( 'Deleted' );
'deleted' => __( 'Deleted' ), }
);
$checked_fields['mature'] = __( 'Mature' ); $checked_fields['mature'] = __( 'Mature' );
foreach ( $checked_fields as $field_key => $field_label ) { foreach ( $checked_fields as $field_key => $field_label ) {
?> ?>