Making WordPress.org

Ticket #2713: 2713.2.diff

File 2713.2.diff, 1.1 KB (added by SergeyBiryukov, 7 years ago)
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/list-table/class-committers.php

     
    8585                        array(
    8686                                'avatar'   => __( 'Avatar', 'wporg-plugins' ),
    8787                                'username' => __( 'Username', 'wporg-plugins' ),
     88                                'email'    => __( 'Email', 'wporg-plugins' ),
    8889                        ),
    8990                        array(),
    9091                        'username',
     
    187188                                        break;
    188189
    189190                                case 'username':
    190                                         $row .= "<strong>$user_object->user_login</strong><br />";
     191                                        $row .= "<strong>$user_object->user_login</strong>";
    191192                                        break;
    192193
     194                                case 'email':
     195                                        $row .= '<a href="' . esc_url( 'mailto:' . $user_object->user_email ) . '">' . __( 'Email', 'wporg-plugins' ) . '</a><br />';
     196                                        break;
     197
    193198                                default:
    194199                                        /**
    195200                                         * Filter the display output of custom columns in the Users list table.