Skip to:
Content

BuddyPress.org

Changeset 11541


Ignore:
Timestamp:
04/27/2017 04:03:30 AM (2 years ago)
Author:
r-a-y
Message:

Emails: Fix issue with the {{user-site.url}} token not using HTTPS when site is currently on SSL.

This email token is only used on a multisite install and when a user is
also signing up for a blog during registration.

Props 55don.

Fixes #7508.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-filters.php

    r11447 r11541  
    468468            'key_blog'          => $key,
    469469            'path'              => $path,
    470             'user-site.url'     => esc_url( "http://{$domain}{$path}" ),
     470            'user-site.url'     => esc_url( set_url_scheme( "http://{$domain}{$path}" ) ),
    471471            'title'             => $title,
    472472            'user.email'        => $user_email,
Note: See TracChangeset for help on using the changeset viewer.