diff --git a/patches/themes/0187-twentysixteen.patch b/patches/themes/0187-twentysixteen.patch index 29b11136c64b2b0aa43548c397734e506962af0a..2c9a359d97dcf035c707259d464cc6ee27f568b1 100644 --- a/patches/themes/0187-twentysixteen.patch +++ b/patches/themes/0187-twentysixteen.patch @@ -1,14 +1,22 @@ diff --git a/wp-content/themes/twentysixteen/functions.php b/wp-content/themes/twentysixteen/functions.php index c180b826..b63354eb 100644 ---- a/wp-content/themes/twentysixteen/functions.php -+++ b/wp-content/themes/twentysixteen/functions.php -@@ -346,7 +346,8 @@ if ( ! function_exists( 'twentysixteen_fonts_url' ) ) : - 'subset' => urlencode( $subsets ), - 'display' => urlencode( 'fallback' ), - ), -- 'https://fonts.googleapis.com/css' -+ // A/I removed google fonts -+ '' - ); - } - +--- app/wp-content/themes/twentysixteen/functions.php 2020-12-09 00:16:34.000000000 +0000 ++++ /tmp/functions.php 2021-04-15 15:59:34.490251743 +0100 +@@ -249,7 +249,7 @@ + function twentysixteen_resource_hints( $urls, $relation_type ) { + if ( wp_style_is( 'twentysixteen-fonts', 'queue' ) && 'preconnect' === $relation_type ) { + $urls[] = array( +- 'href' => 'https://fonts.gstatic.com', ++ 'href' => '', + 'crossorigin', + ); + } +@@ -350,7 +350,7 @@ + 'subset' => urlencode( $subsets ), + 'display' => urlencode( 'fallback' ), + ), +- 'https://fonts.googleapis.com/css' ++ '' + ); + } + diff --git a/patches/themes/0223-twentysixteen-footer.patch b/patches/themes/0223-twentysixteen-footer.patch index 84572067b99578cfd69dda8e7280615ca37d6371..0977aa962ee6ddf85e4f822e7bd96982e186f016 100644 --- a/patches/themes/0223-twentysixteen-footer.patch +++ b/patches/themes/0223-twentysixteen-footer.patch @@ -2,25 +2,24 @@ diff --git a/wp-content/themes/twentysixteen/footer.php b/wp-content/themes/twen index 9f1621ff..9e23aed7 100644 --- a/wp-content/themes/twentysixteen/footer.php +++ b/wp-content/themes/twentysixteen/footer.php -@@ -51,18 +51,14 @@ - */ - do_action( 'twentysixteen_credits' ); - ?> -- <span class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span> -+ <span class="site-title">Proudly powered by<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span> - <?php - if ( function_exists( 'the_privacy_policy_link' ) ) { - the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' ); - } - ?> -- <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentysixteen' ) ); ?>" class="imprint"> -- <?php -- /* translators: %s: WordPress */ -- printf( __( 'Proudly powered by %s', 'twentysixteen' ), 'WordPress' ); -- ?> -- </a> -+ <?php printf( __( ' %s', 'twentysixteen' ), 'WP' ); ?> -+ <strong> and <a href="https://www.autistici.org">R*</a></strong> - </div><!-- .site-info --> - </footer><!-- .site-footer --> - </div><!-- .site-inner --> +@@ -51,18 +51,13 @@ + */ + do_action( 'twentysixteen_credits' ); + ?> +- <span class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span> ++ <span class="site-title">Proudly powered by <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span> + <?php + if ( function_exists( 'the_privacy_policy_link' ) ) { + the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' ); + } + ?> +- <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentysixteen' ) ); ?>" class="imprint"> +- <?php +- /* translators: %s: WordPress */ +- printf( __( 'Proudly powered by %s', 'twentysixteen' ), 'WordPress' ); +- ?> +- </a> ++ and <strong><a href="https://www.autistici.org">R*</a></strong> + </div><!-- .site-info --> + </footer><!-- .site-footer --> + </div><!-- .site-inner -->