Changeset 1215 in tests for trunk/tests/post/slashes.php
- Timestamp:
- 02/14/2013 10:51:37 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/tests/post/slashes.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/post/slashes.php
r1148 r1215 41 41 $_POST['content'] = $this->slash_5; 42 42 $_POST['excerpt'] = $this->slash_7; 43 $_POST = add_magic_quotes( $_POST ); // the edit_post() function will strip slashes43 $_POST = wp_slash( $_POST ); // the edit_post() function will strip slashes 44 44 45 45 $post_id = edit_post(); … … 55 55 $_POST['content'] = $this->slash_4; 56 56 $_POST['excerpt'] = $this->slash_6; 57 $_POST = add_magic_quotes( $_POST );57 $_POST = wp_slash( $_POST ); 58 58 59 59 $post_id = edit_post();
Note: See TracChangeset
for help on using the changeset viewer.