Changeset 3828
- Timestamp:
- 06/01/2006 09:47:50 PM (20 years ago)
- Location:
- branches/2.0
- Files:
-
- 2 edited
-
wp-admin/post.php (modified) (1 diff)
-
wp-includes/pluggable-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-admin/post.php
r3826 r3828 323 323 case 'editedcomment': 324 324 325 $comment_id = (int) $_POST['comment_ID']; 326 check_admin_referer('update-comment_' . $comment_id); 325 $comment_ID = (int) $_POST['comment_ID']; 326 $comment_post_ID = (int) $_POST['comment_post_ID']; 327 328 check_admin_referer('update-comment_' . $comment_ID); 327 329 328 330 edit_comment(); -
branches/2.0/wp-includes/pluggable-functions.php
r3817 r3828 244 244 $html .= "\t<form method='post' action='$pagenow'>\n"; 245 245 foreach ( (array) $q as $a ) { 246 $v = substr(strstr($a, '='), 1); 247 $k = substr($a, 0, -(strlen($v)+1)); 246 list($k, $v) = explode('=', $a, 2); 248 247 $html .= "\t\t<input type='hidden' name='" . wp_specialchars( urldecode($k), 1 ) . "' value='" . wp_specialchars( urldecode($v), 1 ) . "' />\n"; 249 248 }
Note: See TracChangeset
for help on using the changeset viewer.