Skip to content

Commit 5ab33b2

Browse files
Update plugins/performance-lab/includes/site-health/audit-autoloaded-options/helper.php
Co-authored-by: Weston Ruter <[email protected]>
1 parent ba30bc0 commit 5ab33b2

File tree

1 file changed

+1
-1
lines changed
  • plugins/performance-lab/includes/site-health/audit-autoloaded-options

1 file changed

+1
-1
lines changed

plugins/performance-lab/includes/site-health/audit-autoloaded-options/helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ function perflab_aao_query_autoloaded_options(): array {
150150
if ( is_array( $option_value ) || is_object( $option_value ) ) {
151151
$option_value = serialize( $option_value ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize
152152
}
153-
if ( strlen( $serialized_value ) > $option_threshold ) {
153+
if ( strlen( $option_value ) > $option_threshold ) {
154154
$large_options[] = (object) array(
155155
'option_name' => $option_name,
156156
'option_value_length' => strlen( $option_value ),

0 commit comments

Comments
 (0)