Make WordPress Core


Ignore:
Timestamp:
03/01/2013 05:14:09 PM (12 years ago)
Author:
ryan
Message:

Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/sites.php

    r23554 r23567  
    8080                    <input type="hidden" name="_wp_http_referer" value="<?php echo esc_attr( wp_get_referer() ); ?>" />
    8181                    <?php wp_nonce_field( $_GET['action2'], '_wpnonce', false ); ?>
    82                     <p><?php echo esc_html( stripslashes( $_GET['msg'] ) ); ?></p>
     82                    <p><?php echo esc_html( wp_unslash( $_GET['msg'] ) ); ?></p>
    8383                    <?php submit_button( __('Confirm'), 'button' ); ?>
    8484                </form>
Note: See TracChangeset for help on using the changeset viewer.