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>
<?php
$checked_fields = array( 'public' => __( 'Public' ) );
if ( ! $is_main_site )
$checked_fields = array(
'archived' => __( 'Archived' ),
'spam' => __( 'Spam' ),
'deleted' => __( 'Deleted' ),
);
if ( ! $is_main_site ) {
$checked_fields['archived'] = __( 'Archived' );
$checked_fields['spam'] = __( 'Spam' );
$checked_fields['deleted'] = __( 'Deleted' );
}
$checked_fields['mature'] = __( 'Mature' );
foreach ( $checked_fields as $field_key => $field_label ) {
?>