Skip to:
Content

BuddyPress.org

Changeset 3913


Ignore:
Timestamp:
01/24/2011 02:49:32 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Don't attempt to redirect to page template if in admin area

File:
1 edited

Legend:

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

    r3884 r3913  
    672672
    673673    // Page template fallback check if $bp->current_component is empty
    674     } elseif ( is_page() ) {
     674    } elseif ( !is_admin() && is_page() ) {
    675675        global $wp_query;
    676676        $page          = $wp_query->get_queried_object();
Note: See TracChangeset for help on using the changeset viewer.