Make WordPress Core


Ignore:
Timestamp:
03/11/2005 04:53:16 PM (20 years ago)
Author:
ryan
Message:

Fix number formatting in dashboard stats for numbers > 999. http://mosquito.wordpress.org/view.php?id=1074 Hat tip: dougal

File:
1 edited

Legend:

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

    r2411 r2433  
    8282if (0 < $numcats) $numcats = number_format($numcats);
    8383?>
    84 <p><?php printf(__('There are currently %1$d <a href="%2$s" title="Posts">posts</a> and %3$d <a href="%4$s" title="Comments">comments</a>, contained within %5$d <a href="%6$s" title="categories">categories</a>.'), $numposts, 'edit.php',  $numcomms, 'edit-comments.php', $numcats, 'categories.php'); ?></p>
     84<p><?php printf(__('There are currently %1$s <a href="%2$s" title="Posts">posts</a> and %3$s <a href="%4$s" title="Comments">comments</a>, contained within %5$s <a href="%6$s" title="categories">categories</a>.'), $numposts, 'edit.php',  $numcomms, 'edit-comments.php', $numcats, 'categories.php'); ?></p>
    8585</div>
    8686
Note: See TracChangeset for help on using the changeset viewer.