Plugin Directory

Changeset 1404842


Ignore:
Timestamp:
04/26/2016 06:35:31 PM (10 years ago)
Author:
quan_flo
Message:

code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • buddypress-messages-spam-blocker/trunk/buddypress-messages-spamblocker.php

    r1404839 r1404842  
    1212 * Domain Path: /languages/
    1313 */
     14/* Only load code that needs BuddyPress to run once BP is loaded and initialized. */
     15function bps_bp_spam_stop_init() {
     16    require( dirname(__FILE__) . '/plugin.php' );
     17}
    1418
    15 /* Only load code that needs BuddyPress to run once BP is loaded and initialized. */
    16 function  bps_bp_spam_stop_init() {
    17     require( dirname( __FILE__ ) . '/plugin.php' );
    18 }
    19 add_action( 'bp_include', 'bps_bp_spam_stop_init' );
     19add_action('bp_include', 'bps_bp_spam_stop_init');
Note: See TracChangeset for help on using the changeset viewer.