• Resolved andiszek

    (@andiszek)


    Hello AIOSEO team,
    i have upgraded to the latest version of the plugin and found out that i cant add special characters to the description text, if i add it via the textfield in the AIOSEO Metabox. The special characters get replaced by simple letters.

    But if i add the text & characters via the Admin Column, they get saved.
    see here
    (see the green checkmarks)

    the problem ist: if i open the backend of this post and edit it (not necessarily edit the SEO details in the SEO Metabox, but general text edits in the post), these characters are being deleted or replaced again.
    see here

    I guess there is a filter that replaces special characters – would it be possible to remove it?

    thank you in advance!
    andi

    • This topic was modified 4 years, 2 months ago by andiszek.
    • This topic was modified 4 years, 2 months ago by andiszek.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey Andi,

    I’ll look into this. Just to confirm, you’re talking about the (R) symbols, right?

    – Arnaud

    Thread Starter andiszek

    (@andiszek)

    Hello Arnaud,
    thank you for your reply.

    no, im talking about the green checkmark symbols from the first link.
    ( here is a copy-paste of the symbol – i hope its visible: ? )

    The R symbols are only in the title and they seem unaffected when i save the page.

    best regards & thank you!
    andi

    Plugin Author arnaudbroes

    (@arnaudbroes)

    Oh sorry, I missed that! ??

    We have a ticket open for an issue for emojis. We’re probably going to fix this in the next update so please sit tight!

    – Arnaud

    Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @andiszek,

    I’m actually having a hard time reproducing this issue. Would you mind reaching out to us here so we can follow up on this – https://aioseo.com/contact/. You can click the “Complete a Form” button and ask for me specifically.

    – Arnaud

    Thread Starter andiszek

    (@andiszek)

    Hello Arnaud,
    sorry for the late reply, something urgent came up.

    i have updated AIOSEO on an other site as well, and the special characters stay there after i save the pages.

    i think it could be a theme-related issue – both themes are custom coded, so i will have to check the functions.php files to see if there are some filters to strip emojis.

    i will get back to you – thanks again for your patience!

    Thread Starter andiszek

    (@andiszek)

    Hello Arnaud,
    ok, i have found the problem – it was an old function to remove the emojis in the functions.php file. i have added an other function and everything works well now – the checkmark emojis are not removed any more from the AIOSEO Description field!

    Sorry again for bothering you and i appreciate your patience and help!

    best regards & thank you,
    andi

    Plugin Author arnaudbroes

    (@arnaudbroes)

    No problem, I appreciate you getting back to me!

    Hi this is not resolved. Maybe the OP guy above thinks it is resolved but honestly your plugin after the latest update will after a day or so strip out emojis from META TITLE. They will also dissapear from Google SERP of course which is bad for CTR and thus hurting SEO.

    Thread Starter andiszek

    (@andiszek)

    Hello Silky,
    i have marked it as resolved, as i found out the culprit – see my message above.

    you might have an Emoji removal function in your functions.php or are removing emojis in an other way (maybe a security plugin, or cache/speed plugin?)

    in any case, i have added the following code to my functions.php file and the emojis are not removed any more from the Description ( i dont know about the title though, havent tested it)

    // Remove Emojis
    function remove_emoji()
    {
    	remove_action('wp_head', 'print_emoji_detection_script', 7);
    	remove_action('admin_print_scripts', 'print_emoji_detection_script');
    	remove_action('admin_print_styles', 'print_emoji_styles');
    	remove_action('wp_print_styles', 'print_emoji_styles');
    	remove_filter('the_content_feed', 'wp_staticize_emoji');
    	remove_filter('comment_text_rss', 'wp_staticize_emoji');
    	remove_filter('wp_mail', 'wp_staticize_emoji_for_email');
    	add_filter('tiny_mce_plugins', 'remove_tinymce_emoji');
    }
    add_action('init', 'remove_emoji');
    function remove_tinymce_emoji($plugins)
    {
    	if (!is_array($plugins))
    	{
    		return array();
    	}
    	return array_diff($plugins, array(
    		'wpemoji'
    	));
    }

    try adding it to your functions.php, maybe it fixes your problem?

    regards,
    andi

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Desription – special characters not allowed’ is closed to new replies.