[buddypress-trac] [BuddyPress] #5083: Activity Meta doesn't recognize 0 as a valid value

buddypress-trac noreply at wordpress.org
Fri Nov 15 21:08:21 UTC 2013


#5083: Activity Meta doesn't recognize 0 as a valid value
---------------------------+----------------------------
 Reporter:  saurabhshukla  |       Owner:  saurabhshukla
     Type:  defect (bug)   |      Status:  closed
 Priority:  low            |   Milestone:  1.9
Component:  Core           |     Version:
 Severity:  minor          |  Resolution:  fixed
 Keywords:  needs-patch    |
---------------------------+----------------------------
Changes (by boonebgorges):

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


Comment:

 In [changeset:"7576"]:
 {{{
 #!CommitTicketReference repository="" revision="7576"
 Allow 0 to be stored in activitymeta

 Previously, any value where empty( $value ) evaluated to true would result
 in the deletion of the row. This change allows for 0 to be stored as a
 legitimate value.

 This is a stopgap until BP's meta functions are refactored to use WP's
 core
 *_metadata() functions.

 Fixes #5083
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5083#comment:7>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list