[buddypress-trac] [BuddyPress Trac] #6865: `bp_activity_get_actions()` should only sort when necessary

buddypress-trac noreply at wordpress.org
Wed Feb 3 10:38:52 UTC 2016


#6865: `bp_activity_get_actions()` should only sort when necessary
----------------------------------------+------------------
 Reporter:  boonebgorges                |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  2.5
Component:  Component - Activity        |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+------------------

Comment (by imath):

 > What happens if a plugin is not using a post type for his action and is
 setting his action with a lower position than let's activity_update ?
 Would actions be sorted ?

 i have my reply, actions wouldn't be sorted 6865.2.diff :(

 See `test_bp_activity_get_actions_sort_no_post_type_registered()` in
 6865.unittests.02.patch

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


More information about the buddypress-trac mailing list