WordPress.org
News
Showcase
Hosting
Extend
Themes
Plugins
Patterns
Blocks
Openverse
↗
︎
Learn
Learn WordPress
Documentation
Forums
Developers
WordPress.tv
↗
︎
Community
Make WordPress
Education
Photo Directory
Five for the Future
Events
Job Board
↗
︎
About
About WordPress
Enterprise
Gutenberg
↗
︎
Swag Store
↗
︎
Get WordPress
Search Trac
Get WordPress
Make WordPress Core
Blog
Handbook
Tickets
Components
Browse Source
Trac Timeline
Create a New Ticket
Search:
Login
Notifications
Context Navigation
Back to Ticket #25681
Ticket #25681
: dashboard.php.diff
File dashboard.php.diff,
166 bytes
(added by
jim912
,
12 years ago
)
Diff file of dashboard.php
Line
1
78c78
2
< if ( is_blog_admin() && current_user_can('edit_posts') )
3
---
4
> if ( is_blog_admin() && current_user_can( get_post_type( 'post' ) )->cap->create_posts )
Trac UI Preferences
Download in other formats:
Original Format