Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
noblogs-composer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Noblogs
noblogs-composer
Commits
58721128
Commit
58721128
authored
3 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Fixed cr/lf in patch 0187-twentyfifteen
Related to issue
#15
.
parent
eeece1cd
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
patches/themes/0187-twentyfifteen.patch
+14
-115
14 additions, 115 deletions
patches/themes/0187-twentyfifteen.patch
with
14 additions
and
115 deletions
patches/themes/0187-twentyfifteen.patch
+
14
−
115
View file @
58721128
...
...
@@ -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 -->
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment