[buddypress-trac] [BuddyPress Trac] #6047: More general sorting function

buddypress-trac noreply at wordpress.org
Wed Nov 26 20:11:58 UTC 2014

#6047: More general sorting function
 Reporter:  boonebgorges  |       Owner:  boonebgorges
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:  2.2
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |

Comment (by boonebgorges):

 In [changeset:"9192"]:
 #!CommitTicketReference repository="" revision="9192"
 More precise error checking in `bp_sort_by_key()`.

 In order to support sorting with a value of 0, we must use `isset()` to
 the existence of a value.

 See #6047.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6047#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list