Skip to content

Commit

Permalink
Multiline comment
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Dec 19, 2024
1 parent 2f507a0 commit 8ead9ae
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plugins/optimization-detective/debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ function od_debug_add_inp_schema_properties( array $additional_properties ): arr
$additional_properties['inpData'] = array(
'description' => __( 'INP metrics', 'optimization-detective' ),
'type' => 'array',
// All extended properties must be optional so that URL Metrics are not all immediately invalidated once an extension is deactivated.
// Also, no INP data will be sent if the user never interacted with the page.
/*
* All extended properties must be optional so that URL Metrics are not all immediately invalidated once an extension is deactivated.
* Also, no INP data will be sent if the user never interacted with the page.
*/
'required' => false,
'items' => array(
'type' => 'object',
Expand Down

0 comments on commit 8ead9ae

Please sign in to comment.