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'); }
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; }
public function tearDown() { parent::tearDown(); remove_filter('comment_flood_filter', '__return_false'); }
public function tearDown() { parent::tearDown(); }