[buddypress-trac] [BuddyPress Trac] #5853: WP Edit button on BuddyPress pages

buddypress-trac noreply at wordpress.org
Mon Sep 8 18:47:36 UTC 2014


#5853: WP Edit button on BuddyPress pages
--------------------------+---------------------
 Reporter:  SGr33n        |       Owner:  r-a-y
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  2.1
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by r-a-y):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"8994"]:
 {{{
 #!CommitTicketReference repository="" revision="8994"
 Remove 'Edit' post link on BuddyPress pages.

 Changes in bp_core_load_template() (r8932) to set the post to the current
 BP directory page and #5418 to set the post type to 'page' resulted in
 showing the "Edit" post link at the bottom of BuddyPress pages and in
 the WP Toolbar for users with the 'edit_post' capability.

 Since the "Edit" post link does not make sense on BuddyPress pages, this
 commit manually removes the 'Edit' post link from rendering on BuddyPress
 pages and in the WP Toolbar.

 Fixes #5853.
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5853#comment:14>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list