phastpress_disable not working
-
Have a plugin that’s inserting some misplaced markup before DOCTYPE in the checkout page, so the browser switches into quirks mode (FF/W10). Have tried to filter it out with something like this:
add_action('wp_head', 'header_fix', 0); function header_fix() { $html = ob_get_clean(); #error_log( var_export( $html, true ) ); echo strstr( $html, '<!DOCTYPE' ); }
It appears to work. However, it also affects PhastPress. The checkout page displays with a broken layout and the
phastpress_disable
filter doesn’t work to exclude it. Only deactivating PP completely fixes the issue. Please advise.Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘phastpress_disable not working’ is closed to new replies.