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

Fixed cr/lf in patch 0187-twentyfifteen

Related to issue #15.
parent eeece1cd
No related branches found
No related tags found
No related merge requests found
......@@ -2,118 +2,17 @@ diff --git a/wp-content/themes/twentyfifteen/footer.php b/wp-content/themes/twen
index 6447da0e..2097c9fd 100644
--- a/wp-content/themes/twentyfifteen/footer.php
+++ b/wp-content/themes/twentyfifteen/footer.php
@@ -22,14 +22,13 @@
*/
do_action( 'twentyfifteen_credits' );
?>
- <?php
+
+<?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/', 'twentyfifteen' ) ); ?>" class="imprint">
- <?php printf( __( 'Proudly powered by %s', 'twentyfifteen' ), 'WordPress' ); ?>
- </a>
+ <strong>Proudly powered by <a href="http://www.autistici.org">R*</a></strong>
</div><!-- .site-info -->
</footer><!-- .site-footer -->
diff --git a/wp-content/themes/twentyfifteen/functions.php b/wp-content/themes/twentyfifteen/functions.php
index db6451f0..9e5f50fd 100644
--- a/wp-content/themes/twentyfifteen/functions.php
+++ b/wp-content/themes/twentyfifteen/functions.php
@@ -276,67 +276,15 @@ function twentyfifteen_widgets_init() {
add_action( 'widgets_init', 'twentyfifteen_widgets_init' );
if ( ! function_exists( 'twentyfifteen_fonts_url' ) ) :
- /**
- * Register Google fonts for Twenty Fifteen.
- *
- * @since Twenty Fifteen 1.0
- *
- * @return string Google fonts URL for the theme.
- */
- function twentyfifteen_fonts_url() {
- $fonts_url = '';
- $fonts = array();
- $subsets = 'latin,latin-ext';
-
- /*
- * Translators: If there are characters in your language that are not supported
- * by Noto Sans, translate this to 'off'. Do not translate into your own language.
- */
- if ( 'off' !== _x( 'on', 'Noto Sans font: on or off', 'twentyfifteen' ) ) {
- $fonts[] = 'Noto Sans:400italic,700italic,400,700';
- }
-
- /*
- * Translators: If there are characters in your language that are not supported
- * by Noto Serif, translate this to 'off'. Do not translate into your own language.
- */
- if ( 'off' !== _x( 'on', 'Noto Serif font: on or off', 'twentyfifteen' ) ) {
- $fonts[] = 'Noto Serif:400italic,700italic,400,700';
- }
-
- /*
- * Translators: If there are characters in your language that are not supported
- * by Inconsolata, translate this to 'off'. Do not translate into your own language.
- */
- if ( 'off' !== _x( 'on', 'Inconsolata font: on or off', 'twentyfifteen' ) ) {
- $fonts[] = 'Inconsolata:400,700';
- }
-
- /*
- * Translators: To add an additional character subset specific to your language,
- * translate this to 'greek', 'cyrillic', 'devanagari' or 'vietnamese'. Do not translate into your own language.
- */
- $subset = _x( 'no-subset', 'Add new subset (greek, cyrillic, devanagari, vietnamese)', 'twentyfifteen' );
-
- if ( 'cyrillic' == $subset ) {
- $subsets .= ',cyrillic,cyrillic-ext';
- } elseif ( 'greek' == $subset ) {
- $subsets .= ',greek,greek-ext';
- } elseif ( 'devanagari' == $subset ) {
- $subsets .= ',devanagari';
- } elseif ( 'vietnamese' == $subset ) {
- $subsets .= ',vietnamese';
- }
-
- if ( $fonts ) {
- $fonts_url = add_query_arg(
- array(
- 'family' => urlencode( implode( '|', $fonts ) ),
- 'subset' => urlencode( $subsets ),
- ),
- 'https://fonts.googleapis.com/css'
- );
- }
+/**
+ * Register Google fonts for Twenty Fifteen.
+ *
+ * @since Twenty Fifteen 1.0
+ *
+ * @return string Google fonts URL for the theme.
+ */
+function twentyfifteen_fonts_url() {
+ $fonts_url = '';
return $fonts_url;
}
@@ -425,6 +373,7 @@ add_action( 'enqueue_block_editor_assets', 'twentyfifteen_block_editor_styles' )
* @param string $relation_type The relation type the URLs are printed.
* @return array URLs to print for resource hints.
*/
+/*
function twentyfifteen_resource_hints( $urls, $relation_type ) {
if ( wp_style_is( 'twentyfifteen-fonts', 'queue' ) && 'preconnect' === $relation_type ) {
if ( version_compare( $GLOBALS['wp_version'], '4.7-alpha', '>=' ) ) {
@@ -440,6 +389,7 @@ function twentyfifteen_resource_hints( $urls, $relation_type ) {
return $urls;
}
add_filter( 'wp_resource_hints', 'twentyfifteen_resource_hints', 10, 2 );
+*/
/**
* Add featured image as background image to post navigation elements.
@@ -27,12 +27,7 @@
the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
}
?>
- <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyfifteen' ) ); ?>" class="imprint">
- <?php
- /* translators: %s: WordPress */
- printf( __( 'Proudly powered by %s', 'twentyfifteen' ), 'WordPress' );
- ?>
- </a>
+ <strong>Proudly powered by <a href="https://www.autistici.org">R*</a></strong>
</div><!-- .site-info -->
</footer><!-- .site-footer -->
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