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:
parent
525d2a8609
commit
1651f7e92a
|
@ -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>';
|
||||
|
|
Loading…
Reference in New Issue