Skip to:
Content

BuddyPress.org

Ticket #7871: 7871.patch

File 7871.patch, 813 bytes (added by imath, 8 years ago)

let's free the first nav item :)

  • src/bp-templates/bp-nouveau/includes/customizer-controls.php

    diff --git src/bp-templates/bp-nouveau/includes/customizer-controls.php src/bp-templates/bp-nouveau/includes/customizer-controls.php
    index b04eeb544..aea6a6001 100644
    class BP_Nouveau_Nav_Customize_Control extends WP_Customize_Control { 
    8080                                foreach ( $item_nav as $item ) :
    8181                                        $i += 1;
    8282                                ?>
    83                                         <li class="<?php echo esc_attr( $class ); echo ( 1 === $i ) ? ' ui-sortable-disabled' : ''; ?>" data-bp-nav="<?php echo esc_attr( $item->slug ); ?>">
     83                                        <li data-bp-nav="<?php echo esc_attr( $item->slug ); ?>">
    8484                                                <div class="menu-item-bar">
    8585                                                        <div class="menu-item-handle ui-sortable-handle">
    8686                                                                <span class="item-title" aria-hidden="true">