wp/wp-includes/theme-compat/footer.php
changeset 7 cf61fcea0001
parent 5 5e2f62d02dcd
child 9 177826044cd9
--- a/wp/wp-includes/theme-compat/footer.php	Tue Jun 09 11:14:17 2015 +0000
+++ b/wp/wp-includes/theme-compat/footer.php	Mon Oct 14 17:39:30 2019 +0200
@@ -2,22 +2,32 @@
 /**
  * @package WordPress
  * @subpackage Theme_Compat
- * @deprecated 3.0
+ * @deprecated 3.0.0
  *
- * This file is here for Backwards compatibility with old themes and will be removed in a future version
- *
+ * This file is here for backward compatibility with old themes and will be removed in a future version
  */
-_deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3.0', null, sprintf( __('Please include a %1$s template in your theme.'), basename(__FILE__) ) );
+_deprecated_file(
+	/* translators: %s: template name */
+	sprintf( __( 'Theme without %s' ), basename( __FILE__ ) ),
+	'3.0.0',
+	null,
+	/* translators: %s: template name */
+	sprintf( __( 'Please include a %s template in your theme.' ), basename( __FILE__ ) )
+);
 ?>
 
 <hr />
 <div id="footer" role="contentinfo">
 <!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way; it's our only promotion or advertising. -->
 	<p>
-		<?php printf(__('%1$s is proudly powered by %2$s'), get_bloginfo('name'),
-		'<a href="https://wordpress.org/">WordPress</a>'); ?>
-		<br /><?php printf(__('%1$s and %2$s.'), '<a href="' . get_bloginfo('rss2_url') . '">' . __('Entries (RSS)') . '</a>', '<a href="' . get_bloginfo('comments_rss2_url') . '">' . __('Comments (RSS)') . '</a>'); ?>
-		<!-- <?php printf(__('%d queries. %s seconds.'), get_num_queries(), timer_stop(0, 3)); ?> -->
+		<?php
+		printf(
+			/* translators: 1: blog name, 2: WordPress */
+			__( '%1$s is proudly powered by %2$s' ),
+			get_bloginfo('name'),
+			'<a href="https://wordpress.org/">WordPress</a>'
+		);
+		?>
 	</p>
 </div>
 </div>