doesn’t change any more
-
Hi,
the plugin used to change <title> tag to the value of title-SEO-field, but gave up to do it any more.My investigation came to endOutputBuffering() where ( ob_get_level() !== $this->bufferLevel ) never equivalent, because since WP 6.9 between startOutputBuffering() that calls from action template_redirect and endOutputBuffering() that calls from action wp_head appeared
wp_start_template_enhancement_output_buffer()that calls some other actions where calls ob_start().So, if to change hook template_redirect to get_header or wp_before_load_template (better, because it definitely calls, opposite to get_header) in registerTitleHooks() the issue fixes.
Hope it helps you to fix it in the next update.
You must be logged in to reply to this topic.