Changeset 25365
- Timestamp:
- 09/11/2013 09:56:31 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/slashes.php
r25002 r25365 23 23 $this->slash_6 = 'String with 6 slashes \\\\\\\\\\\\'; 24 24 $this->slash_7 = 'String with 7 slashes \\\\\\\\\\\\\\'; 25 26 $_SERVER['REMOTE_ADDR'] = null; 25 27 } 26 28 … … 42 44 'comment_post_ID' => $post_id, 43 45 'comment_author' => $this->slash_1, 46 'comment_author_url' => '', 47 'comment_author_email' => '', 48 'comment_type' => '', 44 49 'comment_content' => $this->slash_7, 45 50 ); … … 54 59 'comment_post_ID' => $post_id, 55 60 'comment_author' => $this->slash_2, 61 'comment_author_url' => '', 62 'comment_author_email' => '', 63 'comment_type' => '', 56 64 'comment_content' => $this->slash_4, 57 65 ); … … 78 86 $_POST = array(); 79 87 $_POST['comment_ID'] = $comment_id; 88 $_POST['comment_status'] = ''; 80 89 $_POST['newcomment_author'] = $this->slash_1; 90 $_POST['newcomment_author_url'] = ''; 91 $_POST['newcomment_author_email'] = ''; 81 92 $_POST['content'] = $this->slash_7; 82 93 $_POST = add_magic_quotes( $_POST ); … … 90 101 $_POST = array(); 91 102 $_POST['comment_ID'] = $comment_id; 103 $_POST['comment_status'] = ''; 92 104 $_POST['newcomment_author'] = $this->slash_2; 105 $_POST['newcomment_author_url'] = ''; 106 $_POST['newcomment_author_email'] = ''; 93 107 $_POST['content'] = $this->slash_4; 94 108 $_POST = add_magic_quotes( $_POST );
Note: See TracChangeset
for help on using the changeset viewer.