Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/29/2020 09:43:16 PM (6 years ago)
Author:
imath
Message:

Core: fix PHP code standards & typos in inline comments

Props passoniate

Fixes #8225
Fixes #8226
Fixes #8227
Fixes #8228
Fixes #8229

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/deprecated/1.6.php

    r11773 r12547  
    88 */
    99
    10 // Exit if accessed directly
     10// Exit if accessed directly.
    1111defined( 'ABSPATH' ) || exit;
    1212
     
    225225
    226226                // This is a list of the BP wp_ajax_ hook suffixes whose associated functions did
    227                 // not die properly before BP 1.6
     227                // not die properly before BP 1.6.
    228228                $actions = array(
    229                         // Directory template loaders
     229                        // Directory template loaders.
    230230                        'members_filter',
    231231                        'groups_filter',
     
    234234                        'messages_filter',
    235235
    236                         // Activity
     236                        // Activity.
    237237                        'activity_widget_filter',
    238238                        'activity_get_older_updates',
     
    246246                        'activity_mark_unfav',
    247247
    248                         // Groups
     248                        // Groups.
    249249                        'groups_invite_user',
    250250                        'joinleave_group',
    251251
    252                         // Members
     252                        // Members.
    253253                        'addremove_friend',
    254254                        'accept_friendship',
    255255                        'reject_friendship',
    256256
    257                         // Messages
     257                        // Messages.
    258258                        'messages_close_notice',
    259259                        'messages_send_reply',
     
    264264                );
    265265
    266                 // For each of the problematic hooks, exit at the very end of execution
     266                // For each of the problematic hooks, exit at the very end of execution.
    267267                foreach( $actions as $action ) {
    268268                        add_action( 'wp_ajax_' . $action, function() {
Note: See TracChangeset for help on using the changeset viewer.