Make WordPress Core


Ignore:
Timestamp:
12/21/2006 10:10:04 AM (18 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/bookmarklet.php

    r2972 r4656  
    3838 
    3939$content  = wp_specialchars($_REQUEST['content']);
    40 $popupurl = wp_specialchars($_REQUEST['popupurl']);
     40$popupurl = attribute_escape(stripslashes($_REQUEST['popupurl']));
    4141    if ( !empty($content) ) {
    4242        $post->post_content = wp_specialchars( stripslashes($_REQUEST['content']) );
Note: See TracChangeset for help on using the changeset viewer.