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
c6e0268d
Commit
c6e0268d
authored
3 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Fix cr/lf for twentysixteen patches
parent
e04f95e3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
patches/themes/0187-twentysixteen.patch
+20
-12
20 additions, 12 deletions
patches/themes/0187-twentysixteen.patch
patches/themes/0223-twentysixteen-footer.patch
+21
-22
21 additions, 22 deletions
patches/themes/0223-twentysixteen-footer.patch
with
41 additions
and
34 deletions
patches/themes/0187-twentysixteen.patch
+
20
−
12
View file @
c6e0268d
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'
+ ''
);
}
This diff is collapsed.
Click to expand it.
patches/themes/0223-twentysixteen-footer.patch
+
21
−
22
View file @
c6e0268d
...
...
@@ -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 -->
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