Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/23/2011 06:17:04 PM (14 years ago)
Author:
djpaul
Message:

Add ABSPATH checks to Friends component. See #3367

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends/bp-friends-functions.php

    r4799 r4822  
    11<?php
    2 
    3 
    42/********************************************************************************
    53 * Business Functions
     
    108 * true or false on success or failure.
    119 */
     10
     11// Exit if accessed directly
     12if ( !defined( 'ABSPATH' ) ) exit;
    1213
    1314function friends_add_friend( $initiator_userid, $friend_userid, $force_accept = false ) {
Note: See TracChangeset for help on using the changeset viewer.