Plugin Directory

Changeset 2052714


Ignore:
Timestamp:
03/18/2019 02:32:31 PM (7 years ago)
Author:
danillonunes
Message:

Always link to secure pages on dmmd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • makemydonation-imo/trunk/template.php

    r1501652 r2052714  
    106106    }
    107107
     108    $case_url = str_replace('http://', 'https://', $mmdimo_case['url']);
    108109    $query_strings[] = 'r=' . urlencode( get_permalink( $id ) );
    109110
    110     $url = $mmdimo_case['url'] . '?' . implode( '&', $query_strings );
     111    $url = $case_url . '?' . implode( '&', $query_strings );
    111112
    112113    return apply_filters( 'the_mmdimo_donation_url', $url, $id );
Note: See TracChangeset for help on using the changeset viewer.