Make WordPress Core


Ignore:
Timestamp:
11/11/2015 07:40:44 PM (9 years ago)
Author:
SergeyBiryukov
Message:

Users: Only show the profile picture if 'Show Avatars' option in Discussion Settings is enabled.

Props ocean90.
See #32286.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/user-edit.php

    r35610 r35613  
    438438</tr>
    439439
     440<?php if ( get_option( 'show_avatars' ) ) : ?>
    440441<tr class="user-profile-picture">
    441442    <th><?php _e( 'Profile Picture' ); ?></th>
     
    463464    </td>
    464465</tr>
     466<?php endif; ?>
    465467
    466468<?php
Note: See TracChangeset for help on using the changeset viewer.