Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/16/2012 10:03:52 PM (12 years ago)
Author:
djpaul
Message:

Correct page preview when home page is set to use a static page. Fixes #3928

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5/bp-core/bp-core-catchuri.php

    r5548 r5635  
    114114    // so that $current_component is populated (unless a specific WP post is being requested
    115115    // via a URL parameter, usually signifying Preview mode)
    116     if ( 'page' == get_option( 'show_on_front' ) && get_option( 'page_on_front' ) && empty( $bp_uri ) && empty( $_GET['p'] ) ) {
     116    if ( 'page' == get_option( 'show_on_front' ) && get_option( 'page_on_front' ) && empty( $bp_uri ) && empty( $_GET['p'] ) && empty( $_GET['page_id'] ) ) {
    117117        $post = get_post( get_option( 'page_on_front' ) );
    118118        if ( !empty( $post ) ) {
Note: See TracChangeset for help on using the changeset viewer.