diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index dd65eaecf5..f0d14eaea1 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -168,6 +168,7 @@ if ( ( 'edit' == $action) && current_user_can('delete_post', $post_ID) )
  • +
  • diff --git a/wp-admin/edit-pages.php b/wp-admin/edit-pages.php index dd07322037..ee4bee2c26 100644 --- a/wp-admin/edit-pages.php +++ b/wp-admin/edit-pages.php @@ -93,7 +93,7 @@ foreach ( $post_stati as $status => $label ) { $class = ' class="current"'; $status_links[] = "
  • " . - sprintf(__ngettext($label[2][0], $label[2][1], $num_posts->$status), $num_posts->$status) . ''; + sprintf(__ngettext($label[2][0], $label[2][1], $num_posts->$status), number_format_i18n( $num_posts->$status ) ) . ''; } echo implode(' |
  • ', $status_links) . ''; unset($status_links); diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 8c5d345ce5..0da6d506db 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -82,25 +82,25 @@ if ( is_single() ) { diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 349e905813..fade6a6129 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -996,7 +996,7 @@ foreach ( $post_mime_types as $mime_type => $label ) { if ( wp_match_mime_types($mime_type, $_GET['post_mime_type']) ) $class = ' class="current"'; - $type_links[] = "
  • $mime_type, 'paged'=>false)) . "'$class>" . sprintf(__ngettext($label[2][0], $label[2][1], $num_posts[$mime_type]), "{$num_posts[$mime_type]}") . ''; + $type_links[] = "
  • $mime_type, 'paged'=>false)) . "'$class>" . sprintf(__ngettext($label[2][0], $label[2][1], $num_posts[$mime_type]), "" . number_format_i18n( $num_posts[$mime_type] ) . '') . ''; } echo implode(' |
  • ', $type_links) . ''; unset($type_links); diff --git a/wp-admin/upload.php b/wp-admin/upload.php index 87b84bfdc5..d622b72624 100644 --- a/wp-admin/upload.php +++ b/wp-admin/upload.php @@ -98,7 +98,7 @@ foreach ( $post_mime_types as $mime_type => $label ) { $class = ' class="current"'; $type_links[] = "
  • " . - sprintf(__ngettext($label[2][0], $label[2][1], $num_posts[$mime_type]), $num_posts[$mime_type]) . ''; + sprintf(__ngettext($label[2][0], $label[2][1], $num_posts[$mime_type]), number_format_i18n( $num_posts[$mime_type] )) . ''; } echo implode(' |
  • ', $type_links) . ''; unset($type_links);