Ticket #2761: ays_use_textarea.diff
File ays_use_textarea.diff, 966 bytes (added by , 19 years ago) |
---|
-
wp-includes/pluggable-functions.php
245 245 foreach ( (array) $q as $a ) { 246 246 $v = substr(strstr($a, '='), 1); 247 247 $k = substr($a, 0, -(strlen($v)+1)); 248 $html .= "\t\t< input type='hidden' name='" . wp_specialchars( urldecode($k), 1 ) . "' value='" . wp_specialchars( urldecode($v), 1 ) . "' />\n";248 $html .= "\t\t<textarea style='display:none;' name='" . wp_specialchars( urldecode($k), 1 ) . "'>" . htmlspecialchars( stripslashes(urldecode($v)) ) . "</textarea>\n"; 249 249 } 250 250 $html .= "\t\t<input type='hidden' name='_wpnonce' value='" . wp_create_nonce($action) . "' />\n"; 251 251 $html .= "\t\t<p>" . __('Are you sure you want to do this?') . "</p>\n\t\t<p><a href='$adminurl'>No</a> <input type='submit' value='" . __('Yes') . "' /></p>\n\t</form>\n";