Opened 2 years ago

Closed 2 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:
Priority: normal Milestone: 3.1
Component: Administration Version: 3.1
Severity: normal Keywords: has-patch
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 2 years ago.
15597.2.patch (1.8 KB) - added by ocean90 2 years ago.

Download all attachments as: .zip

Change History (5)

ocean902 years ago

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

It was too late, patch is buggy.

ocean902 years ago

  • Keywords has-patch added; needs-patch removed

comment:3   ryan2 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.