[wp-trac] [WordPress Trac] #15597: Admin Bar: Don't show Manage Comments and Add Post link if the user doesn't has the cap for it

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 28 11:19:42 UTC 2010


#15597: Admin Bar: Don't show Manage Comments and Add Post link if the user doesn't
has the cap for it
----------------------------+-----------------------------------------------
 Reporter:  ocean90         |       Owner:             
     Type:  defect (bug)    |      Status:  new        
 Priority:  normal          |   Milestone:  3.1        
Component:  Administration  |     Version:  3.1        
 Severity:  normal          |    Keywords:  needs-patch
----------------------------+-----------------------------------------------
Changes (by ocean90):

  * keywords:  has-patch => needs-patch


Old description:

> In ''wp_admin_bar_my_sites_menu()'' aren't cap checks for the comment and
> post links and we listed only the ''blog post'' post type, we should add
> all post types.

New description:

 In ''wp_admin_bar_my_sites_menu()'' aren't cap checks for the comment and
 post links.

--

Comment:

 It was too late, patch is buggy.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15597#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list