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
  • branches/2.0/wp-admin/edit-page-form.php

    r4242 r4656  
    1515}
    1616
    17 $sendto = wp_get_referer();
     17$sendto = attribute_escape(wp_get_referer());
    1818
    1919if ( 0 != $post_ID && $sendto == get_permalink($post_ID) )
    2020    $sendto = 'redo';
    21 $sendto = wp_specialchars( $sendto );
    2221
    2322?>
Note: See TracChangeset for help on using the changeset viewer.