Skip to content

Commit

Permalink
Update src/Campaigns/Actions/RedirectDisabledCampaignPage.php
Browse files Browse the repository at this point in the history
Co-authored-by: Jon Waldstein <[email protected]>
  • Loading branch information
kjohnson and jonwaldstein authored Feb 21, 2025
1 parent 4bc3303 commit f04c773
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Campaigns/Actions/RedirectDisabledCampaignPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ public function __invoke()
global $wp_query;
$wp_query->set_404();
status_header(404);
get_template_part(404);
exit;
}
}
}

0 comments on commit f04c773

Please sign in to comment.