Skip to content

Commit

Permalink
Merge ab822ea into 0f48431
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisroethig committed Oct 6, 2016
2 parents 0f48431 + ab822ea commit 52ecd2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions purgely.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ public function send_surrogate_control() {

$surrogate_control = $this::$surrogate_control_header;
$seconds = apply_filters( 'purgely_surrogate_control', $surrogate_control->get_seconds() );
$surrogate_control->set_seconds( $seconds );
$surrogate_control->set_value( $surrogate_control->prepare_value( $seconds ) );

do_action( 'purgely_pre_send_surrogate_control', $seconds );
$surrogate_control->send_header();
Expand Down

0 comments on commit 52ecd2b

Please sign in to comment.