WordPress.org

Make WordPress Core

Changeset 7330


Ignore:
Timestamp:
03/16/08 10:04:42 (7 years ago)
Author:
westi
Message:

Allow plugins to filter the dashboard counts sentance. Fixes #6244 props nerrad.

File:
1 edited

Legend:

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

    r7315 r7330  
    8686// There is always a category 
    8787$sentence = sprintf( __( 'You have %1$s, contained within %2$s and %3$s.' ), $post_type_text, $cats_text, $tags_text ); 
     88$sentence = apply_filters( 'dashboard_count_sentance', $sentence, $post_type_text, $cats_text, $tags_text ); 
    8889 
    8990?> 
Note: See TracChangeset for help on using the changeset viewer.