Changeset 51568 for trunk/tests/phpunit/tests/post/wpAfterInsertPost.php
- Timestamp:
- 08/07/2021 10:29:41 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/wpAfterInsertPost.php
r49731 r51568 79 79 } 80 80 81 public function set Up() {82 parent::set Up();81 public function set_up() { 82 parent::set_up(); 83 83 add_action( 'wp_after_insert_post', array( $this, 'action_wp_after_insert_post' ), 10, 4 ); 84 84 } 85 85 86 public function tear Down() {86 public function tear_down() { 87 87 self::$passed_post_title = ''; 88 88 self::$passed_post_status = ''; 89 89 self::$passed_post_before_title = ''; 90 90 self::$passed_post_before_status = ''; 91 parent::tear Down();91 parent::tear_down(); 92 92 } 93 93
Note: See TracChangeset
for help on using the changeset viewer.