[wp-cvs] wordpress/wp-admin index.php,1.12,1.13
Matthew Mullenweg
saxmatt at users.sourceforge.net
Sun Dec 19 07:26:45 UTC 2004
Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14474/wp-admin
Modified Files:
index.php
Log Message:
Bug fixes
Index: index.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/index.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** index.php 19 Dec 2004 02:30:38 -0000 1.12
--- index.php 19 Dec 2004 07:26:42 -0000 1.13
***************
*** 5,9 ****
require_once (ABSPATH . WPINC . '/rss-functions.php');
! $today = current_time('mysql');
?>
--- 5,9 ----
require_once (ABSPATH . WPINC . '/rss-functions.php');
! $today = current_time('mysql', 1);
?>
***************
*** 31,35 ****
<?php
! if ( $scheduled = $wpdb->get_results("SELECT ID, post_title, post_date FROM $wpdb->posts WHERE post_status = 'publish' AND post_date_gmt > '$today'") ) :
?>
<div>
--- 31,35 ----
<?php
! if ( $scheduled = $wpdb->get_results("SELECT ID, post_title, post_date_gmt FROM $wpdb->posts WHERE post_status = 'publish' AND post_date_gmt > '$today'") ) :
?>
<div>
***************
*** 40,44 ****
if ($post->post_title == '')
$post->post_title = sprintf(__('Post #%s'), $post->ID);
! echo "<li><a href='post.php?action=edit&post=$post->ID' title='" . __('Edit this post') . "'>$post->post_title</a> in " . human_time_diff( time(), strtotime($post->post_date) ) . "</li>";
}
?>
--- 40,44 ----
if ($post->post_title == '')
$post->post_title = sprintf(__('Post #%s'), $post->ID);
! echo "<li><a href='post.php?action=edit&post=$post->ID' title='" . __('Edit this post') . "'>$post->post_title</a> in " . human_time_diff( time(), strtotime($post->post_date_gmt) ) . "</li>";
}
?>
More information about the cvs
mailing list