Skip to content

Commit 420c465

Browse files
swissspidyCopilot
andauthored
Update src/Profiler.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 1682ae1 commit 420c465

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Profiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ public function wp_request_begin( $preempt = null, $parsed_args = null, $url = n
518518
);
519519

520520
// If request is preempted (mocked), log it now since http_api_debug won't fire
521-
if ( false !== $preempt && ! is_null( $preempt ) ) {
521+
if ( false !== $preempt ) {
522522
$request_time = 0; // Preempted requests happen instantly
523523
$status = '';
524524

0 commit comments

Comments
 (0)