[buddypress-trac] [BuddyPress Trac] #6328: bp-legacy: Messages loop missing table header action

buddypress-trac noreply at wordpress.org
Sat Mar 28 22:35:53 UTC 2015


#6328: bp-legacy: Messages loop missing table header action
-----------------------------------------+-----------------------
 Reporter:  r-a-y                        |      Owner:
     Type:  defect (bug)                 |     Status:  new
 Priority:  normal                       |  Milestone:  2.3
Component:  Appearance - Template Parts  |    Version:  1.7
 Severity:  minor                        |   Keywords:  has-patch
-----------------------------------------+-----------------------
 In the messages loop, there is an action to add an extra table column -
 `'bp_messages_inbox_list_item'`:
 https://buddypress.trac.wordpress.org/browser/tags/2.2.1/src/bp-templates
 /bp-legacy/buddypress/members/single/messages/messages-loop.php#L64

 But, there isn't a similar hook in the table header:
 https://buddypress.trac.wordpress.org/browser/tags/2.2.1/src/bp-templates
 /bp-legacy/buddypress/members/single/messages/messages-loop.php#L25

 This means attempting to add a table column will not work properly.

 Attached patch adds a hook called `'bp_messages_inbox_list_header'` in the
 `<thead>` of the template so plugins can properly add a table column.

 This bug also exists in bp-default.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6328>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list