Skip to:
Content

BuddyPress.org

Changeset 4819


Ignore:
Timestamp:
07/23/2011 05:34:34 PM (14 years ago)
Author:
djpaul
Message:

Add ABSPATH checks to Blogs tracking component. See #3367

Location:
trunk
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-actions.php

    r4817 r4819  
    11<?php
    2 // Exit if accessed directly
    3 if ( !defined( 'ABSPATH' ) ) exit;
    4 
    52/*******************************************************************************
    63 * Action functions are exactly the same as screen functions, however they do
     
    85 * user back to the default screen after execution.
    96 */
     7
     8// Exit if accessed directly
     9if ( !defined( 'ABSPATH' ) ) exit;
    1010
    1111// Allow core components and dependent plugins to register activity actions
  • trunk/bp-activity/bp-activity-functions.php

    r4817 r4819  
    11<?php
     2/**
     3 * BuddyPress Activity Functions
     4 *
     5 * Functions for the Activity Streams component
     6 *
     7 * @package BuddyPress
     8 * @subpackage Activity Core
     9 */
     10
    211// Exit if accessed directly
    312if ( !defined( 'ABSPATH' ) ) exit;
    4 
    5 /**
    6  * BuddyPress Activity Functions
    7  *
    8  * Functions for the Activity Streams component
    9  *
    10  * @package BuddyPress
    11  * @subpackage Activity Core
    12  */
    1313
    1414/**
  • trunk/bp-activity/bp-activity-template.php

    r4817 r4819  
    11<?php
     2/**
     3 * BuddyPress Activity Template Functions
     4 *
     5 * @package BuddyPress
     6 * @subpackage Activity Template
     7 */
     8
    29// Exit if accessed directly
    310if ( !defined( 'ABSPATH' ) ) exit;
    4 
    5 /**
    6  * BuddyPress Activity Template Functions
    7  *
    8  * @package BuddyPress
    9  * @subpackage Activity Template
    10  */
    1111
    1212/**
  • trunk/bp-blogs/bp-blogs-actions.php

    r3917 r4819  
    11<?php
     2// Exit if accessed directly
     3if ( !defined( 'ABSPATH' ) ) exit;
    24
    35function bp_blogs_redirect_to_random_blog() {
  • trunk/bp-blogs/bp-blogs-activity.php

    r4466 r4819  
    11<?php
    2 
    32/******************************************************************************
    43 * These functions handle the recording, deleting and formatting of activity and
    54 * notifications for the user and for this specific component.
    65 */
     6
     7// Exit if accessed directly
     8if ( !defined( 'ABSPATH' ) ) exit;
     9
    710
    811function bp_blogs_register_activity_actions() {
  • trunk/bp-blogs/bp-blogs-buddybar.php

    r4651 r4819  
    11<?php
     2// Exit if accessed directly
     3if ( !defined( 'ABSPATH' ) ) exit;
    24
    35// *** "My Blogs" Menu ********
  • trunk/bp-blogs/bp-blogs-cache.php

    r3761 r4819  
    11<?php
    2 
    32/*******************************************************************************
    43 * Caching
     
    76 * actions throughout BuddyPress.
    87 */
     8
     9// Exit if accessed directly
     10if ( !defined( 'ABSPATH' ) ) exit;
    911
    1012function bp_blogs_clear_blog_object_cache( $blog_id, $user_id ) {
  • trunk/bp-blogs/bp-blogs-classes.php

    r4770 r4819  
    11<?php
     2// Exit if accessed directly
     3if ( !defined( 'ABSPATH' ) ) exit;
    24
    35Class BP_Blogs_Blog {
  • trunk/bp-blogs/bp-blogs-functions.php

    r4651 r4819  
    11<?php
     2// Exit if accessed directly
     3if ( !defined( 'ABSPATH' ) ) exit;
    24
    35/**
  • trunk/bp-blogs/bp-blogs-loader.php

    r4786 r4819  
    11<?php
    2 
    32/**
    43 * BuddyPress Blogs Streams Loader
     
    98 * @subpackage Blogs Core
    109 */
     10
     11// Exit if accessed directly
     12if ( !defined( 'ABSPATH' ) ) exit;
    1113
    1214class BP_Blogs_Component extends BP_Component {
  • trunk/bp-blogs/bp-blogs-screens.php

    r4088 r4819  
    11<?php
     2// Exit if accessed directly
     3if ( !defined( 'ABSPATH' ) ) exit;
    24
    35function bp_blogs_screen_my_blogs() {
  • trunk/bp-blogs/bp-blogs-template.php

    r4804 r4819  
    11<?php
     2// Exit if accessed directly
     3if ( !defined( 'ABSPATH' ) ) exit;
    24
    35/**
  • trunk/bp-blogs/bp-blogs-widgets.php

    r4767 r4819  
    11<?php
     2// Exit if accessed directly
     3if ( !defined( 'ABSPATH' ) ) exit;
    24
    35/***
Note: See TracChangeset for help on using the changeset viewer.