Support » Plugin: All in One SEO Pack » Symbol in post title doesn't show up in title

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Steve Mortiboy

    (@wpsmort)

    Support Manager at Semper Fi

    Hi jamescosta,

    Do you have a URL of a page where we can see this happening?

    jamescosta

    (@jamescosta)

    Hey wpsmort!

    We activated it for a minute to just get you these screenshots and stuff, so hopefully they’re okay – let me know if you need any more!

    THANK YOU for your help! 🙂

    Plugin Contributor Peter Baylies

    (@pbaylies)

    jamescosta,

    Thank you for the report; this was a bug, I’ve fixed it. You can update by deleting and reinstalling the plugin, or by changing line 1248 of aioseop_class.php to this:

    return preg_replace( '/<title>(.*?)<\/title>/is', '<title>' . preg_replace('/(\$|\\\\)(?=\d)/', '\\\\\1', esc_textarea( strip_tags( $title ) ) ) . '</title>', $content );

    jamescosta

    (@jamescosta)

    Peter!

    Thank you so much for this – seriously!

    Have an awesome day!

    acroplex

    (@acroplex)

    This fixed it, but it was line 1548 for me.

    meanstreak

    (@meanstreak)

    Worked for me too! Thanks!

    acroplex

    (@acroplex)

    Update: Unfortunately, the problem persists as it now converts double quotes into entities. Eg “test” becomes:

    &αmp;#8220;test&αmp;#8221;

    Plugin Contributor Peter Baylies

    (@pbaylies)

    acroplex,

    Is it getting converted twice? When I use double quotes, it shows up as &quot;Test&quot; and renders as “Test”. You could try this instead:

    return preg_replace( '/<title>(.*?)<\/title>/is', '<title>' . preg_replace('/(\$|\\\\)(?=\d)/', '\\\\\1', strip_tags( $title ) ) . '</title>', $content );

    acroplex

    (@acroplex)

    hi Peter,

    Both single quotes and double quotes appear as entities in the title.

    Would you please roll out an updated point release?

    Plugin Contributor Peter Baylies

    (@pbaylies)

    acroplex,

    Did you try the above code, and did that fix your issue? Also, what browser are you using?

    Plugin Contributor Peter Baylies

    (@pbaylies)

    acroplex,

    This was a bug, I’ve fixed it now; you can update by deleting and reinstalling the plugin.

    acroplex

    (@acroplex)

    Many thanks, Peter, I can confirm the glitch has been fixed. I deleted the plugin and reinstalled it; good to see it retained my settings as well 🙂

    Kind regards,
    Theo

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Symbol in post title doesn't show up in title’ is closed to new replies.