Ampersand ("&") replaced as entity in URL on custom type preview (2 posts)

  1. didoo
    Posted 3 years ago #

    I've found this bug on Polylang. I'm sure is Polylang because I've disabled every plugin but Polylang, and activated the twentyeleven theme, and the bug remains. I've disabled Polylang, and the bug disappears.

    If you create a new post (custom) and try to have a preview clicking on the "preview" button, the generated url has an entity where the ampersand (& = #038;) should appear:
    since the ampersand precedes the "p" post ID parameter in the URL.

    This happens when the post is in draft mode, so the url/slug has not been created yet (and WordPress generates the url in the above way). The only workaround is making the post public, but not always is a viable way.

    The strange thing is that it happens on custom post types, while in standard post it doesn't happen.


  2. Chouby
    Plugin Author

    Posted 3 years ago #

    This problem should now be solved in the current development version ( http://downloads.wordpress.org/plugin/polylang.zip

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Polylang
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic