[wp-cvs] wordpress/wp-includes template-functions-general.php, 1.62, 1.63

Ryan Boren rboren at users.sourceforge.net
Sun Jan 9 02:40:08 GMT 2005


Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14225/wp-includes

Modified Files:
	template-functions-general.php 
Log Message:
Fix post time display.  Bug 636.

Index: template-functions-general.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/template-functions-general.php,v
retrieving revision 1.62
retrieving revision 1.63
diff -C2 -d -r1.62 -r1.63
*** template-functions-general.php	7 Jan 2005 22:01:59 -0000	1.62
--- template-functions-general.php	9 Jan 2005 02:40:06 -0000	1.63
***************
*** 607,615 ****
  
  function get_the_time( $d = '' ) {
- 	global $id, $post;
  	if ( '' == $d )
  		$the_time = date( get_settings('time_format'), get_post_time() );
  	else
! 		$the_time = mysql2date( $d, get_post_time() );
  	return apply_filters('get_the_time', $the_time);
  }
--- 607,614 ----
  
  function get_the_time( $d = '' ) {
  	if ( '' == $d )
  		$the_time = date( get_settings('time_format'), get_post_time() );
  	else
! 		$the_time = date( $d, get_post_time() );
  	return apply_filters('get_the_time', $the_time);
  }



More information about the cvs mailing list