mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Update trash and right now links for pages. fixes #11958
git-svn-id: https://develop.svn.wordpress.org/trunk@12783 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -252,8 +252,8 @@ function wp_dashboard_right_now() {
|
||||
$num = number_format_i18n( $num_pages->publish );
|
||||
$text = _n( 'Page', 'Pages', $num_pages->publish );
|
||||
if ( current_user_can( 'edit_pages' ) ) {
|
||||
$num = "<a href='edit-pages.php'>$num</a>";
|
||||
$text = "<a href='edit-pages.php'>$text</a>";
|
||||
$num = "<a href='edit.php?post_type=page'>$num</a>";
|
||||
$text = "<a href='edit.php?post_type=page'>$text</a>";
|
||||
}
|
||||
echo '<td class="first b b_pages">' . $num . '</td>';
|
||||
echo '<td class="t pages">' . $text . '</td>';
|
||||
|
||||
Reference in New Issue
Block a user