Make WordPress Core

Ticket #32286: 32286.patch

File 32286.patch, 836 bytes (added by SergeyBiryukov, 11 years ago)
  • src/wp-admin/user-edit.php

     
    437437        <p class="description"><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></p></td>
    438438</tr>
    439439
     440<?php if ( IS_PROFILE_PAGE ) : ?>
     441<tr class="user-profile-picture">
     442        <th><?php _e( 'Profile Picture' ); ?></th>
     443        <td>
     444                <?php echo get_avatar( $user_id ); ?>
     445                <p class="description"><?php printf(
     446                        /* translators: %s: Gravatar URL */
     447                        __( 'You can change your profile picture on <a href="%s">Gravatar</a>.' ), __( 'https://en.gravatar.com/' ) );
     448                ?></p>
     449        </td>
     450</tr>
     451<?php endif; ?>
     452
    440453<?php
    441454/**
    442455 * Filter the display of the password fields.