Skip to:
Content

BuddyPress.org

Ticket #7865: 7865.patch

File 7865.patch, 761 bytes (added by imath, 7 years ago)
  • src/bp-templates/bp-nouveau/includes/messages/functions.php

    diff --git src/bp-templates/bp-nouveau/includes/messages/functions.php src/bp-templates/bp-nouveau/includes/messages/functions.php
    index 97c1b09f7..a5957daf1 100644
    function bp_nouveau_messages_localize_scripts( $params = array() ) { 
    114114                        'one'  => __( '(and 1 other)', 'buddypress' ),
    115115                        'more' => __( '(and %d others)', 'buddypress' ),
    116116                ),
    117                 'rootUrl' => trailingslashit( str_replace( home_url(), '', bp_displayed_user_domain() ) . bp_get_messages_slug() ),
     117                'rootUrl' => parse_url( trailingslashit( bp_displayed_user_domain() . bp_get_messages_slug() ), PHP_URL_PATH ),
    118118        );
    119119
    120120        // Star private messages.