Incompatibility with WPML #crash
-
Hello,
The incompatibility with WPML is still there.
https://www.ads-software.com/support/topic/http-header-wpml-crash/HTTP Headers crash when you modify the configuration if WPML String Translation is activated.
WPML provided guidance:
https://wpml.org/forums/topic/as-soon-as-i-change-the-headers-config-i-get-this-message/
They asked to replace:
add_action(“added_option”, ‘http_headers_option’);
add_action(“updated_option”, ‘http_headers_option’);
with:
add_action(“added_option”, function() {
add_action(‘admin_init’, ‘http_headers_option’);
add_action(“updated_option”, ‘http_headers_option’);
});`
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Incompatibility with WPML #crash’ is closed to new replies.