New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Single apostrophe is changed to two in Doc title #961
Comments
@michaeltorbert @amostajo I was able to reproduce this on a brand new site. The problem is with the %blog_title% part of the title tag. To reproduce this follow these steps:
I tested this with all versions of PHP from 5.2 to 7.1 and got the same result. |
In my testing I just left everything blank but put Michael's site in the site title in WordPress General Settings (not AIOSEOP settings) and it showed up as a quotation mark. |
The problem is that ' (which is a single apostrophe) is being checked for in aioseop_class.php:4913 |
Fixes apostrophe charcode conversion.
@michaeltorbert The change is partially fine. But we might need to include the charcode conversion in the preg_replace to support PHP5.2. See this commit on my fork. |
Fixes apostrophe charcode conversion.
Standarizes and encodes multiple instances and charcodes of apostrophe for better encoding.
Standarizes and encodes multiple instances and charcodes of apostrophe for better encoding.
Fixes apostrophe charcode conversion.
Standarizes and encodes multiple instances and charcodes of apostrophe for better encoding.
Reported here: https://wordpress.org/support/topic/july-update-adding-an-extra-to-my-title/ to have broken in 2.3.14
The text was updated successfully, but these errors were encountered: