mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Limit get_lastpost* functions to post_type=post. Props Denis-de-Bernardy. fixes #9636
git-svn-id: https://develop.svn.wordpress.org/trunk@11108 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1118,7 +1118,7 @@ EOD;
|
||||
<?php endif; ?>
|
||||
<link rel="last" type="<?php echo $this->ATOM_CONTENT_TYPE ?>" href="<?php $this->the_entries_url($last_page) ?>" />
|
||||
<link rel="self" type="<?php echo $this->ATOM_CONTENT_TYPE ?>" href="<?php $this->the_entries_url($self_page) ?>" />
|
||||
<rights type="text">Copyright <?php echo mysql2date('Y', get_lastpostdate('blog')); ?></rights>
|
||||
<rights type="text">Copyright <?php echo date('Y'); ?></rights>
|
||||
<?php the_generator( 'atom' ); ?>
|
||||
<?php if ( have_posts() ) {
|
||||
while ( have_posts() ) {
|
||||
|
||||
Reference in New Issue
Block a user