• Resolved aloeroot

    (@aloeroot)


    I’m dealing with a marketing agency who’ve given me a Javascript to paste into the Additional Front Page Headers section in the plugin. There are two instances of single quotes, and each time I type or paste them in, they convert to & # 0 3 9 ; (no spaces) in the page source. Is there any way of getting around this? Thanks.

    https://wordpress.org/plugins/all-in-one-seo-pack/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi aloeroot,

    This is a bug; it will be fixed in the next release. In the meantime, you can fix this by editing line 1317 in aioseop_class.php

    Replace this:

    $$meta = html_entity_decode( stripslashes( $aioseop_options["aiosp_{$meta}_tags" ] ) );

    With this:

    $$meta = html_entity_decode( stripslashes( $aioseop_options["aiosp_{$meta}_tags" ] ), ENT_QUOTES );
    Thread Starter aloeroot

    (@aloeroot)

    Thanks; I got around this by writing some conditional code for the homepage using is_front_page() instead, but this is useful information to share with the ad agency.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Additional Front Page Headers – single quotes stripped out’ is closed to new replies.