-
Notifications
You must be signed in to change notification settings - Fork 891
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
Changed hook type #15342
Comments
Additional info: this was changed in 14.0-RC3. @georgejipa were you running code that was using these 2 hooks? Custom code or a plugin? |
@Djennez yes. custom plugin for a customer. |
I've discussed this internally. It's true that this change was not documented and communicated. For that we must apologize. Though we also see that this hook was already used a lot as a filter, so we're not seeing / expecting a lot of problems. It wasn't an error to change the hook type though, so the filter type is here to stay. The best option moving forward is adapting your code. As this is a change that is here to stay, I'm closing this thread. Again, apologies for the undocumented change. If you have any additional questions / remarks, please feel free to leave a reply. |
I already changed my code. Thanks. |
@georgejipa are you also planning to add the same filters for Twitter? |
@pocketcolin There is a filter called |
Ahh good idea I'll look into that. And sorry I meant to tag @Djennez ! Obviously, you won't be adding filters to the Yoast core. |
Please give us a description of what happened.
In older versions of the plugin,
wpseo_add_opengraph_images
andwpseo_add_opengraph_additional_images
were actions.Version: 13.2:
Version 14.2:
Used versions
The text was updated successfully, but these errors were encountered: