Sometime after 126.96.36.199 custom fields in the titles stopped working in the "Snippet Preview" and "SEO Title" fields in the General tab of the SEO Yoast box on posts.
In 188.8.131.52: Restaurant Bores - Top Chef - Previously.TV
In 184.108.40.206: Restaurant Bores - %%cf_primary_cat_name%% - Previously.TV
Silly question: Does a meta field named primary_cat_name exist for that particular post ?
Not a silly question but yes that (and all posts on that site) have that custom field defined. I've seen other reports of this on WP's forum and here (but in hijacked issues) and it's something that's happened since 220.127.116.11
I know a change was made which in effect causes the %%cf_....%% replacements only to be run on singular items (i.e. pages, posts, media, cpts). But that shouldn't cause the problem as you are using it for a singular item....
This needs some investigating.
And yes, I've seen similar items on the WP forums as well:
BTW I have a live and dev server going with same issue on both (reverted live server to 18.104.22.168 for now but dev is on 22.214.171.124) so let me know if I can test anything there to troubleshoot.
@Glark Great! Thanks, will do.
@Glark I believe I've solved this in pull request #921, you're welcome to test it.
Closing this issue in favour of the pull request.