Make WordPress Core


Ignore:
Timestamp:
12/21/2006 10:10:04 AM (19 years ago)
Author:
markjaquith
Message:

new function for escaping within attributes: attribute_escape()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-page-form.php

    r4655 r4656  
    1414}
    1515
    16 $sendto = wp_get_referer();
     16$sendto = attribute_escape(stripslashes(wp_get_referer()));
    1717
    1818if ( 0 != $post_ID && $sendto == get_permalink($post_ID) )
    1919    $sendto = 'redo';
    20 $sendto = wp_specialchars( $sendto );
    21 
    2220?>
    2321
Note: See TracChangeset for help on using the changeset viewer.