Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/03/2018 04:29:34 PM (8 years ago)
Author:
boonebgorges
Message:

Nouveau: Don't add customizer controls/settings for inactive components.

Fixes #7802.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/blogs/functions.php

    r11899 r12048  
    171171                        'choices'    => bp_nouveau_customizer_grid_choices(),
    172172                ),
     173                'sites_dir_layout' => array(
     174                        'label'      => __( 'Use column navigation for the Sites directory.', 'buddypress' ),
     175                        'section'    => 'bp_nouveau_dir_layout',
     176                        'settings'   => 'bp_nouveau_appearance[sites_dir_layout]',
     177                        'type'       => 'checkbox',
     178                ),
     179                'sites_dir_tabs' => array(
     180                        'label'      => __( 'Use tab styling for Sites directory navigation.', 'buddypress' ),
     181                        'section'    => 'bp_nouveau_dir_layout',
     182                        'settings'   => 'bp_nouveau_appearance[sites_dir_tabs]',
     183                        'type'       => 'checkbox',
     184                ),
    173185        ) );
    174186}
Note: See TracChangeset for help on using the changeset viewer.