Adding a default template for a specific page with title containing "&" displays character code in themer title


When adding a default template for a specific page in the themer, if the page title contains “&” (or some other characters presumably) the themer title displays displays the character code rather than the expected character.

Step-by-step reproduction instructions:

  1. Create a page with an “&” in the title (e.g. “Terms & Conditions”)
  2. Create a default page template for that specific page in the themer
  3. Note the themer title shows as “Page: Terms & Conditions”
  4. Note that the title in the template editor displays correctly.

Screenshots, screen recording, code snippet

Themer template title shows incorrectly:
Screenshot 2024-02-25 at 04.57.40

Template editor title shows correctly:
Screenshot 2024-02-25 at 04.58.19

Environment info

  • WordPress version: 6.4.3
  • Cwicly Plugin version: 1.4.1

Hi @StrangeTech,

Thank you for bringing this to our attention!

I have been able to reproduce this issue on my end, and can confirm it is a bug.
Rest assured, we’ll have a fix as soon as possible.

Apologies for the inconvenience.