WordPress.org

Make WordPress Core

Ticket #6208: 6208.r7608.diff

File 6208.r7608.diff, 501 bytes (added by hansengel, 7 years ago)

Updated patch for r7608

  • wp-admin/index.php

     
    9494} 
    9595 
    9696$post_type_text = implode(', ', $post_type_texts); 
     97$post_type_text = ( empty($post_type_text) ) ? __('0 posts') : $post_type_text; 
    9798 
    9899// There is always a category 
    99100$sentence = sprintf( __( 'You have %1$s, contained within %2$s and %3$s. %4$s' ), $post_type_text, $cats_text, $tags_text, $pending_text );