diff --git a/composer.json b/composer.json index e4dee522345df4b99fba7b5c3a07cf2a18144533..47fa55488e7ad6e47c01b1991f51310f0886f09c 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "johnpbloch/wordpress": "^5.4", "bjornjohansen/wplang": "^0.1.1", "lkwdwrd/wp-muplugin-loader": "^1.0", - "wpackagist-plugin/disable-wordpress-updates": "^1.6" + "wpackagist-theme/minimalism": "1.0.3" }, "extra": { "wordpress-install-dir": "web/wp", diff --git a/composer.lock b/composer.lock index c919239b2161a2860d3eb137ead12407ea689726..ff49fa34ab1bfd39bdc7aff0a74c0c9b50fb7055 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "c11b8cb708d8b64038e9a413cd8f254c", + "content-hash": "6f5c67e11208010e0856439723cf37c1", "packages": [ { "name": "bjornjohansen/wplang", @@ -394,27 +394,29 @@ "time": "2018-04-20T22:09:51+00:00" }, { - "name": "wpackagist-plugin/disable-wordpress-updates", - "version": "1.6.6", + "name": "wpackagist-theme/minimalism", + "version": "1.0.3", "source": { "type": "svn", - "url": "https://plugins.svn.wordpress.org/disable-wordpress-updates/", - "reference": "tags/1.6.6" + "url": "https://themes.svn.wordpress.org/minimalism/", + "reference": "1.0.3" }, "dist": { "type": "zip", - "url": "https://downloads.wordpress.org/plugin/disable-wordpress-updates.1.6.6.zip", + "url": "https://downloads.wordpress.org/theme/minimalism.1.0.3.zip", "reference": null, "shasum": null }, "require": { "composer/installers": "~1.0" }, - "type": "wordpress-muplugin", + "type": "wordpress-theme", "extra": { - "patches_applied": [] + "patches_applied": { + "Minimalism theme footer": "patches/0001-Patch-theme-minimalism.patch" + } }, - "homepage": "https://wordpress.org/plugins/disable-wordpress-updates/" + "homepage": "https://wordpress.org/themes/minimalism/" } ], "packages-dev": [], diff --git a/composer.patches.json b/composer.patches.json index 3ef903537f44dddbcea0b8ca49d0e7152df0c1d2..74db166805b90e78aa5d1a04ff634fc3a7b11eda 100644 --- a/composer.patches.json +++ b/composer.patches.json @@ -2,6 +2,9 @@ "patches": { "wpackagist-plugin/disable-wordpress-updates": { "Patch title": "patches/0001-Patched-Disable-Updates-to-run-checks-during-cron-jo.patch" - } + }, + "wpackagist-theme/minimalism": { + "Minimalism theme footer": "patches/0001-Patch-theme-minimalism.patch" + } } } diff --git a/patches/0001-Patch-theme-minimalism.patch b/patches/0001-Patch-theme-minimalism.patch new file mode 100644 index 0000000000000000000000000000000000000000..051f4356cd02b2de13e9e2f470f887efa7454204 --- /dev/null +++ b/patches/0001-Patch-theme-minimalism.patch @@ -0,0 +1,14 @@ +diff --git a/footer.php b/footer.php +index a7f191a7..24ea872d 100644 +--- a/footer.php ++++ b/footer.php +@@ -4,7 +4,7 @@ + <!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way; it's our only promotion or advertising. --> + <p> + <?php printf(__('%1$s powered by %2$s', 'minimalism'), get_bloginfo('name'), +- '<a href="http://wordpress.org/">WordPress</a>'); ?> | <a href="http://www.genaehr.com/minimalism/">minimalism</a> by <a href="http://www.genaehr.com/">www.genaehr.com</a> ++ '<a href="http://autistici.org/">R*</a>'); ?> | <a href="http://www.genaehr.com/minimalism/">minimalism</a> by <a href="http://www.genaehr.com/">www.genaehr.com</a> + <br /><?php printf(__('%1$s and %2$s.', 'minimalism'), '<a href="' . get_bloginfo('rss2_url') . '">' . __('Entries (RSS)', 'minimalism') . '</a>', '<a href="' . get_bloginfo('comments_rss2_url') . '">' . __('Comments (RSS)', 'minimalism') . '</a>'); ?> + <!-- <?php printf(__('%d queries. %s seconds.', 'minimalism'), get_num_queries(), timer_stop(0, 3)); ?> --> + </p> + diff --git a/patches/0001-Patched-Disable-Updates-to-run-checks-during-cron-jo.patch b/patches/0001-Patched-Disable-Updates-to-run-checks-during-cron-jo.patch index 22c407ae653ce20c96de10b50e418bba6475385e..1ec7f9cd5d0798c9b35647b89e51d91c48600abb 100644 --- a/patches/0001-Patched-Disable-Updates-to-run-checks-during-cron-jo.patch +++ b/patches/0001-Patched-Disable-Updates-to-run-checks-during-cron-jo.patch @@ -1,12 +1,3 @@ -From a4968df0b59c116fb8118fd625c5ed12e5e53d6d Mon Sep 17 00:00:00 2001 -From: lucha <lucha@paranoici.org> -Date: Wed, 19 Apr 2017 14:44:43 +0200 -Subject: [PATCH] Patched Disable Updates to run checks during cron jobs - ---- - wp-content/mu-plugins/disable-updates.php | 21 ++++++++++++--------- - 1 file changed, 12 insertions(+), 9 deletions(-) - diff --git a/wp-content/mu-plugins/disable-updates.php b/wp-content/mu-plugins/disable-updates.php index e3139547..dd58cca5 100644 --- a/wp-content/mu-plugins/disable-updates.php