-
Notifications
You must be signed in to change notification settings - Fork 382
Open
Labels
EnhancementNew feature or improvement of an existing oneNew feature or improvement of an existing one
Milestone
Description
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:
amp-wp/includes/validation/class-amp-validation-manager.php
Lines 632 to 640 in 76ab0ae
| 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 | |
| } |
milindmore22
Metadata
Metadata
Assignees
Labels
EnhancementNew feature or improvement of an existing oneNew feature or improvement of an existing one
Type
Projects
Status
To Do