Applies the same fix as in PR #2895 to the static_placeholders
And fixes typo in #2895
Merge pull request #2896 from mkoistinen/another_fix_for_2868

Applies the same fix as in PR #2895 to the static_placeholders
fix error when publishing static placeholders outside of a CMS page
Merge pull request #2897 from tomds/static_placeholders

Fix error when publishing static placeholders outside of a CMS page
fixes #2286
cleanup
added inherit to api check
Merge pull request #2898 from digi604/fix-2286

fixes #2286 (api validates templates)