Skip to content
Snippets Groups Projects
Commit c6e0268d authored by ale's avatar ale
Browse files

Fix cr/lf for twentysixteen patches

parent e04f95e3
No related branches found
No related tags found
No related merge requests found
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'
+ ''
);
}
......@@ -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 -->
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment