From e656e42820825870d85dd7c370452777e91dd735 Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Wed, 8 Nov 2023 21:39:22 +0000
Subject: [PATCH] Patch twentytwentyone footer

---
 composer.patches.json                       |  3 +++
 patches/themes/twentytwentyone-footer.patch | 17 +++++++++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 patches/themes/twentytwentyone-footer.patch

diff --git a/composer.patches.json b/composer.patches.json
index 6b792dc2..d18c4dba 100644
--- a/composer.patches.json
+++ b/composer.patches.json
@@ -94,6 +94,9 @@
         "wpackagist-theme/twentysixteen": {
             "Footer credits": "patches/themes/0223-twentysixteen-footer.patch"
         },
+        "wpackagist-theme/twentytwentyone": {
+            "Footer credits": "patches/themes/twentytwentyone-footer.patch"
+        },
         "wpackagist-theme/bliss": {
             "Footer credits": "patches/themes/0223-bliss-footer.patch"
         }
diff --git a/patches/themes/twentytwentyone-footer.patch b/patches/themes/twentytwentyone-footer.patch
new file mode 100644
index 00000000..a0e0063e
--- /dev/null
+++ b/patches/themes/twentytwentyone-footer.patch
@@ -0,0 +1,17 @@
+--- footer.php.orig	2023-11-08 21:32:52.428985800 +0000
++++ footer.php	2023-11-08 21:37:35.398699913 +0000
+@@ -61,13 +61,7 @@
+ 			?>
+ 
+ 			<div class="powered-by">
+-				<?php
+-				printf(
+-					/* translators: %s: WordPress. */
+-					esc_html__( 'Proudly powered by %s.', 'twentytwentyone' ),
+-					'<a href="' . esc_url( __( 'https://wordpress.org/', 'twentytwentyone' ) ) . '">WordPress</a>'
+-				);
+-				?>
++				Proudly powered by <a href="https://www.autistici.org">R*</a>
+ 			</div><!-- .powered-by -->
+ 
+ 		</div><!-- .site-info -->
-- 
GitLab