Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom taxonomy snippet variable changed after page is saved #10134

Open
dariaknl opened this issue Jun 25, 2018 · 1 comment
Open

Custom taxonomy snippet variable changed after page is saved #10134

dariaknl opened this issue Jun 25, 2018 · 1 comment

Comments

@dariaknl
Copy link
Contributor

dariaknl commented Jun 25, 2018

How can we reproduce this behavior?

  1. Activate Yoast Development: Test Helper plugin so you have Books custom post.
  2. Go to SEO - Search Appearance - Content Types - Posts
  3. In SEO title type "%b"
  4. Check drop down list:

screen shot 2018-06-25 at 13 41 59

  1. Choose "Book category (custom taxonomy)"
  2. Check the page (variable is rendered nicely)

screen shot 2018-06-25 at 13 44 55

  1. Save page
  2. Check again snippet variable (it is changed to %%ct_book-category%%):

screen shot 2018-06-25 at 13 46 29

Technical info

  • WordPress version: 4.9.6
  • Yoast SEO version: 7.7 RC5
@dariaknl dariaknl added the bug label Jun 25, 2018
@IreneStr
Copy link
Contributor

IreneStr commented Jun 25, 2018

Possible cause: dashes are breaking the entities

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants