From 049338e2ab986c5bf5ab2a523ff1d13e3b85f8eb Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Fri, 5 Aug 2022 13:48:15 +0300 Subject: [PATCH] blog: update wordpress extensions Remove: google-analytics-for-wordpress (unused) Remove: wordpress-importer (unused) Remove: shareadraft (replaced) Add: public-post-preview (replacement) --- cookbooks/blog/recipes/default.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cookbooks/blog/recipes/default.rb b/cookbooks/blog/recipes/default.rb index e857a1dc6..46b6902ad 100644 --- a/cookbooks/blog/recipes/default.rb +++ b/cookbooks/blog/recipes/default.rb @@ -48,6 +48,7 @@ wordpress_theme "blog.openstreetmap.org-osmblog-wp-theme" do end wordpress_plugin "blog.openstreetmap.org-google-analytics-for-wordpress" do + action :delete plugin "google-analytics-for-wordpress" site "blog.openstreetmap.org" end @@ -64,10 +65,16 @@ end # end wordpress_plugin "blog.openstreetmap.org-shareadraft" do + action :delete plugin "shareadraft" site "blog.openstreetmap.org" end +wordpress_plugin "blog.openstreetmap.org-public-post-preview" do + plugin "public-post-preview" + site "blog.openstreetmap.org" +end + wordpress_plugin "blog.openstreetmap.org-sitepress-multilingual-cms" do plugin "sitepress-multilingual-cms" site "blog.openstreetmap.org" @@ -77,6 +84,7 @@ wordpress_plugin "blog.openstreetmap.org-sitepress-multilingual-cms" do end wordpress_plugin "blog.openstreetmap.org-wordpress-importer" do + action :delete plugin "wordpress-importer" site "blog.openstreetmap.org" end -- 2.39.5