We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba30bc0 commit 5ab33b2Copy full SHA for 5ab33b2
plugins/performance-lab/includes/site-health/audit-autoloaded-options/helper.php
@@ -150,7 +150,7 @@ function perflab_aao_query_autoloaded_options(): array {
150
if ( is_array( $option_value ) || is_object( $option_value ) ) {
151
$option_value = serialize( $option_value ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize
152
}
153
- if ( strlen( $serialized_value ) > $option_threshold ) {
+ if ( strlen( $option_value ) > $option_threshold ) {
154
$large_options[] = (object) array(
155
'option_name' => $option_name,
156
'option_value_length' => strlen( $option_value ),
0 commit comments