ID][image-size]' id='{$css_id}' value='{$size}'$checked />";
+ $html = "
ID][image-size]' id='{$css_id}' value='{$size}'$checked />";
$html .= "";
// only show the dimensions if that choice is available
diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php
index a173bbbdec..c76b3367ff 100644
--- a/wp-admin/includes/template.php
+++ b/wp-admin/includes/template.php
@@ -206,7 +206,7 @@ class Walker_Category_Checklist extends Walker {
$name = 'tax_input['.$taxonomy.']';
$class = in_array( $category->term_id, $popular_cats ) ? ' class="popular-category"' : '';
- $output .= "\n
" . '';
+ $output .= "\n" . '';
}
function end_el(&$output, $category, $depth, $args) {
diff --git a/wp-admin/ms-sites.php b/wp-admin/ms-sites.php
index 37294e2992..ef6ecd16a7 100644
--- a/wp-admin/ms-sites.php
+++ b/wp-admin/ms-sites.php
@@ -165,20 +165,20 @@ switch ( $action ) {
foreach ( $options as $option ) {
if ( $option->option_name == 'default_role' )
$editblog_default_role = $option->option_value;
- $disabled = '';
+ $disabled = false;
if ( is_serialized($option->option_value) ) {
if ( is_serialized_string($option->option_value) ) {
$option->option_value = esc_html(maybe_unserialize($option->option_value), 'single');
} else {
$option->option_value = "SERIALIZED DATA";
- $disabled = ' disabled="disabled"';
+ $disabled = true;
}
}
if ( stristr($option->option_value, "\r") || stristr($option->option_value, "\n") || stristr($option->option_value, "\r\n") ) {
?>
option_name ) ) ?> |
- |
+ |
option_name, array( 'siteurl', 'home' ) ) ) { ?>
option_value ) ?> |
- /> |
+ /> |
|
-" /> |
+ class="regular-text code" /> |
|
-" />
+ | class="regular-text code" />
to be different from the directory you installed WordPress.'); ?> |
diff --git a/wp-admin/options.php b/wp-admin/options.php
index a79edc9884..dc8e165078 100644
--- a/wp-admin/options.php
+++ b/wp-admin/options.php
@@ -173,7 +173,7 @@ include('admin-header.php'); ?>
$options = $wpdb->get_results( "SELECT * FROM $wpdb->options ORDER BY option_name" );
foreach ( (array) $options as $option ) :
- $disabled = '';
+ $disabled = false;
if ( $option->option_name == '' )
continue;
if ( is_serialized( $option->option_value ) ) {
@@ -184,7 +184,7 @@ foreach ( (array) $options as $option ) :
$class = 'all-options';
} else {
$value = 'SERIALIZED DATA';
- $disabled = ' disabled="disabled"';
+ $disabled = true;
$class = 'all-options disabled';
}
} else {
@@ -200,7 +200,7 @@ foreach ( (array) $options as $option ) :
if ( strpos( $value, "\n" ) !== false )
echo "";
else
- echo "";
+ echo "";
echo "
";
endforeach;