Description:
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:
- Create a page with an “&” in the title (e.g. “Terms & Conditions”)
- Create a default page template for that specific page in the themer
- Note the themer title shows as “Page: Terms & Conditions”
- Note that the title in the template editor displays correctly.
Screenshots, screen recording, code snippet
Themer template title shows incorrectly:
Template editor title shows correctly:
Environment info
- WordPress version: 6.4.3
- Cwicly Plugin version: 1.4.1