Skip to content

Commit

Permalink
Remove output control functions
Browse files Browse the repository at this point in the history
  • Loading branch information
thelovekesh committed Feb 16, 2022
1 parent b8da05a commit b80cd85
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions wp-includes/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ function wp_service_worker_offline_page_reload() {
return;
}

ob_start();
?>
<script type="module">
/**
Expand Down Expand Up @@ -220,7 +219,6 @@ function wp_service_worker_offline_page_reload() {
checkNetworkAndReload();
</script>
<?php
return ob_get_clean();
}

add_action( 'wp_footer', 'wp_service_worker_offline_page_reload' );
Expand Down

0 comments on commit b80cd85

Please sign in to comment.