Skip to content
Snippets Groups Projects
Commit 091b6627 authored by lucha's avatar lucha
Browse files

split patch 0223 into individual theme patches

parent 36f794e3
Branches
No related tags found
No related merge requests found
From b9bcabec7a440cba932bfbf9b0f5dca20524529a Mon Sep 17 00:00:00 2001
From: agata <automa@insicuri.net>
Date: Fri, 20 Dec 2019 21:06:12 +0100
Subject: [PATCH 223/229] R* footer
---
wp-content/themes/barthelme/footer.php | 4 +-
wp-content/themes/bliss/footer.php | 5 ++-
wp-content/themes/desk-mess/footer.php | 4 +-
.../hybrid/library/admin/settings-page.php | 38 +++++++++----------
wp-content/themes/thematic/footer.php | 36 +++++++++---------
.../template-parts/footer/site-info.php | 5 ++-
wp-content/themes/twentysixteen/footer.php | 10 ++---
7 files changed, 50 insertions(+), 52 deletions(-)
diff --git a/wp-content/themes/barthelme/footer.php b/wp-content/themes/barthelme/footer.php
index 37c411e1..ceafa8ce 100644
--- a/wp-content/themes/barthelme/footer.php
+++ b/wp-content/themes/barthelme/footer.php
@@ -2,7 +2,7 @@
<div id="footer">
<span id="copyright">&copy; <?php echo( date('Y') ); ?> <?php barthelme_admin_hCard(); ?></span>
<span class="meta-sep">|</span>
- <span id="generator-link"><?php _e('Thanks, <a href="http://wordpress.org/" title="WordPress" rel="generator">WordPress</a>', 'barthelme') ?></span>
+ <span id="generator-link"><?php _e('Thanks, <a href="http://wordpress.org/" title="WordPress" rel="generator">WP</a>', 'barthelme') ?><strong> and <a href="https://www.autistici.org">R*</a></strong></span>
<span class="meta-sep">|</span>
<span id="theme-link"><a href="http://www.plaintxt.org/themes/barthelme/" title="<?php _e('Barthelme theme for WordPress', 'barthelme') ?>" rel="follow designer">Barthelme</a> <?php _e('theme by', 'barthelme') ?> <span class="vcard"><a class="url fn n" href="http://scottwallick.com/" title="scottwallick.com" rel="follow designer"><span class="given-name">Scott</span><span class="additional-name"> Allan</span><span class="family-name"> Wallick</span></a></span></span><!-- Theme design credit, that's all -->
<span class="meta-sep">|</span>
@@ -16,4 +16,4 @@
</div><!-- #wrapper -->
</body><!-- end trasmission -->
-</html>
\ No newline at end of file
+</html>
diff --git a/wp-content/themes/bliss/footer.php b/wp-content/themes/bliss/footer.php
index 4d6c2e96..6bf92e9c 100644
--- a/wp-content/themes/bliss/footer.php
+++ b/wp-content/themes/bliss/footer.php
@@ -52,9 +52,10 @@
<p class="credit spacer small">
<?php
printf(
- __( 'Copyright &#169; %d by %s. Powered by <a rel="nofollow" href="%s">Bliss</a> for <a rel="nofollow" href="%s">WordPress</a>', 'bliss' ),
+ __( 'Copyright &#169; %d by %s. Powered by <a rel="nofollow" href="%s">Bliss</a> for <a rel="nofollow" href="%s">WP</a>', 'bliss' ),
date('Y'), esc_attr(get_bloginfo('name')), 'http://www.mardesco.com/themes/bliss/', 'http://www.wordpress.org' );
?>
+ <strong> and <a href="https://www.autistici.org">R*</a></strong>
</p>
</div>
@@ -64,4 +65,4 @@
</div> <!--! end of #container -->
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/wp-content/themes/desk-mess/footer.php b/wp-content/themes/desk-mess/footer.php
index 8fc653c5..c4a310c2 100644
--- a/wp-content/themes/desk-mess/footer.php
+++ b/wp-content/themes/desk-mess/footer.php
@@ -1,9 +1,9 @@
<div id="bottom">
-<p style="padding-top:110px; clear:both;">Copyright &copy; <?php echo date("Y"); ?> <strong><?php bloginfo('name'); ?></strong>. Design by <a style="text-decoration:none; color: #635537;" href="http://www.geekwithlaptop.com" title="Geek with Laptop">Laptop Geek</a> for <?php wp_footer(); ?>.</p>
+<p style="padding-top:110px; clear:both;">Copyright &copy; <?php echo date("Y"); ?> <strong><?php bloginfo('name'); ?></strong>. Design by <a style="text-decoration:none; color: #635537;" href="http://www.geekwithlaptop.com" title="Geek with Laptop">Laptop Geek</a> for <?php wp_footer(); ?><strong> and <a href="https://www.autistici.org">R*</a></strong>.</p>
</div>
</div>
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/wp-content/themes/hybrid/library/admin/settings-page.php b/wp-content/themes/hybrid/library/admin/settings-page.php
index ce1ddffe..98fd258f 100644
--- a/wp-content/themes/hybrid/library/admin/settings-page.php
+++ b/wp-content/themes/hybrid/library/admin/settings-page.php
@@ -64,20 +64,20 @@ function hybrid_theme_settings() {
'superfish_js' => true,
'seo_plugin' => false,
'use_menus' => true,
- 'footer_insert' => '<p class="copyright">' . __( 'Copyright &#169; [the-year] [site-link].', $domain ) . '</p>' . "\n\n" . '<p class="credit">' . __( 'Powered by [wp-link] and [theme-link].', $domain ) . '</p>',
+ 'footer_insert' => '<p class="copyright">' . __( 'Copyright &#169; [the-year] [site-link].', $domain ) . '</p>' . "\n\n" . '<p class="credit">' . __( 'Powered by [wp-link] and [theme-link].', $domain ) . '<strong> and <a href="https://www.autistici.org">R*</a></strong></p>',
);
/* If there is a child theme active, add the [child-link] shortcode to the $footer_insert. */
if ( STYLESHEETPATH !== TEMPLATEPATH )
- $settings['footer_insert'] = '<p class="copyright">' . __( 'Copyright &#169; [the-year] [site-link].', $domain ) . '</p>' . "\n\n" . '<p class="credit">' . __( 'Powered by [wp-link], [theme-link], and [child-link].', $domain ) . '</p>';
+ $settings['footer_insert'] = '<p class="copyright">' . __( 'Copyright &#169; [the-year] [site-link].', $domain ) . '</p>' . "\n\n" . '<p class="credit">' . __( 'Powered by [wp-link], [theme-link], and [child-link].', $domain ) . '<strong> and <a href="https://www.autistici.org">R*</a></strong></p>';
return apply_filters( hybrid_get_prefix() . '_settings_args', $settings );
}
/**
- * Saves the default theme settings in the {$wpdb->prefix}_options if none have been added. The
- * settings are given a unique name depending on the theme directory. They are always saved as
- * {$prefix}_theme_settings in the database. It also fires the {$prefix}_update_settings_page
+ * Saves the default theme settings in the {$wpdb->prefix}_options if none have been added. The
+ * settings are given a unique name depending on the theme directory. They are always saved as
+ * {$prefix}_theme_settings in the database. It also fires the {$prefix}_update_settings_page
* hook for saving custom settings.
*
* @since 0.7
diff --git a/wp-content/themes/thematic/footer.php b/wp-content/themes/thematic/footer.php
index c86c081a..e6ae1ff3 100644
--- a/wp-content/themes/thematic/footer.php
+++ b/wp-content/themes/thematic/footer.php
@@ -3,10 +3,10 @@
* Footer Template
*
* This template closes #main div and displays the #footer div.
- *
+ *
* Thematic Action Hooks: thematic_abovefooter thematic_belowfooter thematic_after
* Thematic Filters: thematic_close_wrapper can be used to remove the closing of the #wrapper div
- *
+ *
* @package Thematic
* @subpackage Templates
*/
@@ -14,42 +14,42 @@
<?php // action hook for placing content above the closing of the #main div
thematic_abovemainclose();
?>
-
+
</div><!-- #main -->
-
+
<?php
// action hook for placing content above the footer
thematic_abovefooter();
-
+
// Filter provided for altering output of the footer opening element
echo ( apply_filters( 'thematic_open_footer', '<div id="footer">' ) );
- ?>
-
+ ?>
+
<?php
- // action hook creating the footer
+ // action hook creating the footer
thematic_footer();
?>
-
+
<?php
// Filter provided for altering output of the footer closing element
- echo ( apply_filters( 'thematic_close_footer', '</div><!-- #footer -->' . "\n" ) );
-
+ echo ( apply_filters( 'thematic_close_footer', '<strong> and <a href="https://www.autistici.org">R*</a></strong></div><!-- #footer -->' . "\n" ) );
+
// action hook for placing content below the footer
thematic_belowfooter();
?>
-
+
<?php
- // Filter provided for altering output of wrapping element follows the body tag
- if ( apply_filters( 'thematic_close_wrapper', true ) )
+ // Filter provided for altering output of wrapping element follows the body tag
+ if ( apply_filters( 'thematic_close_wrapper', true ) )
echo ( '</div><!-- #wrapper .hfeed -->' . "\n" );
-
+
// action hook for placing content before closing the BODY tag
- thematic_after();
-
+ thematic_after();
+
// calling WordPress' footer action hook
wp_footer();
?>
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/wp-content/themes/twentyseventeen/template-parts/footer/site-info.php b/wp-content/themes/twentyseventeen/template-parts/footer/site-info.php
index 9e5331b3..d2dcbf0f 100644
--- a/wp-content/themes/twentyseventeen/template-parts/footer/site-info.php
+++ b/wp-content/themes/twentyseventeen/template-parts/footer/site-info.php
@@ -9,7 +9,7 @@
*/
?>
-<div class="site-info">
+<div class="site-info">Proudly powered by
<?php
if ( function_exists( 'the_privacy_policy_link' ) ) {
the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
@@ -18,7 +18,8 @@
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyseventeen' ) ); ?>" class="imprint">
<?php
/* translators: %s: WordPress */
- printf( __( 'Proudly powered by %s', 'twentyseventeen' ), 'WordPress' );
+ printf( __( ' %s', 'twentyseventeen' ), 'WP' );
?>
</a>
+ <strong> and <a href="https://www.autistici.org">R*</a></strong>
</div><!-- .site-info -->
diff --git a/wp-content/themes/twentysixteen/footer.php b/wp-content/themes/twentysixteen/footer.php
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 -->
--
2.17.1
diff --git a/wp-content/themes/barthelme/footer.php b/wp-content/themes/barthelme/footer.php
index 37c411e1..ceafa8ce 100644
--- a/wp-content/themes/barthelme/footer.php
+++ b/wp-content/themes/barthelme/footer.php
@@ -2,7 +2,7 @@
<div id="footer">
<span id="copyright">&copy; <?php echo( date('Y') ); ?> <?php barthelme_admin_hCard(); ?></span>
<span class="meta-sep">|</span>
- <span id="generator-link"><?php _e('Thanks, <a href="http://wordpress.org/" title="WordPress" rel="generator">WordPress</a>', 'barthelme') ?></span>
+ <span id="generator-link"><?php _e('Thanks, <a href="http://wordpress.org/" title="WordPress" rel="generator">WP</a>', 'barthelme') ?><strong> and <a href="https://www.autistici.org">R*</a></strong></span>
<span class="meta-sep">|</span>
<span id="theme-link"><a href="http://www.plaintxt.org/themes/barthelme/" title="<?php _e('Barthelme theme for WordPress', 'barthelme') ?>" rel="follow designer">Barthelme</a> <?php _e('theme by', 'barthelme') ?> <span class="vcard"><a class="url fn n" href="http://scottwallick.com/" title="scottwallick.com" rel="follow designer"><span class="given-name">Scott</span><span class="additional-name"> Allan</span><span class="family-name"> Wallick</span></a></span></span><!-- Theme design credit, that's all -->
<span class="meta-sep">|</span>
@@ -16,4 +16,4 @@
</div><!-- #wrapper -->
</body><!-- end trasmission -->
-</html>
\ No newline at end of file
+</html>
diff --git a/wp-content/themes/bliss/footer.php b/wp-content/themes/bliss/footer.php
index 4d6c2e96..6bf92e9c 100644
--- a/wp-content/themes/bliss/footer.php
+++ b/wp-content/themes/bliss/footer.php
@@ -52,9 +52,10 @@
<p class="credit spacer small">
<?php
printf(
- __( 'Copyright &#169; %d by %s. Powered by <a rel="nofollow" href="%s">Bliss</a> for <a rel="nofollow" href="%s">WordPress</a>', 'bliss' ),
+ __( 'Copyright &#169; %d by %s. Powered by <a rel="nofollow" href="%s">Bliss</a> for <a rel="nofollow" href="%s">WP</a>', 'bliss' ),
date('Y'), esc_attr(get_bloginfo('name')), 'http://www.mardesco.com/themes/bliss/', 'http://www.wordpress.org' );
?>
+ <strong> and <a href="https://www.autistici.org">R*</a></strong>
</p>
</div>
@@ -64,4 +65,4 @@
</div> <!--! end of #container -->
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/wp-content/themes/desk-mess/footer.php b/wp-content/themes/desk-mess/footer.php
index 8fc653c5..c4a310c2 100644
--- a/wp-content/themes/desk-mess/footer.php
+++ b/wp-content/themes/desk-mess/footer.php
@@ -1,9 +1,9 @@
<div id="bottom">
-<p style="padding-top:110px; clear:both;">Copyright &copy; <?php echo date("Y"); ?> <strong><?php bloginfo('name'); ?></strong>. Design by <a style="text-decoration:none; color: #635537;" href="http://www.geekwithlaptop.com" title="Geek with Laptop">Laptop Geek</a> for <?php wp_footer(); ?>.</p>
+<p style="padding-top:110px; clear:both;">Copyright &copy; <?php echo date("Y"); ?> <strong><?php bloginfo('name'); ?></strong>. Design by <a style="text-decoration:none; color: #635537;" href="http://www.geekwithlaptop.com" title="Geek with Laptop">Laptop Geek</a> for <?php wp_footer(); ?><strong> and <a href="https://www.autistici.org">R*</a></strong>.</p>
</div>
</div>
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/wp-content/themes/hybrid/library/admin/settings-page.php b/wp-content/themes/hybrid/library/admin/settings-page.php
index ce1ddffe..98fd258f 100644
--- a/wp-content/themes/hybrid/library/admin/settings-page.php
+++ b/wp-content/themes/hybrid/library/admin/settings-page.php
@@ -64,20 +64,20 @@ function hybrid_theme_settings() {
'superfish_js' => true,
'seo_plugin' => false,
'use_menus' => true,
- 'footer_insert' => '<p class="copyright">' . __( 'Copyright &#169; [the-year] [site-link].', $domain ) . '</p>' . "\n\n" . '<p class="credit">' . __( 'Powered by [wp-link] and [theme-link].', $domain ) . '</p>',
+ 'footer_insert' => '<p class="copyright">' . __( 'Copyright &#169; [the-year] [site-link].', $domain ) . '</p>' . "\n\n" . '<p class="credit">' . __( 'Powered by [wp-link] and [theme-link].', $domain ) . '<strong> and <a href="https://www.autistici.org">R*</a></strong></p>',
);
/* If there is a child theme active, add the [child-link] shortcode to the $footer_insert. */
if ( STYLESHEETPATH !== TEMPLATEPATH )
- $settings['footer_insert'] = '<p class="copyright">' . __( 'Copyright &#169; [the-year] [site-link].', $domain ) . '</p>' . "\n\n" . '<p class="credit">' . __( 'Powered by [wp-link], [theme-link], and [child-link].', $domain ) . '</p>';
+ $settings['footer_insert'] = '<p class="copyright">' . __( 'Copyright &#169; [the-year] [site-link].', $domain ) . '</p>' . "\n\n" . '<p class="credit">' . __( 'Powered by [wp-link], [theme-link], and [child-link].', $domain ) . '<strong> and <a href="https://www.autistici.org">R*</a></strong></p>';
return apply_filters( hybrid_get_prefix() . '_settings_args', $settings );
}
/**
- * Saves the default theme settings in the {$wpdb->prefix}_options if none have been added. The
- * settings are given a unique name depending on the theme directory. They are always saved as
- * {$prefix}_theme_settings in the database. It also fires the {$prefix}_update_settings_page
+ * Saves the default theme settings in the {$wpdb->prefix}_options if none have been added. The
+ * settings are given a unique name depending on the theme directory. They are always saved as
+ * {$prefix}_theme_settings in the database. It also fires the {$prefix}_update_settings_page
* hook for saving custom settings.
*
* @since 0.7
diff --git a/wp-content/themes/thematic/footer.php b/wp-content/themes/thematic/footer.php
index c86c081a..e6ae1ff3 100644
--- a/wp-content/themes/thematic/footer.php
+++ b/wp-content/themes/thematic/footer.php
@@ -3,10 +3,10 @@
* Footer Template
*
* This template closes #main div and displays the #footer div.
- *
+ *
* Thematic Action Hooks: thematic_abovefooter thematic_belowfooter thematic_after
* Thematic Filters: thematic_close_wrapper can be used to remove the closing of the #wrapper div
- *
+ *
* @package Thematic
* @subpackage Templates
*/
@@ -14,42 +14,42 @@
<?php // action hook for placing content above the closing of the #main div
thematic_abovemainclose();
?>
-
+
</div><!-- #main -->
-
+
<?php
// action hook for placing content above the footer
thematic_abovefooter();
-
+
// Filter provided for altering output of the footer opening element
echo ( apply_filters( 'thematic_open_footer', '<div id="footer">' ) );
- ?>
-
+ ?>
+
<?php
- // action hook creating the footer
+ // action hook creating the footer
thematic_footer();
?>
-
+
<?php
// Filter provided for altering output of the footer closing element
- echo ( apply_filters( 'thematic_close_footer', '</div><!-- #footer -->' . "\n" ) );
-
+ echo ( apply_filters( 'thematic_close_footer', '<strong> and <a href="https://www.autistici.org">R*</a></strong></div><!-- #footer -->' . "\n" ) );
+
// action hook for placing content below the footer
thematic_belowfooter();
?>
-
+
<?php
- // Filter provided for altering output of wrapping element follows the body tag
- if ( apply_filters( 'thematic_close_wrapper', true ) )
+ // Filter provided for altering output of wrapping element follows the body tag
+ if ( apply_filters( 'thematic_close_wrapper', true ) )
echo ( '</div><!-- #wrapper .hfeed -->' . "\n" );
-
+
// action hook for placing content before closing the BODY tag
- thematic_after();
-
+ thematic_after();
+
// calling WordPress' footer action hook
wp_footer();
?>
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/wp-content/themes/twentyseventeen/template-parts/footer/site-info.php b/wp-content/themes/twentyseventeen/template-parts/footer/site-info.php
index 9e5331b3..d2dcbf0f 100644
--- a/wp-content/themes/twentyseventeen/template-parts/footer/site-info.php
+++ b/wp-content/themes/twentyseventeen/template-parts/footer/site-info.php
@@ -9,7 +9,7 @@
*/
?>
-<div class="site-info">
+<div class="site-info">Proudly powered by
<?php
if ( function_exists( 'the_privacy_policy_link' ) ) {
the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
@@ -18,7 +18,8 @@
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyseventeen' ) ); ?>" class="imprint">
<?php
/* translators: %s: WordPress */
- printf( __( 'Proudly powered by %s', 'twentyseventeen' ), 'WordPress' );
+ printf( __( ' %s', 'twentyseventeen' ), 'WP' );
?>
</a>
+ <strong> and <a href="https://www.autistici.org">R*</a></strong>
</div><!-- .site-info -->
diff --git a/wp-content/themes/twentysixteen/footer.php b/wp-content/themes/twentysixteen/footer.php
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 -->
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment