Unexpected \n\n characters
-
Hello,
I found a bug in the “No Category Base (WPML)” plugin. When the plugin is active, two newline characters (
\n\n) are injected at the very beginning of the<body>tag.The characters appear exactly like this in the source code:
<body>\n\n[Rest of the website content]This usually happens when there is a whitespace or newline inside a function hooked to
wp_body_openorget_header, or if a file is being included/required inside the body context with leading spaces.Please check if there are any unintended
echocalls or spaces between PHP blocks in the functions responsible for the URL rewriting or WPML integration.Best regards.
You must be logged in to reply to this topic.