Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/27/2023 11:01:08 AM (3 years ago)
Author:
imath
Message:

BP Nouveau: remove the Avatar style Customizer option

Letting the theme deal with avatar style, so that it's rendered consistently everywhere on the site, is a better option.

Props iamthewebb

Fixes 8273
Closes https://github.com/buddypress/buddypress/pull/141

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/template-tags.php

    r13504 r13529  
    15131513
    15141514                // Add classes according to site owners preferences. These are options set via Customizer.
    1515 
    1516                 // These are general site wide Cust options falling outside component checks
    1517                 $general_settings = bp_nouveau_get_temporary_setting( 'avatar_style', bp_nouveau_get_appearance_settings( 'avatar_style' ) );
    1518                 if ( $general_settings ) {
    1519                         $classes[] = 'round-avatars';
    1520                 }
    15211515
    15221516                // Set via earlier switch for component check to provide correct option key.
Note: See TracChangeset for help on using the changeset viewer.