WordPress.org

Make WordPress Core

Changeset 5050


Ignore:
Timestamp:
03/16/07 19:30:21 (8 years ago)
Author:
ryan
Message:

attribute_escape pagenow. 2.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/wp-includes/functions.php

    r5040 r5050  
    12011201        $q = http_build_query($_POST); 
    12021202        $q = explode( ini_get('arg_separator.output'), $q); 
    1203         $html .= "\t<form method='post' action='$pagenow'>\n"; 
     1203        $html .= "\t<form method='post' action='" . attribute_escape($pagenow) . "'>\n"; 
    12041204        foreach ( (array) $q as $a ) { 
    12051205            $v = substr(strstr($a, '='), 1); 
Note: See TracChangeset for help on using the changeset viewer.