Skip to:
Content

BuddyPress.org

Changeset 4825


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

Add ABSPATH checks to Messages component. See #3367

Location:
trunk/bp-messages
Files:
10 edited

Legend:

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

    r4783 r4825  
    11<?php
    2 
    32/*******************************************************************************
    43 * Action functions are exactly the same as screen functions, however they do not
     
    65 * back to the default screen after execution.
    76 */
     7
     8// Exit if accessed directly
     9if ( !defined( 'ABSPATH' ) ) exit;
    810
    911function messages_action_view_message() {
  • trunk/bp-messages/bp-messages-cache.php

    r3917 r4825  
    11<?php
    2 
    32/*******************************************************************************
    43 * Caching functions handle the clearing of cached objects and pages on specific
    54 * actions throughout BuddyPress.
    65 */
     6
     7// Exit if accessed directly
     8if ( !defined( 'ABSPATH' ) ) exit;
    79
    810// List actions to clear super cached pages on, if super cache is installed
  • trunk/bp-messages/bp-messages-classes.php

    r4776 r4825  
    11<?php
     2// Exit if accessed directly
     3if ( !defined( 'ABSPATH' ) ) exit;
    24
    35Class BP_Messages_Thread {
  • trunk/bp-messages/bp-messages-cssjs.php

    r4816 r4825  
    11<?php
     2// Exit if accessed directly
     3if ( !defined( 'ABSPATH' ) ) exit;
    24
    35function messages_add_autocomplete_js() {
  • trunk/bp-messages/bp-messages-filters.php

    r4200 r4825  
    11<?php
     2// Exit if accessed directly
     3if ( !defined( 'ABSPATH' ) ) exit;
    24
    35/* Apply WordPress defined filters */
  • trunk/bp-messages/bp-messages-functions.php

    r4775 r4825  
    11<?php
    2 
    32/*******************************************************************************
    43 * Business functions are where all the magic happens in BuddyPress. They will
     
    76 * true or false on success or failure.
    87 */
     8
     9// Exit if accessed directly
     10if ( !defined( 'ABSPATH' ) ) exit;
    911
    1012function messages_new_message( $args = '' ) {
  • trunk/bp-messages/bp-messages-loader.php

    r4786 r4825  
    11<?php
    2 
    32/**
    43 * BuddyPress Private Messages Loader
     
    98 * @subpackage Messages Core
    109 */
     10
     11// Exit if accessed directly
     12if ( !defined( 'ABSPATH' ) ) exit;
    1113
    1214class BP_Messages_Component extends BP_Component {
  • trunk/bp-messages/bp-messages-notifications.php

    r4638 r4825  
    11<?php
     2// Exit if accessed directly
     3if ( !defined( 'ABSPATH' ) ) exit;
    24
    35function messages_notification_new_message( $args ) {
  • trunk/bp-messages/bp-messages-screens.php

    r4558 r4825  
    11<?php
    2 
    32/*******************************************************************************
    43 * Screen functions are the controllers of BuddyPress. They will execute when their
     
    65 * functions, then pass on the user to a template file.
    76 */
     7
     8// Exit if accessed directly
     9if ( !defined( 'ABSPATH' ) ) exit;
    810
    911function messages_screen_inbox() {
  • trunk/bp-messages/bp-messages-template.php

    r4804 r4825  
    11<?php
     2// Exit if accessed directly
     3if ( !defined( 'ABSPATH' ) ) exit;
    24
    35/*****************************************************************************
    46 * Message Box Template Class
    57 **/
    6 
    78Class BP_Messages_Box_Template {
    89    var $current_thread = -1;
Note: See TracChangeset for help on using the changeset viewer.