Changeset 762173
- Timestamp:
- 08/26/2013 12:43:55 AM (13 years ago)
- Location:
- purlem-personal-url-marketing
- Files:
-
- 3 added
- 2 edited
-
tags/1.2.8 (added)
-
tags/1.2.8/purlem.php (added)
-
tags/1.2.8/readme.txt (added)
-
trunk/purlem.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
purlem-personal-url-marketing/trunk/purlem.php
r759586 r762173 4 4 Plugin URI: http://purlem.com 5 5 Description: 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.2. 66 Version: 1.2.8 7 7 Author: Marty Thomas 8 8 Author URI: http://purlem.com/company … … 26 26 */ 27 27 28 29 add_action('update_option_purlemID', 'add_htaccess_code');30 add_action('update_option_purlemURI', 'add_htaccess_code');31 add_action('the_title', 'display_purl_code');32 add_action('the_content', 'display_purl_content');33 add_action('the_title', 'display_purl_header');34 add_action('widgets_init', create_function('', 'return register_widget("PurlemWidget");'));35 add_action('wp_head', 'purlCSS');36 28 if($_GET['purl'] && $_GET['purl'] != '') { 29 add_action('update_option_purlemID', 'add_htaccess_code'); 30 add_action('update_option_purlemURI', 'add_htaccess_code'); 31 add_action('get_header', 'display_purl_code'); 32 add_action('the_content', 'display_purl_content'); 33 add_action('the_title', 'display_purl_header'); 34 add_action('widgets_init', create_function('', 'return register_widget("PurlemWidget");')); 35 add_action('wp_head', 'purlCSS'); 36 } 37 37 38 38 function add_htaccess_code() { … … 107 107 @session_start(); 108 108 109 if(!$_SESSION['visitor'] && !$_GET['refreshed'] ) {109 if(!$_SESSION['visitor'] && !$_GET['refreshed'] && $_GET['purl']) { 110 110 header( 'Location: http://'.$_SERVER[HTTP_HOST].$_SERVER[REQUEST_URI].'?ID='.$_GET['ID'].'&purl='.$_GET['purl'].'&test='.$_GET['test'].'&wordpress='.$_GET['wordpress'].'&refreshed=Y' ) ; 111 111 } -
purlem-personal-url-marketing/trunk/readme.txt
r759586 r762173 5 5 Requires at least: 2.1 6 6 Tested up to: 3.2.1 7 Stable tag: 1.2. 67 Stable tag: 1.2.8 8 8 9 9 Personalize 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.