WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#15597 closed defect (bug) (fixed)

Admin Bar: Don't show Manage Comments and Add Post link if the user doesn't has the cap for it

Reported by: ocean90 Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.1
Component: Administration Keywords: has-patch
Focuses: Cc:

Description (last modified by ocean90)

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

Attachments (2)

15597.patch (2.7 KB) - added by ocean90 4 years ago.
15597.2.patch (1.8 KB) - added by ocean90 4 years ago.

Download all attachments as: .zip

Change History (5)

@ocean904 years ago

comment:1 @ocean904 years ago

  • Description modified (diff)
  • Keywords needs-patch added; has-patch removed

It was too late, patch is buggy.

@ocean904 years ago

comment:2 @ocean904 years ago

  • Keywords has-patch added; needs-patch removed

comment:3 @ryan4 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [16609]) Admin Bar: Don't show Manage Comments and Add Post link if the user doesn't has the cap for it. Props ocean90. fixes #15597

Note: See TracTickets for help on using tickets.