Skip to:
Content

BuddyPress.org

Changeset 10027


Ignore:
Timestamp:
07/21/2015 10:17:18 PM (11 years ago)
Author:
johnjamesjacoby
Message:

Sign-ups: Introduce BP_Members_List_Table::handle_row_actions() for WordPress 4.3.0 compliance.

This changeset ensures that sign-up list-table row-actions do not collide with row-actions from other classes in the stack.

Props imath. Fixes #6465. For 2.3.3 (2.3 branch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.3/src/bp-members/admin/bp-members-admin-classes.php

    r10007 r10027  
    604604
    605605        /**
     606         * Prevents regular users row actions to be output
     607         *
     608         * @since BuddyPress (2.3.3)
     609         * @access protected
     610         *
     611         * @param object $signup_object Signup being acted upon.
     612         * @param string $column_name   Current column name.
     613         * @param string $primary       Primary column name.
     614         */
     615        protected function handle_row_actions( $signup_object = null, $column_name = '', $primary = '' ) {
     616                return '';
     617        }
     618
     619        /**
    606620         * Markup for the checkbox used to select items for bulk actions.
    607621         *
Note: See TracChangeset for help on using the changeset viewer.