This PR can be summarized in the following changelog entry:
Doesn't activate the plugin if ACF < 5.7 is detected.
Relevant technical choices:
*
Test instructions
This PR can be tested by following these steps:
Install ACF < 5.7.
Try to activate the ACF for Yoast Plugin.
See a notice on top of your screen:
Note that the plugin still looks activated in the overview. However, it's not doing anything in the editor. This is consistent with what happens when you haven't ACF installed at all. If you have installed ACF 5.0-5.6, this means there won't be console errors in the editor saying acf.Model is not a constructor.
Install ACF > 5.7.
Don't see a notice
Verify that the plugin does its thing in the editor.
Summary
This PR can be summarized in the following changelog entry:
Relevant technical choices:
*
Test instructions
This PR can be tested by following these steps:
Install ACF < 5.7.
Try to activate the ACF for Yoast Plugin.
See a notice on top of your screen:
Note that the plugin still looks activated in the overview. However, it's not doing anything in the editor. This is consistent with what happens when you haven't ACF installed at all. If you have installed ACF 5.0-5.6, this means there won't be console errors in the editor saying
acf.Model is not a constructor
.Install ACF > 5.7.
Don't see a notice
Verify that the plugin does its thing in the editor.
Fixes #