fix dashboard right now category links, fixes #12205
git-svn-id: https://develop.svn.wordpress.org/trunk@13057 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
65dae9a05f
commit
930b21a770
@ -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
Block a user