Skip to:
Content

BuddyPress.org

Changeset 13225


Ignore:
Timestamp:
01/29/2022 01:50:30 PM (3 years ago)
Author:
imath
Message:

Improve Opt-out & Invitation list tables mobile display

Props muhittinsahilli, oztaser

See #8624(trunk)

Location:
trunk/src
Files:
2 edited

Legend:

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

    r12899 r13225  
    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
  • trunk/src/bp-members/classes/class-bp-members-invitations-list-table.php

    r12930 r13225  
    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.