Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/16/2011 10:22:39 PM (13 years ago)
Author:
boonebgorges
Message:

Refactors user_meta key filtering to remove overhead in the bp global. Fixes #2952. Props nacin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-messages/bp-messages-loader.php

    r4372 r4378  
    7171        );
    7272       
    73         $user_meta_keys = array(
    74             'notification_messages_new_message' => 'notification_messages_new_message',
    75             'notification_messages_new_notice'  => 'notification_messages_new_notice'
    76         );
    77 
    7873        // All globals for messaging component.
    7974        // Note that global_tables is included in this array.
     
    8277            'notification_callback' => 'messages_format_notifications',
    8378            'search_string'         => __( 'Search Messages...', 'buddypress' ),
    84             'global_tables'         => $global_tables,
    85             'user_meta_keys'    => $user_meta_keys
     79            'global_tables'         => $global_tables
    8680        );
    8781
Note: See TracChangeset for help on using the changeset viewer.