• SmithGrafisk

    (@smithgrafisk)


    Hi!

    After updating several sites to 4.5, I discovered the use of “&” ads “#038;”
    This seem to only apply to menus.

    Any advice is greatly appreciated.

    Thanks
    Knut

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Hi!

    Does it show #38; or the actual & when the site is viewed? Are you able to share a link?

    Thread Starter SmithGrafisk

    (@smithgrafisk)

    Hi Jose!

    It showede like this & #38; without the space between & and #.
    I reverted back to WP 4.4.2 and everything went back to normal.

    Thanks
    Knut

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    So it was showing as & correct?

    I do have to ask the question of where was this showing? In the menu item? the URL link?

    I would love to be able to replicate this so we can figure out if is core doing this or a plugin or theme. 🙂

    This is quite a useful thread on this same topic and it seems to have been a thing back in the WordPress 3 days.

    https://wordpress.org/support/topic/unwanted-characters-038?replies=7#post-1714359

    If that helps at all.

    Perhaps look into the character encoding of your page and ensure it matches with what is being output? Make sure it’s UTF-8 as that seems to be the best option.

    Thread Starter SmithGrafisk

    (@smithgrafisk)

    Sorry for the late replay.
    This seem to be linked to the Page title. If I avoid using “&” in the page title and then go to menus and change/use “&” there it appears normal.

    http://www.smithgrafisk.no/Avis/TV_frontpage.jpg
    http://www.smithgrafisk.no/Avis/TV_Pages.jpg

    I had the same issue, your suggestion of removing the “&” from the page title and then adding the “&” to the actual menu resolved it for now.

    This seems to imply that with the new update the menu is not understanding the page title correctly or interpreting the “&” twice (?)

    Thanks for the hack.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘After updating to 4.5 "&" ads these characters # 038;’ is closed to new replies.