Make WordPress Core

Changeset 11108 for trunk/wp-app.php


Ignore:
Timestamp:
04/28/2009 05:42:30 AM (16 years ago)
Author:
ryan
Message:

Limit get_lastpost* functions to post_type=post. Props Denis-de-Bernardy. fixes #9636

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-app.php

    r10771 r11108  
    11191119<link rel="last" type="<?php echo $this->ATOM_CONTENT_TYPE ?>" href="<?php $this->the_entries_url($last_page) ?>" />
    11201120<link rel="self" type="<?php echo $this->ATOM_CONTENT_TYPE ?>" href="<?php $this->the_entries_url($self_page) ?>" />
    1121 <rights type="text">Copyright <?php echo mysql2date('Y', get_lastpostdate('blog')); ?></rights>
     1121<rights type="text">Copyright <?php echo date('Y'); ?></rights>
    11221122<?php the_generator( 'atom' ); ?>
    11231123<?php if ( have_posts() ) {
Note: See TracChangeset for help on using the changeset viewer.