As noted by @milindmore22 in litespeedtech/lscache_wp#212 (comment), a lot of support topics still involve the LightSpeed Cache comment. While waiting for the issue to be fixed upstream, we should be able to resolve it by adding the following (h/t @szepeviktor in litespeedtech/lscache_wp#212 (comment)):
add_filter( 'litespeed_comment', '__return_false' );
Inside this condition:
|
if ( true === $should_validate_response ) { |
|
self::add_validation_error_sourcing(); |
|
self::$is_validate_request = true; |
|
|
|
if ( '1' === (string) ini_get( 'display_errors' ) ) { |
|
// Suppress the display of fatal errors that may arise during validation so that they will not be counted |
|
// as actual validation errors. |
|
ini_set( 'display_errors', 0 ); // phpcs:ignore WordPress.PHP.IniSet.display_errors_Blacklisted |
|
} |
As noted by @milindmore22 in litespeedtech/lscache_wp#212 (comment), a lot of support topics still involve the LightSpeed Cache comment. While waiting for the issue to be fixed upstream, we should be able to resolve it by adding the following (h/t @szepeviktor in litespeedtech/lscache_wp#212 (comment)):
Inside this condition:
amp-wp/includes/validation/class-amp-validation-manager.php
Lines 632 to 640 in 76ab0ae