Changeset 9583
- Timestamp:
- 03/03/2015 12:46:17 AM (10 years ago)
- Location:
- branches/2.2/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/src/bp-core/deprecated/2.2.php
r9334 r9583 105 105 _deprecated_function( __FUNCTION__, '2.2', 'This function has no replacement' ); 106 106 } 107 108 /** 109 * Add a piece of message metadata. 110 * 111 * @deprecated BuddyPress (2.2.2) 112 */ 113 function bp_message_add_meta( $message_id, $meta_key, $meta_value, $unique = false ) { 114 _deprecated_function( __FUNCTION__, '2.3.0', 'bp_messages_add_meta()' ); 115 return bp_messages_add_meta( $message_id, $meta_key, $meta_value, $unique ); 116 } -
branches/2.2/src/bp-messages/bp-messages-functions.php
r9351 r9583 440 440 * Add a piece of message metadata. 441 441 * 442 * @since BuddyPress (2.2. 0)442 * @since BuddyPress (2.2.2) 443 443 * 444 444 * @see add_metadata() for full documentation excluding $meta_type variable. 445 445 */ 446 function bp_message _add_meta( $message_id, $meta_key, $meta_value, $unique = false ) {446 function bp_messages_add_meta( $message_id, $meta_key, $meta_value, $unique = false ) { 447 447 add_filter( 'query', 'bp_filter_metaid_column_name' ); 448 448 $retval = add_metadata( 'message', $message_id, $meta_key, $meta_value, $unique );
Note: See TracChangeset
for help on using the changeset viewer.