Skip to:
Content

BuddyPress.org

Ticket #8624: 8624.patch

File 8624.patch, 1.4 KB (added by oztaser, 3 years ago)
  • src/bp-core/classes/class-bp-optouts-list-table.php

    diff --git src/bp-core/classes/class-bp-optouts-list-table.php src/bp-core/classes/class-bp-optouts-list-table.php
    index e20f653ff..6823ca9cb 100644
    class BP_Optouts_List_Table extends WP_Users_List_Table { 
    8686                );
    8787        }
    8888
     89        /**
     90         * Gets the name of the default primary column.
     91         *
     92         * @since 10.1.0
     93         *
     94         * @return string Name of the default primary column, in this case, 'email_address'.
     95         */
     96        protected function get_default_primary_column_name() {
     97                return 'email_address';
     98        }
     99
    89100        /**
    90101         * Get the list of views available on this table.
    91102         *
  • src/bp-members/classes/class-bp-members-invitations-list-table.php

    diff --git src/bp-members/classes/class-bp-members-invitations-list-table.php src/bp-members/classes/class-bp-members-invitations-list-table.php
    index f84f17ddd..42f2d6e27 100644
    class BP_Members_Invitations_List_Table extends WP_Users_List_Table { 
    102102                ) );
    103103        }
    104104
     105        /**
     106         * Gets the name of the default primary column.
     107         *
     108         * @since 10.1.0
     109         *
     110         * @return string Name of the default primary column, in this case, 'invitee_email'.
     111         */
     112        protected function get_default_primary_column_name() {
     113                return 'invitee_email';
     114        }
     115
    105116        /**
    106117         * Get the list of views available on this table (e.g. "all", "public").
    107118         *