Make WordPress Core

Changeset 3835


Ignore:
Timestamp:
06/02/2006 05:11:30 AM (20 years ago)
Author:
ryan
Message:

Rollback. fixes #2764

File:
1 edited

Legend:

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

    r3834 r3835  
    246246            $html .= "\t<form method='post' action='$pagenow'>\n";
    247247            foreach ( (array) $q as $a ) {
    248                 list($k, $v) = explode('=', $a, 2);
     248                $v = substr(strstr($a, '='), 1);
     249                $k = substr($a, 0, -(strlen($v)+1));
    249250                $html .= "\t\t<input type='hidden' name='" . wp_specialchars( urldecode($k), 1 ) . "' value='" . wp_specialchars( urldecode($v), 1 ) . "' />\n";
    250251            }
Note: See TracChangeset for help on using the changeset viewer.