Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
ACF macro is being output in titles and meta descriptions #959
When you use the ACF macro (https://semperplugins.com/documentation/advanced-custom-fields-integration-with-title-format-fields/) in the Title Format field or Description Format field then we output the macro when the custom field is empty.
For example, if you have an ACF custom field called short_description and you use the macro %cf_short_description% in either the Title Format field or Description format field then you get this result when the field is empty on any post:
This also affects OG and Twitter meta tags as well.