Skip to:
Content

BuddyPress.org

Changeset 5037


Ignore:
Timestamp:
08/27/2011 01:06:20 PM (13 years ago)
Author:
boonebgorges
Message:

When building Pages panel, use component ID to get directory page components (instead of component slug). Fixes #3516

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/admin/bp-core-admin.php

    r5015 r5037  
    472472    $directory_pages = array();
    473473
    474     foreach( $bp->loaded_components as $component_id => $data ) {
     474    foreach( $bp->loaded_components as $component_slug => $component_id ) {
    475475
    476476        // Only components that need directories should be listed here
Note: See TracChangeset for help on using the changeset viewer.