Changeset 52010 for trunk/tests/phpunit/tests/post/slashes.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/slashes.php
r51568 r52010 15 15 } 16 16 17 function set_up() {17 public function set_up() { 18 18 parent::set_up(); 19 19 … … 34 34 * Tests the controller function that expects slashed data. 35 35 */ 36 function test_edit_post() {36 public function test_edit_post() { 37 37 $post_id = self::$post_id; 38 38 … … 71 71 * Tests the model function that expects slashed data. 72 72 */ 73 function test_wp_insert_post() {73 public function test_wp_insert_post() { 74 74 $post_id = wp_insert_post( 75 75 array( … … 107 107 * Tests the model function that expects slashed data. 108 108 */ 109 function test_wp_update_post() {109 public function test_wp_update_post() { 110 110 $post_id = self::$post_id; 111 111 … … 142 142 * @ticket 27550 143 143 */ 144 function test_wp_trash_untrash() {144 public function test_wp_trash_untrash() { 145 145 $post = array( 146 146 'post_title' => $this->slash_1,
Note: See TracChangeset
for help on using the changeset viewer.