Make WordPress Core


Ignore:
Timestamp:
11/19/2006 07:56:05 AM (19 years ago)
Author:
ryan
Message:

Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/index.php

    r4484 r4495  
    4747
    4848<ul>
    49 <?php 
     49<?php
    5050if ( $comments ) {
    5151foreach ($comments as $comment) {
    5252    echo '<li>' . sprintf(__('%1$s on %2$s'), get_comment_author_link(), '<a href="'. get_permalink($comment->comment_post_ID) . '#comment-' . $comment->comment_ID . '">' . get_the_title($comment->comment_post_ID) . '</a>');
    53     edit_comment_link(__("Edit"), ' <small>(', ')</small>'); 
     53    edit_comment_link(__("Edit"), ' <small>(', ')</small>');
    5454    echo '</li>';
    5555}
     
    8181<?php
    8282if ( $scheduled = $wpdb->get_results("SELECT ID, post_title, post_date_gmt FROM $wpdb->posts WHERE post_type = 'post' AND post_status = 'future' ORDER BY post_date ASC") ) :
    83 ?> 
     83?>
    8484<div>
    8585<h3><?php _e('Scheduled Entries:') ?></h3>
     
    9191    echo "<li>" . sprintf(__('%1$s in %2$s'), "<a href='post.php?action=edit&amp;post=$post->ID' title='" . __('Edit this post') . "'>$post->post_title</a>", human_time_diff( current_time('timestamp', 1), strtotime($post->post_date_gmt. ' GMT') ))  . "</li>";
    9292}
    93 ?> 
     93?>
    9494</ul>
    9595</div>
     
    100100<?php
    101101$numposts = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE post_type = 'post' AND post_status = 'publish'");
    102 if (0 < $numposts) $numposts = number_format($numposts); 
     102if (0 < $numposts) $numposts = number_format($numposts);
    103103
    104104$numcomms = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '1'");
Note: See TracChangeset for help on using the changeset viewer.