Changeset 13106 for trunk/wp-admin/ms-sites.php
- Timestamp:
- 02/13/2010 10:35:10 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-sites.php
r13039 r13106 169 169 if ( is_serialized($option->option_value) ) { 170 170 if ( is_serialized_string($option->option_value) ) { 171 $option->option_value = wp_specialchars(maybe_unserialize($option->option_value), 'single');171 $option->option_value = esc_html(maybe_unserialize($option->option_value), 'single'); 172 172 } else { 173 173 $option->option_value = "SERIALIZED DATA"; … … 211 211 $out = ''; 212 212 foreach ( $themes as $key => $theme ) { 213 $theme_key = wp_specialchars( $theme['Stylesheet'] );213 $theme_key = esc_html( $theme['Stylesheet'] ); 214 214 if ( ! isset($allowed_themes[$theme_key] ) ) { 215 215 $checked = ( isset($blog_allowed_themes[ $theme_key ]) ) ? 'checked="checked"' : ''; … … 254 254 <select name="role[<?php echo $val->user_id ?>]" id="new_role"><?php 255 255 foreach ( $editblog_roles as $role => $role_assoc ){ 256 $name = translate_ with_context($role_assoc['name']);256 $name = translate_user_role($role_assoc['name']); 257 257 $selected = ( $role == $existing_role ) ? 'selected="selected"' : ''; 258 258 echo "<option {$selected} value=\"" . esc_attr($role) . "\">{$name}</option>";
Note: See TracChangeset
for help on using the changeset viewer.