Ver código fonte

Varia: Improve appreance and placement of privacy policy link.

Allan Cole 5 anos atrás
pai
commit
b8c9164a26
1 arquivos alterados com 6 adições e 7 exclusões
  1. 6 7
      varia/footer.php

+ 6 - 7
varia/footer.php

@@ -44,14 +44,13 @@
 			<?php if ( ! empty( $blog_info ) ) : ?>
 				<a class="site-name" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a><span class="comma">,</span>
 			<?php endif; ?>
-			<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'varia' ) ); ?>" class="imprint">
-				<?php
-				/* translators: %s: WordPress. */
-				printf( __( 'proudly powered by %s.', 'varia' ), 'WordPress' );
-				?>
-			</a>
+			<?php /* translators: %1$s: WordPress link, %2$s: WordPress. */
+			printf( '<a href="%1$s" class="imprint">proudly powered by %2$s</a>.',
+				esc_url( __( 'https://wordpress.org/', 'varia' ) ),
+				'WordPress'
+			); ?>
 			<?php if ( function_exists( 'the_privacy_policy_link' ) ) {
-				the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
+				the_privacy_policy_link();
 			} ?>
 		</div><!-- .site-info -->
 	</footer><!-- #colophon -->