Skip to:
Content

BuddyPress.org

Changeset 13226


Ignore:
Timestamp:
01/29/2022 01:56:59 PM (2 years ago)
Author:
imath
Message:

Improve Opt-out & Invitation list tables mobile display

Props muhittinsahilli, oztaser

Fixes #8624 (branch 10.0)

Location:
branches/10.0/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/10.0/src/bp-core/classes/class-bp-optouts-list-table.php

    r12899 r13226  
    8585            )
    8686        );
     87    }
     88
     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';
    8798    }
    8899
  • branches/10.0/src/bp-members/classes/class-bp-members-invitations-list-table.php

    r12930 r13226  
    101101            'per_page'    => $per_page,
    102102        ) );
     103    }
     104
     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';
    103114    }
    104115
Note: See TracChangeset for help on using the changeset viewer.