Changeset 6766 for trunk/wp-admin/index.php
- Timestamp:
- 02/09/2008 07:08:32 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/index.php
r6730 r6766 55 55 56 56 if ( $num_posts ) { 57 $post_type_texts[] = '<a href="edit.php">'.sprintf( __ngettext( '% d post', '%dposts', $num_posts ), number_format_i18n( $num_posts ) ).'</a>';57 $post_type_texts[] = '<a href="edit.php">'.sprintf( __ngettext( '%s post', '%s posts', $num_posts ), number_format_i18n( $num_posts ) ).'</a>'; 58 58 } 59 59 if ( $num_pages ) { 60 $post_type_texts[] = '<a href="edit-pages.php">'.sprintf( __ngettext( '% d page', '%dpages', $num_pages ), number_format_i18n( $num_pages ) ).'</a>';60 $post_type_texts[] = '<a href="edit-pages.php">'.sprintf( __ngettext( '%s page', '%s pages', $num_pages ), number_format_i18n( $num_pages ) ).'</a>'; 61 61 } 62 62 if ( $num_drafts ) { 63 $post_type_texts[] = '<a href="edit.php?post_status=draft">'.sprintf( __ngettext( '% d draft', '%ddrafts', $num_drafts ), number_format_i18n( $num_drafts ) ).'</a>';63 $post_type_texts[] = '<a href="edit.php?post_status=draft">'.sprintf( __ngettext( '%s draft', '%s drafts', $num_drafts ), number_format_i18n( $num_drafts ) ).'</a>'; 64 64 } 65 65 if ( $num_future ) { 66 $post_type_texts[] = '<a href="edit.php?post_status=future">'.sprintf( __ngettext( '% d scheduled post', '%dscheduled posts', $num_future ), number_format_i18n( $num_future ) ).'</a>';66 $post_type_texts[] = '<a href="edit.php?post_status=future">'.sprintf( __ngettext( '%s scheduled post', '%s scheduled posts', $num_future ), number_format_i18n( $num_future ) ).'</a>'; 67 67 } 68 68 69 $cats_text = '<a href="categories.php">'.sprintf( __ngettext( '% d category', '%dcategories', $num_cats ), number_format_i18n( $num_cats ) ).'</a>';70 $tags_text = sprintf( __ngettext( '% d tag', '%dtags', $num_tags ), number_format_i18n( $num_tags ) );69 $cats_text = '<a href="categories.php">'.sprintf( __ngettext( '%s category', '%s categories', $num_cats ), number_format_i18n( $num_cats ) ).'</a>'; 70 $tags_text = sprintf( __ngettext( '%s tag', '%s tags', $num_tags ), number_format_i18n( $num_tags ) ); 71 71 72 72 $post_type_text = implode(', ', $post_type_texts);
Note: See TracChangeset
for help on using the changeset viewer.