WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Activity Plus
Broken for https links (3 posts)

  1. NoahY
    Member
    Posted 3 years ago #

    This plugin doesn't work for https image links. This is because it looks for "http://" in lib/class_bpfb_binder.php:

    if (preg_match('!^' . preg_quote('http://') . '!i', $img)) { // Just add remote images

    This should be changed to:

    if (preg_match('/^https*:\/\//i', $img)) { // Just add remote images

    http://wordpress.org/extend/plugins/buddypress-activity-plus/

  2. NoahY
    Member
    Posted 3 years ago #

    Sorry, also lib/forms/images_tag_template.php:

    <?php if (preg_match('!^' . preg_quote('http://') . '!i', $img)) { // Remote image ?>

    > <?php if (preg_match('/^https*:\/\//i', $img)) { // Remote image ?>

  3. DavidM
    Member
    Posted 3 years ago #

    Thanks for mentioning that NoahY!

    I'll pass these onto the developer to look into.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic