mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Notice fixes from filosofo and Viper007Bond. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9506 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -173,7 +173,6 @@ function install_search_form(){
|
||||
</select>
|
||||
<input type="text" name="s" id="search-field" value="<?php echo attribute_escape($term) ?>" />
|
||||
<input type="submit" name="search" value="<?php echo attribute_escape(__('Search')) ?>" class="button" />
|
||||
<?php echo $after_submit ?>
|
||||
</form><?php
|
||||
}
|
||||
|
||||
|
||||
@@ -1242,7 +1242,7 @@ function _post_row($a_post, $pending_comments, $mode) {
|
||||
} else {
|
||||
$t_time = get_the_time(__('Y/m/d g:i:s A'));
|
||||
$m_time = $post->post_date;
|
||||
$time = get_post_time('G', true);
|
||||
$time = get_post_time('G', true, $post);
|
||||
|
||||
if ( ( abs(time() - $time) ) < 86400 ) {
|
||||
if ( ( 'future' == $post->post_status) )
|
||||
|
||||
Reference in New Issue
Block a user