Esempio n. 1
0
 public function tearDown()
 {
     parent::tearDown();
     $_POST = $this->reset_post;
     $_REQUEST = $this->reset_request;
     $_SERVER = $this->reset_server;
     $_COOKIE = $this->reset_cookie;
     wp_idea_stream()->feedback = array();
     remove_filter('wp_redirect', '__return_false');
 }
Esempio n. 2
0
 public function tearDown()
 {
     parent::tearDown();
     // Reset current user
     $this->set_current_user($this->current_user);
     // Reset globals
     $bp = buddypress();
     $bp->groups->current_group = $this->current_group;
     $bp->current_component = $this->current_component;
 }
Esempio n. 3
0
 public function tearDown()
 {
     parent::tearDown();
     remove_filter('comment_flood_filter', '__return_false');
 }
Esempio n. 4
0
 public function tearDown()
 {
     parent::tearDown();
 }