fix dashboard right now category links, fixes #12205

git-svn-id: http://svn.automattic.com/wordpress/trunk@13057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
wpmuguru 2010-02-11 20:10:15 +00:00
parent 525d2a8609
commit 1651f7e92a
1 changed files with 2 additions and 2 deletions

View File

@ -274,8 +274,8 @@ function wp_dashboard_right_now() {
$num = number_format_i18n( $num_cats );
$text = _n( 'Category', 'Categories', $num_cats );
if ( current_user_can( 'manage_categories' ) ) {
$num = "<a href='categories.php'>$num</a>";
$text = "<a href='categories.php'>$text</a>";
$num = "<a href='edit-tags.php?taxonomy=category'>$num</a>";
$text = "<a href='edit-tags.php?taxonomy=category'>$text</a>";
}
echo '<td class="first b b-cats">' . $num . '</td>';
echo '<td class="t cats">' . $text . '</td>';