[buddypress-trac] [BuddyPress Trac] #6331: Star Private Messages

buddypress-trac noreply at wordpress.org
Fri May 1 17:50:17 UTC 2015


#6331: Star Private Messages
------------------------------------+-----------------------
 Reporter:  r-a-y                   |       Owner:  r-a-y
     Type:  enhancement             |      Status:  assigned
 Priority:  normal                  |   Milestone:  2.3
Component:  Component - Messaging   |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+-----------------------

Comment (by r-a-y):

 `02.patch` now includes:

 * An extra parameter for the `bp_is_active()` function.  Thanks for the
 suggestions, boonebgorges and imath!  You can now deactivate the PM star
 component with this snippet: `add_filter( 'bp_is_messages_star_active',
 '__return_false' );`.
 * Star bulk manage support.  Needed to add an extra hook into the
 `bp_messages_bulk_management_dropdown()` function.  Also added some JS so
 the "Add star" / "Remove star" dropdown options are only shown depending
 on the checked item (this emulates GMail).
 * The `title` attribute on the star link icon (thanks for the UX feedback,
 imath)

 I also moved the AJAX handler into bp-legacy's buddypress-functions.php
 since the localization of the title attribute ties things to bp-legacy.

 Function and filename prefix now uses `star` instead of `starred` or
 `stars`.

 Let me know what you think.

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


More information about the buddypress-trac mailing list