WordPress.org

Make WordPress Core

Ticket #9636: 9636.2.diff

File 9636.2.diff, 678 bytes (added by Denis-de-Bernardy, 6 years ago)

use date() for the copyright notice

  • wp-app.php

     
    11181118<?php endif; ?> 
    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() ) { 
    11241124                        while ( have_posts() ) {