Make WordPress Core

Changeset 5044


Ignore:
Timestamp:
03/16/2007 01:20:53 AM (17 years ago)
Author:
ryan
Message:

More attribute_escape().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r5039 r5044  
    12811281        $q = http_build_query($_POST);
    12821282        $q = explode( ini_get('arg_separator.output'), $q);
    1283         $html .= "\t<form method='post' action='$pagenow'>\n";
     1283        $html .= "\t<form method='post' action='" . attribute_escape($pagenow) . "'>\n";
    12841284        foreach ( (array) $q as $a ) {
    12851285            $v = substr(strstr($a, '='), 1);
Note: See TracChangeset for help on using the changeset viewer.