Changeset 23416 for trunk/wp-admin/network/settings.php
- Timestamp:
- 02/14/2013 10:51:06 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/network/settings.php
r21993 r23416 62 62 if ( ! isset($_POST[$option_name]) ) 63 63 continue; 64 $value = stripslashes_deep( $_POST[$option_name] );64 $value = wp_unslash( $_POST[$option_name] ); 65 65 update_site_option( $option_name, $value ); 66 66 } … … 182 182 <td> 183 183 <textarea name="welcome_email" id="welcome_email" rows="5" cols="45" class="large-text"> 184 <?php echo esc_textarea( stripslashes( get_site_option( 'welcome_email' )) ) ?></textarea>184 <?php echo esc_textarea( get_site_option( 'welcome_email' ) ) ?></textarea> 185 185 <br /> 186 186 <?php _e( 'The welcome email sent to new site owners.' ) ?> … … 191 191 <td> 192 192 <textarea name="welcome_user_email" id="welcome_user_email" rows="5" cols="45" class="large-text"> 193 <?php echo esc_textarea( stripslashes( get_site_option( 'welcome_user_email' )) ) ?></textarea>193 <?php echo esc_textarea( get_site_option( 'welcome_user_email' ) ) ?></textarea> 194 194 <br /> 195 195 <?php _e( 'The welcome email sent to new users.' ) ?> … … 200 200 <td> 201 201 <textarea name="first_post" id="first_post" rows="5" cols="45" class="large-text"> 202 <?php echo esc_textarea( stripslashes( get_site_option( 'first_post' )) ) ?></textarea>202 <?php echo esc_textarea( get_site_option( 'first_post' ) ) ?></textarea> 203 203 <br /> 204 204 <?php _e( 'The first post on a new site.' ) ?> … … 209 209 <td> 210 210 <textarea name="first_page" id="first_page" rows="5" cols="45" class="large-text"> 211 <?php echo esc_textarea( stripslashes( get_site_option('first_page')) ) ?></textarea>211 <?php echo esc_textarea( get_site_option( 'first_page' ) ) ?></textarea> 212 212 <br /> 213 213 <?php _e( 'The first page on a new site.' ) ?> … … 218 218 <td> 219 219 <textarea name="first_comment" id="first_comment" rows="5" cols="45" class="large-text"> 220 <?php echo esc_textarea( stripslashes( get_site_option('first_comment')) ) ?></textarea>220 <?php echo esc_textarea( get_site_option( 'first_comment' ) ) ?></textarea> 221 221 <br /> 222 222 <?php _e( 'The first comment on a new site.' ) ?>
Note: See TracChangeset
for help on using the changeset viewer.