Changeset 3835

Show
Ignore:
Timestamp:
06/02/06 05:11:30 (3 years ago)
Author:
ryan
Message:

Rollback. fixes #2764

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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            }