Skip to content

Commit e39794e

Browse files
committed
Remove TODO
1 parent bb7aeaf commit e39794e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/wp-includes/template.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -980,8 +980,7 @@ static function ( int $level, string $message, ?string $file = null, ?int $line
980980
$level = E_USER_ERROR;
981981
}
982982

983-
// TODO: Append to the message that this error happened while doing wp_template_enhancement_output_buffer filters or the wp_finalized_template_enhancement_output_buffer action?
984-
983+
// Capture a reported error to be displayed by appending to the processed output buffer if display_errors is enabled.
985984
if ( error_reporting() & $level ) {
986985
$error_log[] = compact( 'level', 'message', 'file', 'line' );
987986
}

0 commit comments

Comments
 (0)