Making WordPress.org

Changeset 11289


Ignore:
Timestamp:
10/22/2021 05:45:25 AM (4 years ago)
Author:
dd32
Message:

Registration: Admin: Enhance the meta column a tiny bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/admin/class-user-registrations-list-table.php

    r11263 r11289  
    299299        echo implode( ', ',
    300300            array_map(
    301                 [ $this, 'link_to_search' ],
     301                function( $ip ) {
     302                    return $this->link_to_search( $ip ) .
     303                        ( is_callable( 'WordPressdotorg\GeoIP\query' ) ?
     304                            ' ' . \WordPressdotorg\GeoIP\query( $ip, 'country_short' ) : '' );
     305                },
    302306                array_filter( array_unique( [
    303307                    $meta->registration_ip ?? false,
Note: See TracChangeset for help on using the changeset viewer.