Opened 14 years ago
Closed 14 years ago
#1474 closed defect (bug) (fixed)
When called without the $meta_value parameter, bb_delete_usermeta() does not work.
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 1.1 | Priority: | normal |
Severity: | blocker | Version: | 1.1-alpha |
Component: | Back-end | Keywords: | |
Cc: |
Description
bb_delete_usermeta()
can either be called with an explicit meta_value (to delete the key with that value) or without (to delete the key no matter the value). When called without an explicit meta_value, the function fails.
bb_delete_usermeta()
's $meta_value
parameter defaults to the empty string, but BackPress' WP_User::delete_meta()
checks is_null( $meta_value )
.
Attached changes the default to null
.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Fixed in r2910.