wp/wp-includes/theme-compat/footer.php
changeset 7 cf61fcea0001
parent 5 5e2f62d02dcd
child 9 177826044cd9
equal deleted inserted replaced
6:490d5cc509ed 7:cf61fcea0001
     1 <?php
     1 <?php
     2 /**
     2 /**
     3  * @package WordPress
     3  * @package WordPress
     4  * @subpackage Theme_Compat
     4  * @subpackage Theme_Compat
     5  * @deprecated 3.0
     5  * @deprecated 3.0.0
     6  *
     6  *
     7  * This file is here for Backwards compatibility with old themes and will be removed in a future version
     7  * This file is here for backward compatibility with old themes and will be removed in a future version
     8  *
       
     9  */
     8  */
    10 _deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3.0', null, sprintf( __('Please include a %1$s template in your theme.'), basename(__FILE__) ) );
     9 _deprecated_file(
       
    10 	/* translators: %s: template name */
       
    11 	sprintf( __( 'Theme without %s' ), basename( __FILE__ ) ),
       
    12 	'3.0.0',
       
    13 	null,
       
    14 	/* translators: %s: template name */
       
    15 	sprintf( __( 'Please include a %s template in your theme.' ), basename( __FILE__ ) )
       
    16 );
    11 ?>
    17 ?>
    12 
    18 
    13 <hr />
    19 <hr />
    14 <div id="footer" role="contentinfo">
    20 <div id="footer" role="contentinfo">
    15 <!-- 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. -->
    21 <!-- 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. -->
    16 	<p>
    22 	<p>
    17 		<?php printf(__('%1$s is proudly powered by %2$s'), get_bloginfo('name'),
    23 		<?php
    18 		'<a href="https://wordpress.org/">WordPress</a>'); ?>
    24 		printf(
    19 		<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>'); ?>
    25 			/* translators: 1: blog name, 2: WordPress */
    20 		<!-- <?php printf(__('%d queries. %s seconds.'), get_num_queries(), timer_stop(0, 3)); ?> -->
    26 			__( '%1$s is proudly powered by %2$s' ),
       
    27 			get_bloginfo('name'),
       
    28 			'<a href="https://wordpress.org/">WordPress</a>'
       
    29 		);
       
    30 		?>
    21 	</p>
    31 	</p>
    22 </div>
    32 </div>
    23 </div>
    33 </div>
    24 
    34 
    25 <!-- Gorgeous design by Michael Heilemann - http://binarybonsai.com/kubrick/ -->
    35 <!-- Gorgeous design by Michael Heilemann - http://binarybonsai.com/kubrick/ -->