[buddypress-trac] [BuddyPress] #4441: Duplicate Call to bp_get_user_meta_key in bp_settings_action_notifications
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Thu Aug 16 19:34:54 UTC 2012
#4441: Duplicate Call to bp_get_user_meta_key in bp_settings_action_notifications
---------------------------+-----------------------------
Reporter: sbrajesh | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Notifications | Version: 1.6
Severity: minor | Keywords: has-patch
---------------------------+-----------------------------
Hi,
In bp_settings_action_notifications, we are calling bp_get_user_meta_key
to generate the meta key and then update it using bp_update_user_meta
which also calls bp_get_user_meta_key.
It amounts to double call on the meta key. When we filter on user meta
key, the key saved to the table gets twice prefixed while the
bp_get_user_meta used in various components notification settings, does
not call the bp_get_user_meta_key twice(only called in bp_get_user_meta).
That causes incompatibility in the saved key and the retrieved key for the
user notification settings.
Can we please fix it in the next update. It is causing issue with my Multi
Network Plugin.
Please have a look at the patch attached.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4441>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list