Plugin Directory


Ignore:
Timestamp:
01/17/2019 07:33:21 PM (7 years ago)
Author:
sitzz
Message:

Confirmed compatability with WP 5.0.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • https-force/trunk/https-force.php

    r1910390 r2014379  
    104104
    105105            // Take care of URLs in text
    106             $buffer = str_replace('http://' . $_SERVER['HTTP_HOST'], 'https://' . $_SERVER['HTTP_HOST'], $buffer);
     106            if (!is_admin()) {
     107                $buffer = str_replace('http://' . $_SERVER['HTTP_HOST'], 'https://' . $_SERVER['HTTP_HOST'], $buffer);
     108            }
    107109
    108110            // Take care of Google URLs
Note: See TracChangeset for help on using the changeset viewer.