Skip to:
Content

BuddyPress.org

Ticket #5716: 5716.01.patch

File 5716.01.patch, 466 bytes (added by r-a-y, 5 years ago)
  • src/bp-core/bp-core-catchuri.php

     
    362362        if ( !empty( $object_id ) ) {
    363363                $wp_query->queried_object    = get_post( $object_id );
    364364                $wp_query->queried_object_id = $object_id;
     365                $wp_query->post              = $wp_query->queried_object;
    365366                $post                        = $wp_query->queried_object;
    366367        }
    367368