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

buddypress-trac noreply at wordpress.org
Tue Sep 9 20:08:28 UTC 2014


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

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


Comment:

 I think there's a potential issue with filtering get_edit_post_link using
 {{{'__return_false'}}}.

 If a plugin is using custom post types and is displaying one of its post
 type entry into a group, it won't be able to use get_edit_post_link(). For
 instance one of my plugin is failing since this commit.

 Would it be possible to create a function a plugin could temporarly
 neutralize ?
 Or best (from my point of view) : check if the post_id is empty and if so
 return false ?

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


More information about the buddypress-trac mailing list