Make WordPress Core


Ignore:
Timestamp:
03/23/2008 07:10:17 AM (16 years ago)
Author:
matt
Message:

Sometimes people have huge numbers of posts, let's always number_format them. Also, additional related link.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-pages.php

    r7397 r7485  
    9494
    9595    $status_links[] = "<li><a href=\"edit-pages.php?post_status=$status\"$class>" .
    96     sprintf(__ngettext($label[2][0], $label[2][1], $num_posts->$status), $num_posts->$status) . '</a>';
     96    sprintf(__ngettext($label[2][0], $label[2][1], $num_posts->$status), number_format_i18n( $num_posts->$status ) ) . '</a>';
    9797}
    9898echo implode(' |</li>', $status_links) . '</li>';
Note: See TracChangeset for help on using the changeset viewer.