Plugin Directory

Changeset 1585341


Ignore:
Timestamp:
01/30/2017 08:52:35 PM (9 years ago)
Author:
mthomas9
Message:

fixed bug for removing slashes in htaccess file

Location:
purlem-personal-url-marketing/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • purlem-personal-url-marketing/trunk/purlem.php

    r1503796 r1585341  
    44Plugin URI: http://purlem.com
    55Description: Personalize your blog to visitors and track results with Personalized URLs (PURLs). <strong>The Plugin Requires a <a href='http://www.purlem.com'>Purlem Account</a>.</strong>
    6 Version: 1.3.9
     6Version: 1.4.0
    77Author: Marty Thomas
    88Author URI: http://purlem.com/company
     
    6868            $new_content = preg_replace($search_pattern, $purlCode, $htaccess_content);
    6969            if(!strstr($new_content,'#PURL CODE')) {
    70                 $new_content = $purlCode."".$htaccess_content;
     70                $new_content = stripslashes($purlCode)."".$htaccess_content;
    7171            }
    72             if(!file_put_contents($file, stripslashes($new_content))) {
     72            if(!file_put_contents($file, $new_content)) {
    7373                add_settings_error( 'error', '', 'We were not able to append to the .htaccess file. For help please contact us - support@purlem.com', 'error' );
    7474            }
  • purlem-personal-url-marketing/trunk/readme.txt

    r1503796 r1585341  
    55Requires at least: 2.1
    66Tested up to: 4.6.1
    7 Stable tag: 1.3.9
     7Stable tag: 1.4.0
    88
    99Personalize your blog to visitors and track results with Personalized URLs (PURLs). The Plugin Requires a Purlem Account.
Note: See TracChangeset for help on using the changeset viewer.