Skip to:
Content

BuddyPress.org

Ticket #6270: 6270.01.patch

File 6270.01.patch, 628 bytes (added by johnjamesjacoby, 5 years ago)

Rename

  • src/bp-messages/bp-messages-functions.php

     
    443443 *
    444444 * @see add_metadata() for full documentation excluding $meta_type variable.
    445445 */
    446 function bp_message_add_meta( $message_id, $meta_key, $meta_value, $unique = false ) {
     446function bp_messages_add_meta( $message_id, $meta_key, $meta_value, $unique = false ) {
    447447        add_filter( 'query', 'bp_filter_metaid_column_name' );
    448448        $retval = add_metadata( 'message', $message_id, $meta_key, $meta_value, $unique );
    449449        remove_filter( 'query', 'bp_filter_metaid_column_name' );