Shortlinks by Pretty Links – Best WordPress Link Tracking Plugin - Version 1.6.5

Version Description

  • Fixed bug with some reports not showing
  • Fixed twitter auto-posting issue
  • Fixed scheduled posts not auto tweeting
  • Upgraded code to work with PHP 5.4+
  • Other minor bug fixes and code improvements
Download this release

Release Info

Developer supercleanse
Plugin Icon 128x128 Shortlinks by Pretty Links – Best WordPress Link Tracking Plugin
Version 1.6.5
Comparing to
See all releases

Code changes from version 1.6.4 to 1.6.5

classes/models/PrliClick.php CHANGED
@@ -29,7 +29,7 @@ class PrliClick
29
  $exclude_ips = explode(',',$exclude_list);
30
  for($i = 0; $i < count($exclude_ips); $i++)
31
  {
32
- $exclude_ip = trim(preg_replace('#\*#','%',$exclude_ips[$i]));
33
 
34
  if($i > 0)
35
  $return_stmt .= ' AND';
@@ -54,7 +54,7 @@ class PrliClick
54
  break;
55
  }
56
 
57
- $whitelist_ip = trim(preg_replace('#\*#','%',$whitelist_ips[$i]));
58
 
59
  if($i > 0)
60
  $return_stmt .= ' OR';
29
  $exclude_ips = explode(',',$exclude_list);
30
  for($i = 0; $i < count($exclude_ips); $i++)
31
  {
32
+ $exclude_ip = trim(preg_replace('#\*#','%%',$exclude_ips[$i]));
33
 
34
  if($i > 0)
35
  $return_stmt .= ' AND';
54
  break;
55
  }
56
 
57
+ $whitelist_ip = trim(preg_replace('#\*#','%%',$whitelist_ips[$i]));
58
 
59
  if($i > 0)
60
  $return_stmt .= ' OR';
classes/models/PrliLink.php CHANGED
@@ -4,15 +4,15 @@ if(!defined('ABSPATH'))
4
 
5
  class PrliLink
6
  {
7
- var $table_name;
8
 
9
- function __construct()
10
  {
11
  global $wpdb;
12
  $this->table_name = "{$wpdb->prefix}prli_links";
13
  }
14
 
15
- function create( $values )
16
  {
17
  global $wpdb;
18
 
@@ -58,7 +58,7 @@ class PrliLink
58
  return $link_id;
59
  }
60
 
61
- function update( $id, $values )
62
  {
63
  global $wpdb;
64
 
@@ -97,7 +97,7 @@ class PrliLink
97
  return $query_results;
98
  }
99
 
100
- function bulk_update( $ids, $values ) {
101
  if( !empty($ids) and is_array($values) and !empty($values) ) {
102
  global $wpdb;
103
  $query = "UPDATE {$this->table_name} SET ";
@@ -139,7 +139,7 @@ class PrliLink
139
  return false;
140
  }
141
 
142
- function update_group( $id, $value, $group_id )
143
  {
144
  global $wpdb;
145
  $query = 'UPDATE ' . $this->table_name .
@@ -149,7 +149,7 @@ class PrliLink
149
  return $query_results;
150
  }
151
 
152
- function destroy( $id )
153
  {
154
  require_once(PRLI_MODELS_PATH.'/models.inc.php');
155
  global $wpdb, $prli_click, $prli_link_meta;
@@ -164,7 +164,7 @@ class PrliLink
164
  return $wpdb->query($destroy);
165
  }
166
 
167
- function reset( $id )
168
  {
169
  require_once(PRLI_MODELS_PATH.'/models.inc.php');
170
  global $wpdb, $prli_click, $prli_link_meta;
@@ -176,7 +176,7 @@ class PrliLink
176
  return $wpdb->query($reset);
177
  }
178
 
179
- function getOneFromSlug( $slug, $return_type = OBJECT, $include_stats = false )
180
  {
181
  global $wpdb, $prli_click, $prli_options, $prli_link_meta;
182
  if($include_stats)
@@ -215,7 +215,7 @@ class PrliLink
215
  return $link;
216
  }
217
 
218
- function getOne( $id, $return_type = OBJECT, $include_stats = false )
219
  {
220
  global $wpdb, $prli_click, $prli_link_meta, $prli_options;
221
  if( !isset($id) or empty($id) )
@@ -249,7 +249,7 @@ class PrliLink
249
  return $wpdb->get_row($query, $return_type);
250
  }
251
 
252
- function find_first_target_url($target_url)
253
  {
254
  global $wpdb;
255
  $query_str = "SELECT id FROM {$this->table_name} WHERE url=%s LIMIT 1";
@@ -257,28 +257,26 @@ class PrliLink
257
  return $wpdb->get_var($query);
258
  }
259
 
260
- function &get_or_create_pretty_link_for_target_url( $target_url, $group=0 )
261
  {
262
- $pretty_link_id = $this->find_first_target_url( $target_url );
263
- $pretty_link = $this->getOne($pretty_link_id);
 
 
264
 
265
  if(empty($pretty_link) or !$pretty_link)
266
  {
267
  $pl_insert_id = prli_create_pretty_link( $target_url, '', '', '', $group );
268
  $pretty_link = $this->getOne($pl_insert_id);
269
  }
270
- else
271
- prli_update_pretty_link( $pretty_link->id, '', '', '', '', $group );
272
 
273
- if( !isset($pretty_link) or
274
- empty($pretty_link) or
275
- !$pretty_link )
276
  return false;
277
  else
278
  return $pretty_link;
279
  }
280
 
281
- function is_pretty_link($url, $check_domain=true)
282
  {
283
  global $prli_blogurl;
284
 
@@ -299,7 +297,7 @@ class PrliLink
299
  {
300
  // Match longest slug -- this is the most common
301
  $params = (isset($match_val[3])?$match_val[3]:'');
302
- if( $pretty_link_found =& $this->is_pretty_link_slug( $match_val[2] ) )
303
  return compact('pretty_link_found','pretty_link_params');
304
 
305
  // Trim down the matched link
@@ -315,7 +313,7 @@ class PrliLink
315
  $new_match_str ="#^{$subdir_str}({$struct})({$matched_link})(.*?)?$#";
316
 
317
  $params = (isset($match_val[3])?$match_val:'');
318
- if( $pretty_link_found =& $this->is_pretty_link_slug( $match_val[2] ) )
319
  return compact('pretty_link_found','pretty_link_params');
320
 
321
  // Trim down the matched link and try again
@@ -327,12 +325,12 @@ class PrliLink
327
  return false;
328
  }
329
 
330
- function is_pretty_link_slug($slug)
331
  {
332
  return apply_filters('prli-check-if-slug', $this->getOneFromSlug( urldecode($slug) ), urldecode($slug));
333
  }
334
 
335
- function get_link_min( $id, $return_type = OBJECT )
336
  {
337
  global $wpdb;
338
  $query_str = "SELECT * FROM {$this->table_name} WHERE id=%d";
@@ -340,7 +338,7 @@ class PrliLink
340
  return $wpdb->get_row($query, $return_type);
341
  }
342
 
343
- function getAll($where = '', $order_by = '', $return_type = OBJECT, $include_stats = false)
344
  {
345
  global $wpdb, $prli_click, $prli_group, $prli_link_meta, $prli_options, $prli_utils;
346
 
@@ -378,19 +376,19 @@ class PrliLink
378
  }
379
 
380
  // Pagination Methods
381
- function getRecordCount($where="")
382
  {
383
  global $wpdb, $prli_utils;
384
  $query = 'SELECT COUNT(*) FROM ' . $this->table_name . ' li' . $prli_utils->prepend_and_or_where(' WHERE', $where);
385
  return $wpdb->get_var($query);
386
  }
387
 
388
- function getPageCount($p_size, $where="")
389
  {
390
  return ceil((int)$this->getRecordCount($where) / (int)$p_size);
391
  }
392
 
393
- function getPage($current_p,$p_size, $where = "", $order_by = '', $return_type = OBJECT)
394
  {
395
  global $wpdb, $prli_click, $prli_utils, $prli_group, $prli_link_meta, $prli_options;
396
  $end_index = $current_p * $p_size;
@@ -437,7 +435,7 @@ class PrliLink
437
  return $slug;
438
  }
439
 
440
- function get_pretty_link_url($slug)
441
  {
442
  global $prli_blogurl;
443
 
@@ -456,7 +454,7 @@ class PrliLink
456
  return $prli_blogurl . PrliUtils::get_permalink_pre_slug_uri() . $link->slug;
457
  }
458
 
459
- function validate( $values )
460
  {
461
  global $wpdb, $prli_utils, $prli_blogurl;
462
 
4
 
5
  class PrliLink
6
  {
7
+ public $table_name;
8
 
9
+ public function __construct()
10
  {
11
  global $wpdb;
12
  $this->table_name = "{$wpdb->prefix}prli_links";
13
  }
14
 
15
+ public function create( $values )
16
  {
17
  global $wpdb;
18
 
58
  return $link_id;
59
  }
60
 
61
+ public function update( $id, $values )
62
  {
63
  global $wpdb;
64
 
97
  return $query_results;
98
  }
99
 
100
+ public function bulk_update( $ids, $values ) {
101
  if( !empty($ids) and is_array($values) and !empty($values) ) {
102
  global $wpdb;
103
  $query = "UPDATE {$this->table_name} SET ";
139
  return false;
140
  }
141
 
142
+ public function update_group( $id, $value, $group_id )
143
  {
144
  global $wpdb;
145
  $query = 'UPDATE ' . $this->table_name .
149
  return $query_results;
150
  }
151
 
152
+ public function destroy( $id )
153
  {
154
  require_once(PRLI_MODELS_PATH.'/models.inc.php');
155
  global $wpdb, $prli_click, $prli_link_meta;
164
  return $wpdb->query($destroy);
165
  }
166
 
167
+ public function reset( $id )
168
  {
169
  require_once(PRLI_MODELS_PATH.'/models.inc.php');
170
  global $wpdb, $prli_click, $prli_link_meta;
176
  return $wpdb->query($reset);
177
  }
178
 
179
+ public function getOneFromSlug( $slug, $return_type = OBJECT, $include_stats = false )
180
  {
181
  global $wpdb, $prli_click, $prli_options, $prli_link_meta;
182
  if($include_stats)
215
  return $link;
216
  }
217
 
218
+ public function getOne( $id, $return_type = OBJECT, $include_stats = false )
219
  {
220
  global $wpdb, $prli_click, $prli_link_meta, $prli_options;
221
  if( !isset($id) or empty($id) )
249
  return $wpdb->get_row($query, $return_type);
250
  }
251
 
252
+ public function find_first_target_url($target_url)
253
  {
254
  global $wpdb;
255
  $query_str = "SELECT id FROM {$this->table_name} WHERE url=%s LIMIT 1";
257
  return $wpdb->get_var($query);
258
  }
259
 
260
+ public function get_or_create_pretty_link_for_target_url( $target_url, $group=0 )
261
  {
262
+ global $wpdb;
263
+ $query_str = "SELECT * FROM {$this->table_name} WHERE url=%s LIMIT 1";
264
+ $query = $wpdb->prepare($query_str,$target_url);
265
+ $pretty_link = $wpdb->get_row($query);
266
 
267
  if(empty($pretty_link) or !$pretty_link)
268
  {
269
  $pl_insert_id = prli_create_pretty_link( $target_url, '', '', '', $group );
270
  $pretty_link = $this->getOne($pl_insert_id);
271
  }
 
 
272
 
273
+ if( !isset($pretty_link) or empty($pretty_link) or !$pretty_link )
 
 
274
  return false;
275
  else
276
  return $pretty_link;
277
  }
278
 
279
+ public function is_pretty_link($url, $check_domain=true)
280
  {
281
  global $prli_blogurl;
282
 
297
  {
298
  // Match longest slug -- this is the most common
299
  $params = (isset($match_val[3])?$match_val[3]:'');
300
+ if( $pretty_link_found = $this->is_pretty_link_slug( $match_val[2] ) )
301
  return compact('pretty_link_found','pretty_link_params');
302
 
303
  // Trim down the matched link
313
  $new_match_str ="#^{$subdir_str}({$struct})({$matched_link})(.*?)?$#";
314
 
315
  $params = (isset($match_val[3])?$match_val:'');
316
+ if( $pretty_link_found = $this->is_pretty_link_slug( $match_val[2] ) )
317
  return compact('pretty_link_found','pretty_link_params');
318
 
319
  // Trim down the matched link and try again
325
  return false;
326
  }
327
 
328
+ public function is_pretty_link_slug($slug)
329
  {
330
  return apply_filters('prli-check-if-slug', $this->getOneFromSlug( urldecode($slug) ), urldecode($slug));
331
  }
332
 
333
+ public function get_link_min( $id, $return_type = OBJECT )
334
  {
335
  global $wpdb;
336
  $query_str = "SELECT * FROM {$this->table_name} WHERE id=%d";
338
  return $wpdb->get_row($query, $return_type);
339
  }
340
 
341
+ public function getAll($where = '', $order_by = '', $return_type = OBJECT, $include_stats = false)
342
  {
343
  global $wpdb, $prli_click, $prli_group, $prli_link_meta, $prli_options, $prli_utils;
344
 
376
  }
377
 
378
  // Pagination Methods
379
+ public function getRecordCount($where="")
380
  {
381
  global $wpdb, $prli_utils;
382
  $query = 'SELECT COUNT(*) FROM ' . $this->table_name . ' li' . $prli_utils->prepend_and_or_where(' WHERE', $where);
383
  return $wpdb->get_var($query);
384
  }
385
 
386
+ public function getPageCount($p_size, $where="")
387
  {
388
  return ceil((int)$this->getRecordCount($where) / (int)$p_size);
389
  }
390
 
391
+ public function getPage($current_p,$p_size, $where = "", $order_by = '', $return_type = OBJECT)
392
  {
393
  global $wpdb, $prli_click, $prli_utils, $prli_group, $prli_link_meta, $prli_options;
394
  $end_index = $current_p * $p_size;
435
  return $slug;
436
  }
437
 
438
+ public function get_pretty_link_url($slug)
439
  {
440
  global $prli_blogurl;
441
 
454
  return $prli_blogurl . PrliUtils::get_permalink_pre_slug_uri() . $link->slug;
455
  }
456
 
457
+ public function validate( $values )
458
  {
459
  global $wpdb, $prli_utils, $prli_blogurl;
460
 
classes/models/PrliUtils.php CHANGED
@@ -91,7 +91,7 @@ class PrliUtils
91
  return ($this->getLastRecordNum($r_count,($current_p - 1),$p_size) + 1);
92
  }
93
 
94
- function slugIsAvailable( $full_slug, $id = '' )
95
  {
96
  global $wpdb, $prli_blogurl, $prli_link;
97
 
@@ -148,9 +148,9 @@ class PrliUtils
148
  if(!isset($browsecap_ini))
149
  {
150
  if( version_compare(PHP_VERSION, '5.3.0') >= 0 )
151
- $browsecap_ini =& parse_ini_file( PRLI_PATH . "/includes/php/php_browsecap.ini", true, INI_SCANNER_RAW );
152
  else
153
- $browsecap_ini =& parse_ini_file( PRLI_PATH . "/includes/php/php_browsecap.ini", true );
154
  }
155
 
156
  return $browsecap_ini;
@@ -165,7 +165,7 @@ class PrliUtils
165
  $yu=array();
166
  $q_s=array("#\.#","#\*#","#\?#");
167
  $q_r=array("\.",".*",".?");
168
- $brows =& $this->php_get_browsercap_ini();
169
 
170
  if(!empty($brows) and $brows and is_array($brows))
171
  {
@@ -1102,7 +1102,7 @@ class PrliUtils
1102
  return 0;
1103
  }
1104
 
1105
- function get_permalink_pre_slug_uri($force=false,$trim=false)
1106
  {
1107
  global $prli_options;
1108
 
@@ -1124,7 +1124,7 @@ class PrliUtils
1124
  return '/';
1125
  }
1126
 
1127
- function get_permalink_pre_slug_regex()
1128
  {
1129
  $pre_slug_uri = PrliUtils::get_permalink_pre_slug_uri(true);
1130
 
@@ -1141,7 +1141,7 @@ class PrliUtils
1141
  return ($permalink_structure and !empty($permalink_structure));
1142
  }
1143
 
1144
- function get_prli_post_meta($post_id, $key, $single=false)
1145
  {
1146
  if( isset($post_id) and !empty($post_id) and
1147
  $post_id and is_numeric($post_id) )
@@ -1150,7 +1150,7 @@ class PrliUtils
1150
  return false;
1151
  }
1152
 
1153
- function update_prli_post_meta($post_id, $meta_key, $meta_value)
1154
  {
1155
  if( isset($post_id) and !empty($post_id) and
1156
  $post_id and is_numeric($post_id) )
@@ -1220,4 +1220,15 @@ class PrliUtils
1220
  return ( preg_match('/^http.?:\/\/.*\..*$/', $url ) or
1221
  preg_match('!^(http|https)://(localhost|127\.0\.0\.1)(:\d+)?(/[\w- ./?%&=]*)?!', $url ) );
1222
  }
 
 
 
 
 
 
 
 
 
 
 
1223
  }
91
  return ($this->getLastRecordNum($r_count,($current_p - 1),$p_size) + 1);
92
  }
93
 
94
+ public static function slugIsAvailable( $full_slug, $id = '' )
95
  {
96
  global $wpdb, $prli_blogurl, $prli_link;
97
 
148
  if(!isset($browsecap_ini))
149
  {
150
  if( version_compare(PHP_VERSION, '5.3.0') >= 0 )
151
+ $browsecap_ini = parse_ini_file( PRLI_PATH . "/includes/php/php_browsecap.ini", true, INI_SCANNER_RAW );
152
  else
153
+ $browsecap_ini = parse_ini_file( PRLI_PATH . "/includes/php/php_browsecap.ini", true );
154
  }
155
 
156
  return $browsecap_ini;
165
  $yu=array();
166
  $q_s=array("#\.#","#\*#","#\?#");
167
  $q_r=array("\.",".*",".?");
168
+ $brows = $this->php_get_browsercap_ini();
169
 
170
  if(!empty($brows) and $brows and is_array($brows))
171
  {
1102
  return 0;
1103
  }
1104
 
1105
+ public static function get_permalink_pre_slug_uri($force=false,$trim=false)
1106
  {
1107
  global $prli_options;
1108
 
1124
  return '/';
1125
  }
1126
 
1127
+ public static function get_permalink_pre_slug_regex()
1128
  {
1129
  $pre_slug_uri = PrliUtils::get_permalink_pre_slug_uri(true);
1130
 
1141
  return ($permalink_structure and !empty($permalink_structure));
1142
  }
1143
 
1144
+ public static function get_prli_post_meta($post_id, $key, $single=false)
1145
  {
1146
  if( isset($post_id) and !empty($post_id) and
1147
  $post_id and is_numeric($post_id) )
1150
  return false;
1151
  }
1152
 
1153
+ public static function update_prli_post_meta($post_id, $meta_key, $meta_value)
1154
  {
1155
  if( isset($post_id) and !empty($post_id) and
1156
  $post_id and is_numeric($post_id) )
1220
  return ( preg_match('/^http.?:\/\/.*\..*$/', $url ) or
1221
  preg_match('!^(http|https)://(localhost|127\.0\.0\.1)(:\d+)?(/[\w- ./?%&=]*)?!', $url ) );
1222
  }
1223
+
1224
+ public static function get_plp_permalink($link) {
1225
+ global $prli_blogurl;
1226
+
1227
+ $struct = PrliUtils::get_permalink_pre_slug_uri();
1228
+
1229
+ if(isset($link->slug))
1230
+ return "{$prli_blogurl}{$struct}{$link->slug}";
1231
+ else
1232
+ return false;
1233
+ }
1234
  }
i18n/pretty-link.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Pretty Link Lite package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Pretty Link Lite 1.6.4a4\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/pretty-link\n"
7
- "POT-Creation-Date: 2013-04-25 18:08:06+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -76,7 +76,7 @@ msgstr ""
76
  #: pro/classes/views/prlipro-options/form.php:104
77
  #: pro/classes/views/prlipro-options/form.php:137
78
  #: pro/classes/views/prlipro-options/form.php:216
79
- #: pro/classes/views/prlipro-options/form.php:362 pro/pretty-link-pro.php:1525
80
  #: pro/prlipro-create-public-link-widget.php:68
81
  msgid "None"
82
  msgstr ""
@@ -126,7 +126,7 @@ msgstr ""
126
  msgid "On"
127
  msgstr ""
128
 
129
- #: classes/models/PrliClick.php:235 pro/pretty-link-pro.php:165
130
  msgid "Pretty Link:"
131
  msgstr ""
132
 
@@ -153,37 +153,37 @@ msgstr ""
153
  #: pro/classes/views/prli-reports/custom-report.php:64
154
  #: pro/classes/views/prli-reports/split-test-report.php:31
155
  #: pro/classes/views/prli-reports/split-test-report.php:64
156
- #: pro/pretty-link-pro.php:164
157
  msgid "Hits"
158
  msgstr ""
159
 
160
- #: classes/models/PrliLink.php:465
161
  msgid "Target URL can't be blank"
162
  msgstr ""
163
 
164
- #: classes/models/PrliLink.php:468
165
  msgid "Pretty Link can't be blank"
166
  msgstr ""
167
 
168
- #: classes/models/PrliLink.php:471
169
  msgid "Target URL must be different than the Pretty Link"
170
  msgstr ""
171
 
172
- #: classes/models/PrliLink.php:476
173
  msgid "Link URL must be a correctly formatted url"
174
  msgstr ""
175
 
176
- #: classes/models/PrliLink.php:479
177
  msgid ""
178
  "Pretty Link slugs must not contain question marks, ampersands or number "
179
  "signs."
180
  msgstr ""
181
 
182
- #: classes/models/PrliLink.php:482
183
  msgid "Pretty Link slugs must not end with a slash (\"/\")"
184
  msgstr ""
185
 
186
- #: classes/models/PrliLink.php:486
187
  msgid ""
188
  "This Pretty Link Slug is already taken. Check to make sure it isn't being "
189
  "used by another pretty link, post, page, category or tag slug. If none of "
@@ -191,13 +191,13 @@ msgid ""
191
  "the root folder of your wordpress install."
192
  msgstr ""
193
 
194
- #: classes/models/PrliLink.php:489
195
  msgid ""
196
  "If Custom Parameter Forwarding has been selected then you must specify a "
197
  "forwarding format."
198
  msgstr ""
199
 
200
- #: classes/models/PrliLink.php:492
201
  msgid ""
202
  "Your parameter forwarding must have at least one parameter specified in the "
203
  "format ex: <code>/%var1%/%var_two%/%varname3% ...</code>"
@@ -227,7 +227,7 @@ msgid ""
227
  msgstr ""
228
 
229
  #: classes/models/PrliUpdate.php:173 classes/views/shared/errors.php:12
230
- #: pro/classes/views/prlipro-public/form.php:22
231
  msgid "ERROR"
232
  msgstr ""
233
 
@@ -965,7 +965,7 @@ msgstr ""
965
  msgid "Bookmarklet:"
966
  msgstr ""
967
 
968
- #: classes/views/prli-tools/form.php:19 pro/pretty-link-pro.php:1493
969
  msgid "Get PrettyLink"
970
  msgstr ""
971
 
@@ -1348,7 +1348,7 @@ msgstr ""
1348
  #: pro/classes/views/prli-reports/custom-report.php:65
1349
  #: pro/classes/views/prli-reports/split-test-report.php:32
1350
  #: pro/classes/views/prli-reports/split-test-report.php:65
1351
- #: pro/pretty-link-pro.php:164
1352
  msgid "Uniques"
1353
  msgstr ""
1354
 
@@ -1887,7 +1887,7 @@ msgid "Customize Public Link Creation"
1887
  msgstr ""
1888
 
1889
  #: pro/classes/views/prlipro-options/form.php:384
1890
- #: pro/classes/views/prlipro-options/form.php:402 pro/pretty-link-pro.php:189
1891
  msgid "(help)"
1892
  msgstr ""
1893
 
@@ -1996,111 +1996,111 @@ msgstr ""
1996
  msgid "home"
1997
  msgstr ""
1998
 
1999
- #: pro/pretty-link-pro.php:102
2000
  msgid "Hide the Twitter Badge on this post."
2001
  msgstr ""
2002
 
2003
- #: pro/pretty-link-pro.php:111
2004
  msgid "Hide Social Buttons on this post."
2005
  msgstr ""
2006
 
2007
- #: pro/pretty-link-pro.php:120
2008
  msgid "Hide Twitter Comments on this post."
2009
  msgstr ""
2010
 
2011
- #: pro/pretty-link-pro.php:128
2012
  msgid "Disable Keyword Replacements on this post."
2013
  msgstr ""
2014
 
2015
- #: pro/pretty-link-pro.php:148
2016
  msgid "A Pretty Link will be created on Publish"
2017
  msgstr ""
2018
 
2019
- #: pro/pretty-link-pro.php:166
2020
  msgid "edit"
2021
  msgstr ""
2022
 
2023
- #: pro/pretty-link-pro.php:166
2024
  msgid "Visit Pretty Link:"
2025
  msgstr ""
2026
 
2027
- #: pro/pretty-link-pro.php:166
2028
  msgid "in a New Window"
2029
  msgstr ""
2030
 
2031
- #: pro/pretty-link-pro.php:166
2032
  msgid "visit"
2033
  msgstr ""
2034
 
2035
- #: pro/pretty-link-pro.php:180
2036
  msgid "Has already been tweeted"
2037
  msgstr ""
2038
 
2039
- #: pro/pretty-link-pro.php:182
2040
  msgid "Hasn't been Tweeted yet"
2041
  msgstr ""
2042
 
2043
- #: pro/pretty-link-pro.php:187
2044
  msgid "Tweet It"
2045
  msgstr ""
2046
 
2047
- #: pro/pretty-link-pro.php:189
2048
  msgid "Twitter Message Format:"
2049
  msgstr ""
2050
 
2051
- #: pro/pretty-link-pro.php:191
2052
  msgid "Post to Twitter"
2053
  msgstr ""
2054
 
2055
- #: pro/pretty-link-pro.php:206
2056
  msgid ""
2057
  "A Pretty Link hasn't been generated for this entry yet. Click \"Update Post"
2058
  "\" to generate."
2059
  msgstr ""
2060
 
2061
- #: pro/pretty-link-pro.php:223
2062
  msgid "Auto Tweet on Publish"
2063
  msgstr ""
2064
 
2065
- #: pro/pretty-link-pro.php:223
2066
  msgid "Customize Tweet"
2067
  msgstr ""
2068
 
2069
- #: pro/pretty-link-pro.php:265
2070
  msgid "ERROR: Your Pretty Link was unable to be created"
2071
  msgstr ""
2072
 
2073
- #: pro/pretty-link-pro.php:268
2074
  msgid "Unauthorized"
2075
  msgstr ""
2076
 
2077
- #: pro/pretty-link-pro.php:896
2078
  msgid ""
2079
  "Your URL Replacements must be formatted as a comma separated list of "
2080
  "properly formatted URLs (http[s]://example.com/whatever)"
2081
  msgstr ""
2082
 
2083
- #: pro/pretty-link-pro.php:916
2084
  msgid "Your Link Rotation Weights must add up to 100%"
2085
  msgstr ""
2086
 
2087
- #: pro/pretty-link-pro.php:921
2088
  msgid "Delay Redirect must be a number"
2089
  msgstr ""
2090
 
2091
- #: pro/pretty-link-pro.php:984
2092
  msgid "This Link Has additional Target URL rotations"
2093
  msgstr ""
2094
 
2095
- #: pro/pretty-link-pro.php:1224
2096
  msgid "Keywords <code>(PRO)</code>"
2097
  msgstr ""
2098
 
2099
- #: pro/pretty-link-pro.php:1249
2100
  msgid "Split-Test Report"
2101
  msgstr ""
2102
 
2103
- #: pro/pretty-link-pro.php:1275
2104
  msgid ""
2105
  "Twitter has changed the way it authenticates users:</strong> Auto-Posting to "
2106
  "Twitter with Pretty Link Pro will not work until you update your <a href="
@@ -2108,19 +2108,19 @@ msgid ""
2108
  "Here</a>"
2109
  msgstr ""
2110
 
2111
- #: pro/pretty-link-pro.php:1359
2112
  msgid "Pretty Bar Attribution URL must be a correctly formatted URL"
2113
  msgstr ""
2114
 
2115
- #: pro/pretty-link-pro.php:1380
2116
  msgid "Hide Pretty Bar Attribution Link"
2117
  msgstr ""
2118
 
2119
- #: pro/pretty-link-pro.php:1381
2120
  msgid "Check this to hide the pretty link attribution link on the pretty bar."
2121
  msgstr ""
2122
 
2123
- #: pro/pretty-link-pro.php:1381
2124
  msgid ""
2125
  "Wait, before you do this, you might want to leave this un-checked and set "
2126
  "the alternate URL of this link to your <em>Pretty Link Pro</em> <a href="
@@ -2128,58 +2128,58 @@ msgid ""
2128
  "earn a few bucks while you are at it."
2129
  msgstr ""
2130
 
2131
- #: pro/pretty-link-pro.php:1384
2132
  msgid "Alternate Pretty Bar Attribution URL:"
2133
  msgstr ""
2134
 
2135
- #: pro/pretty-link-pro.php:1387
2136
  msgid ""
2137
  "If set, this will replace the PrettyBars attribution URL. This is a very "
2138
  "good place to put your <em>Pretty Link Pro</em> <a href=\"http://"
2139
  "prettylinkpro.com/amember/aff_member.php\">Affiliate Link</a>."
2140
  msgstr ""
2141
 
2142
- #: pro/pretty-link-pro.php:1476
2143
  msgid "End-Point URL:"
2144
  msgstr ""
2145
 
2146
- #: pro/pretty-link-pro.php:1477
2147
  msgid "This can be used to integrate with your twitter client."
2148
  msgstr ""
2149
 
2150
- #: pro/pretty-link-pro.php:1480
2151
  msgid "Show TweetDeck Integration Instructions"
2152
  msgstr ""
2153
 
2154
- #: pro/pretty-link-pro.php:1482 pro/pretty-link-pro.php:1488
2155
  msgid "Follow the"
2156
  msgstr ""
2157
 
2158
- #: pro/pretty-link-pro.php:1482
2159
  msgid "TweetDeck Custom URL Instructions"
2160
  msgstr ""
2161
 
2162
- #: pro/pretty-link-pro.php:1482
2163
  msgid " and add the following URL to TweetDeck"
2164
  msgstr ""
2165
 
2166
- #: pro/pretty-link-pro.php:1486
2167
  msgid "Show Twitter for iPhone Integration Instructions"
2168
  msgstr ""
2169
 
2170
- #: pro/pretty-link-pro.php:1488
2171
  msgid "Twitter for iPhone Custom URL Instructions"
2172
  msgstr ""
2173
 
2174
- #: pro/pretty-link-pro.php:1488
2175
  msgid " and add the following URL to Twitter for iPhone"
2176
  msgstr ""
2177
 
2178
- #: pro/pretty-link-pro.php:1492
2179
  msgid "Custom Bookmarklet (Pro):"
2180
  msgstr ""
2181
 
2182
- #: pro/pretty-link-pro.php:1494
2183
  msgid ""
2184
  "Alter the options below to customize this Bookmarklet. As you modify the "
2185
  "label, redirect type, tracking and group, you will see this bookmarklet "
@@ -2188,169 +2188,169 @@ msgid ""
2188
  "different settings."
2189
  msgstr ""
2190
 
2191
- #: pro/pretty-link-pro.php:1495 pro/prlipro-create-public-link-widget.php:44
2192
  msgid "Pretty Link Options"
2193
  msgstr ""
2194
 
2195
- #: pro/pretty-link-pro.php:1498
2196
  msgid "Label:"
2197
  msgstr ""
2198
 
2199
- #: pro/pretty-link-pro.php:1503 pro/prlipro-create-public-link-widget.php:46
2200
  msgid "Redirection:"
2201
  msgstr ""
2202
 
2203
- #: pro/pretty-link-pro.php:1505 pro/pretty-link-pro.php:1516
2204
  #: pro/prlipro-create-public-link-widget.php:48
2205
  #: pro/prlipro-create-public-link-widget.php:59
2206
  msgid "Default"
2207
  msgstr ""
2208
 
2209
- #: pro/pretty-link-pro.php:1506 pro/prlipro-create-public-link-widget.php:49
2210
  msgid "Permanent/301"
2211
  msgstr ""
2212
 
2213
- #: pro/pretty-link-pro.php:1507 pro/prlipro-create-public-link-widget.php:50
2214
  msgid "Temporary/307"
2215
  msgstr ""
2216
 
2217
- #: pro/pretty-link-pro.php:1508 pro/prlipro-create-public-link-widget.php:51
2218
  msgid "PrettyBar"
2219
  msgstr ""
2220
 
2221
- #: pro/pretty-link-pro.php:1509 pro/pretty-link-pro.php:1762
2222
  #: pro/prlipro-create-public-link-widget.php:52
2223
  msgid "Cloak"
2224
  msgstr ""
2225
 
2226
- #: pro/pretty-link-pro.php:1514 pro/prlipro-create-public-link-widget.php:57
2227
  msgid "Tracking Enabled:"
2228
  msgstr ""
2229
 
2230
- #: pro/pretty-link-pro.php:1517 pro/prlipro-create-public-link-widget.php:60
2231
  msgid "Yes"
2232
  msgstr ""
2233
 
2234
- #: pro/pretty-link-pro.php:1518 pro/prlipro-create-public-link-widget.php:61
2235
  msgid "No"
2236
  msgstr ""
2237
 
2238
- #: pro/pretty-link-pro.php:1523 pro/prlipro-create-public-link-widget.php:66
2239
  msgid "Group:"
2240
  msgstr ""
2241
 
2242
- #: pro/pretty-link-pro.php:1611
2243
  msgid "Could not connect to Twitter. Refresh the page or try again later."
2244
  msgstr ""
2245
 
2246
- #: pro/pretty-link-pro.php:1629 pro/pretty-link-pro.php:1669
2247
  msgid "There was an error saving your Twitter account."
2248
  msgstr ""
2249
 
2250
- #: pro/pretty-link-pro.php:1665
2251
  msgid "Your Twitter Account was successfully saved."
2252
  msgstr ""
2253
 
2254
- #: pro/pretty-link-pro.php:1683 pro/pretty-link-pro.php:1761
2255
  msgid "Pretty Bar"
2256
  msgstr ""
2257
 
2258
- #: pro/pretty-link-pro.php:1684
2259
  msgid "Cloaked"
2260
  msgstr ""
2261
 
2262
- #: pro/pretty-link-pro.php:1685 pro/pretty-link-pro.php:1763
2263
  msgid "Pixel"
2264
  msgstr ""
2265
 
2266
- #: pro/pretty-link-pro.php:1686 pro/pretty-link-pro.php:1764
2267
  msgid "Meta Refresh"
2268
  msgstr ""
2269
 
2270
- #: pro/pretty-link-pro.php:1687 pro/pretty-link-pro.php:1765
2271
  msgid "Javascript"
2272
  msgstr ""
2273
 
2274
- #: pro/pretty-link-pro.php:1790
2275
  msgid "PrettyBar Options"
2276
  msgstr ""
2277
 
2278
- #: pro/pretty-link-pro.php:1793
2279
  msgid "Image URL:"
2280
  msgstr ""
2281
 
2282
- #: pro/pretty-link-pro.php:1796
2283
  msgid ""
2284
  "If set, this will replace the logo image on the PrettyBar. The image that "
2285
  "this URL references should be 48x48 Pixels to fit."
2286
  msgstr ""
2287
 
2288
- #: pro/pretty-link-pro.php:1800
2289
  msgid "Background Image URL:"
2290
  msgstr ""
2291
 
2292
- #: pro/pretty-link-pro.php:1803
2293
  msgid ""
2294
  "If set, this will replace the background image on PrettyBar. The image that "
2295
  "this URL references should be 65px tall - this image will be repeated "
2296
  "horizontally across the bar."
2297
  msgstr ""
2298
 
2299
- #: pro/pretty-link-pro.php:1807
2300
  msgid "Background Color:"
2301
  msgstr ""
2302
 
2303
- #: pro/pretty-link-pro.php:1810
2304
  msgid ""
2305
  "This will alter the background color of the PrettyBar if you haven't "
2306
  "specified a PrettyBar background image."
2307
  msgstr ""
2308
 
2309
- #: pro/pretty-link-pro.php:1814
2310
  msgid "Text Color:"
2311
  msgstr ""
2312
 
2313
- #: pro/pretty-link-pro.php:1817
2314
  msgid ""
2315
  "If not set, this defaults to black (RGB value <code>#000000</code>) but you "
2316
  "can change it to whatever color you like."
2317
  msgstr ""
2318
 
2319
- #: pro/pretty-link-pro.php:1821
2320
  msgid "Link Color:"
2321
  msgstr ""
2322
 
2323
- #: pro/pretty-link-pro.php:1824
2324
  msgid ""
2325
  "If not set, this defaults to blue (RGB value <code>#0000ee</code>) but you "
2326
  "can change it to whatever color you like."
2327
  msgstr ""
2328
 
2329
- #: pro/pretty-link-pro.php:1828
2330
  msgid "Link Hover Color:"
2331
  msgstr ""
2332
 
2333
- #: pro/pretty-link-pro.php:1831
2334
  msgid ""
2335
  "If not set, this defaults to RGB value <code>#ababab</code> but you can "
2336
  "change it to whatever color you like."
2337
  msgstr ""
2338
 
2339
- #: pro/pretty-link-pro.php:1835
2340
  msgid "Visited Link Color:"
2341
  msgstr ""
2342
 
2343
- #: pro/pretty-link-pro.php:1838
2344
  msgid ""
2345
  "If not set, this defaults to RGB value <code>#551a8b</code> but you can "
2346
  "change it to whatever color you like."
2347
  msgstr ""
2348
 
2349
- #: pro/pretty-link-pro.php:1842
2350
  msgid "Title Char Limit*:"
2351
  msgstr ""
2352
 
2353
- #: pro/pretty-link-pro.php:1845
2354
  msgid ""
2355
  "If your Website has a long title then you may need to adjust this value so "
2356
  "that it will all fit on the PrettyBar. It is recommended that you keep this "
@@ -2358,11 +2358,11 @@ msgid ""
2358
  "good across different browsers and screen resolutions."
2359
  msgstr ""
2360
 
2361
- #: pro/pretty-link-pro.php:1849
2362
  msgid "Description Char Limit*:"
2363
  msgstr ""
2364
 
2365
- #: pro/pretty-link-pro.php:1852
2366
  msgid ""
2367
  "If your Website has a long Description (tagline) then you may need to adjust "
2368
  "this value so that it will all fit on the PrettyBar. It is recommended that "
@@ -2370,118 +2370,118 @@ msgid ""
2370
  "format looks good across different browsers and screen resolutions."
2371
  msgstr ""
2372
 
2373
- #: pro/pretty-link-pro.php:1856
2374
  msgid "Target URL Char Limit*:"
2375
  msgstr ""
2376
 
2377
- #: pro/pretty-link-pro.php:1859
2378
  msgid ""
2379
  "If you link to a lot of large Target URLs you may want to adjust this value. "
2380
  "It is recommended that you keep this value to <code>40</code> or below so "
2381
  "the PrettyBar's format looks good across different browsers and URL sizes"
2382
  msgstr ""
2383
 
2384
- #: pro/pretty-link-pro.php:1864
2385
  msgid "Show Pretty Bar Title"
2386
  msgstr ""
2387
 
2388
- #: pro/pretty-link-pro.php:1865
2389
  msgid ""
2390
  "Make sure this is checked if you want the title of your blog (and link) to "
2391
  "show up on the PrettyBar."
2392
  msgstr ""
2393
 
2394
- #: pro/pretty-link-pro.php:1870
2395
  msgid "Show Pretty Bar Description"
2396
  msgstr ""
2397
 
2398
- #: pro/pretty-link-pro.php:1871
2399
  msgid ""
2400
  "Make sure this is checked if you want your site description to show up on "
2401
  "the PrettyBar."
2402
  msgstr ""
2403
 
2404
- #: pro/pretty-link-pro.php:1876
2405
  msgid "Show Pretty Bar Share Links"
2406
  msgstr ""
2407
 
2408
- #: pro/pretty-link-pro.php:1877
2409
  msgid ""
2410
  "Make sure this is checked if you want \"share links\" to show up on the "
2411
  "PrettyBar."
2412
  msgstr ""
2413
 
2414
- #: pro/pretty-link-pro.php:1882
2415
  msgid "Show Pretty Bar Target URL"
2416
  msgstr ""
2417
 
2418
- #: pro/pretty-link-pro.php:1883
2419
  msgid ""
2420
  "Make sure this is checked if you want a link displaying the Target URL to "
2421
  "show up on the PrettyBar."
2422
  msgstr ""
2423
 
2424
- #: pro/pretty-link-pro.php:1913
2425
  msgid "Logo Image URL must be a correctly formatted URL"
2426
  msgstr ""
2427
 
2428
- #: pro/pretty-link-pro.php:1916
2429
  msgid "Background Image URL must be a correctly formatted URL"
2430
  msgstr ""
2431
 
2432
- #: pro/pretty-link-pro.php:1919
2433
  msgid "PrettyBar Background Color must be an actual RGB Value"
2434
  msgstr ""
2435
 
2436
- #: pro/pretty-link-pro.php:1922
2437
  msgid "PrettyBar Text Color must be an actual RGB Value"
2438
  msgstr ""
2439
 
2440
- #: pro/pretty-link-pro.php:1925
2441
  msgid "PrettyBar Link Color must be an actual RGB Value"
2442
  msgstr ""
2443
 
2444
- #: pro/pretty-link-pro.php:1928 pro/pretty-link-pro.php:1931
2445
  msgid "PrettyBar Hover Color must be an actual RGB Value"
2446
  msgstr ""
2447
 
2448
- #: pro/pretty-link-pro.php:1934
2449
  msgid "PrettyBar Title Character Limit must not be blank"
2450
  msgstr ""
2451
 
2452
- #: pro/pretty-link-pro.php:1937
2453
  msgid "PrettyBar Description Character Limit must not be blank"
2454
  msgstr ""
2455
 
2456
- #: pro/pretty-link-pro.php:1940
2457
  msgid "PrettyBar Link Character Limit must not be blank"
2458
  msgstr ""
2459
 
2460
- #: pro/pretty-link-pro.php:1943
2461
  msgid "PrettyBar Title Character Limit must be a number"
2462
  msgstr ""
2463
 
2464
- #: pro/pretty-link-pro.php:1946
2465
  msgid "PrettyBar Description Character Limit must be a number"
2466
  msgstr ""
2467
 
2468
- #: pro/pretty-link-pro.php:1949
2469
  msgid "PrettyBar Link Character Limit must be a number"
2470
  msgstr ""
2471
 
2472
- #: pro/pretty-link-pro.php:2072
2473
  msgid "You are unauthorized to view this resource"
2474
  msgstr ""
2475
 
2476
- #: pro/pretty-link-pro.php:2102
2477
  msgid "View QR Code for this link: %s"
2478
  msgstr ""
2479
 
2480
- #: pro/pretty-link-pro.php:2110
2481
  msgid "Download QR Code for this link: %s"
2482
  msgstr ""
2483
 
2484
- #: pro/pretty-link-pro.php:2203
2485
  msgid "Double Redirection Enabled"
2486
  msgstr ""
2487
 
2
  # This file is distributed under the same license as the Pretty Link Lite package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Pretty Link Lite 1.6.5\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/pretty-link\n"
7
+ "POT-Creation-Date: 2013-12-09 22:09:36+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
76
  #: pro/classes/views/prlipro-options/form.php:104
77
  #: pro/classes/views/prlipro-options/form.php:137
78
  #: pro/classes/views/prlipro-options/form.php:216
79
+ #: pro/classes/views/prlipro-options/form.php:362 pro/pretty-link-pro.php:1548
80
  #: pro/prlipro-create-public-link-widget.php:68
81
  msgid "None"
82
  msgstr ""
126
  msgid "On"
127
  msgstr ""
128
 
129
+ #: classes/models/PrliClick.php:235 pro/pretty-link-pro.php:170
130
  msgid "Pretty Link:"
131
  msgstr ""
132
 
153
  #: pro/classes/views/prli-reports/custom-report.php:64
154
  #: pro/classes/views/prli-reports/split-test-report.php:31
155
  #: pro/classes/views/prli-reports/split-test-report.php:64
156
+ #: pro/pretty-link-pro.php:169
157
  msgid "Hits"
158
  msgstr ""
159
 
160
+ #: classes/models/PrliLink.php:463
161
  msgid "Target URL can't be blank"
162
  msgstr ""
163
 
164
+ #: classes/models/PrliLink.php:466
165
  msgid "Pretty Link can't be blank"
166
  msgstr ""
167
 
168
+ #: classes/models/PrliLink.php:469
169
  msgid "Target URL must be different than the Pretty Link"
170
  msgstr ""
171
 
172
+ #: classes/models/PrliLink.php:474
173
  msgid "Link URL must be a correctly formatted url"
174
  msgstr ""
175
 
176
+ #: classes/models/PrliLink.php:477
177
  msgid ""
178
  "Pretty Link slugs must not contain question marks, ampersands or number "
179
  "signs."
180
  msgstr ""
181
 
182
+ #: classes/models/PrliLink.php:480
183
  msgid "Pretty Link slugs must not end with a slash (\"/\")"
184
  msgstr ""
185
 
186
+ #: classes/models/PrliLink.php:484
187
  msgid ""
188
  "This Pretty Link Slug is already taken. Check to make sure it isn't being "
189
  "used by another pretty link, post, page, category or tag slug. If none of "
191
  "the root folder of your wordpress install."
192
  msgstr ""
193
 
194
+ #: classes/models/PrliLink.php:487
195
  msgid ""
196
  "If Custom Parameter Forwarding has been selected then you must specify a "
197
  "forwarding format."
198
  msgstr ""
199
 
200
+ #: classes/models/PrliLink.php:490
201
  msgid ""
202
  "Your parameter forwarding must have at least one parameter specified in the "
203
  "format ex: <code>/%var1%/%var_two%/%varname3% ...</code>"
227
  msgstr ""
228
 
229
  #: classes/models/PrliUpdate.php:173 classes/views/shared/errors.php:12
230
+ #: pro/classes/views/prlipro-public/form.php:24
231
  msgid "ERROR"
232
  msgstr ""
233
 
965
  msgid "Bookmarklet:"
966
  msgstr ""
967
 
968
+ #: classes/views/prli-tools/form.php:19 pro/pretty-link-pro.php:1516
969
  msgid "Get PrettyLink"
970
  msgstr ""
971
 
1348
  #: pro/classes/views/prli-reports/custom-report.php:65
1349
  #: pro/classes/views/prli-reports/split-test-report.php:32
1350
  #: pro/classes/views/prli-reports/split-test-report.php:65
1351
+ #: pro/pretty-link-pro.php:169
1352
  msgid "Uniques"
1353
  msgstr ""
1354
 
1887
  msgstr ""
1888
 
1889
  #: pro/classes/views/prlipro-options/form.php:384
1890
+ #: pro/classes/views/prlipro-options/form.php:402 pro/pretty-link-pro.php:194
1891
  msgid "(help)"
1892
  msgstr ""
1893
 
1996
  msgid "home"
1997
  msgstr ""
1998
 
1999
+ #: pro/pretty-link-pro.php:107
2000
  msgid "Hide the Twitter Badge on this post."
2001
  msgstr ""
2002
 
2003
+ #: pro/pretty-link-pro.php:116
2004
  msgid "Hide Social Buttons on this post."
2005
  msgstr ""
2006
 
2007
+ #: pro/pretty-link-pro.php:125
2008
  msgid "Hide Twitter Comments on this post."
2009
  msgstr ""
2010
 
2011
+ #: pro/pretty-link-pro.php:133
2012
  msgid "Disable Keyword Replacements on this post."
2013
  msgstr ""
2014
 
2015
+ #: pro/pretty-link-pro.php:153
2016
  msgid "A Pretty Link will be created on Publish"
2017
  msgstr ""
2018
 
2019
+ #: pro/pretty-link-pro.php:171
2020
  msgid "edit"
2021
  msgstr ""
2022
 
2023
+ #: pro/pretty-link-pro.php:171
2024
  msgid "Visit Pretty Link:"
2025
  msgstr ""
2026
 
2027
+ #: pro/pretty-link-pro.php:171
2028
  msgid "in a New Window"
2029
  msgstr ""
2030
 
2031
+ #: pro/pretty-link-pro.php:171
2032
  msgid "visit"
2033
  msgstr ""
2034
 
2035
+ #: pro/pretty-link-pro.php:185
2036
  msgid "Has already been tweeted"
2037
  msgstr ""
2038
 
2039
+ #: pro/pretty-link-pro.php:187
2040
  msgid "Hasn't been Tweeted yet"
2041
  msgstr ""
2042
 
2043
+ #: pro/pretty-link-pro.php:192
2044
  msgid "Tweet It"
2045
  msgstr ""
2046
 
2047
+ #: pro/pretty-link-pro.php:194
2048
  msgid "Twitter Message Format:"
2049
  msgstr ""
2050
 
2051
+ #: pro/pretty-link-pro.php:196
2052
  msgid "Post to Twitter"
2053
  msgstr ""
2054
 
2055
+ #: pro/pretty-link-pro.php:211
2056
  msgid ""
2057
  "A Pretty Link hasn't been generated for this entry yet. Click \"Update Post"
2058
  "\" to generate."
2059
  msgstr ""
2060
 
2061
+ #: pro/pretty-link-pro.php:228
2062
  msgid "Auto Tweet on Publish"
2063
  msgstr ""
2064
 
2065
+ #: pro/pretty-link-pro.php:228
2066
  msgid "Customize Tweet"
2067
  msgstr ""
2068
 
2069
+ #: pro/pretty-link-pro.php:270
2070
  msgid "ERROR: Your Pretty Link was unable to be created"
2071
  msgstr ""
2072
 
2073
+ #: pro/pretty-link-pro.php:273
2074
  msgid "Unauthorized"
2075
  msgstr ""
2076
 
2077
+ #: pro/pretty-link-pro.php:916
2078
  msgid ""
2079
  "Your URL Replacements must be formatted as a comma separated list of "
2080
  "properly formatted URLs (http[s]://example.com/whatever)"
2081
  msgstr ""
2082
 
2083
+ #: pro/pretty-link-pro.php:936
2084
  msgid "Your Link Rotation Weights must add up to 100%"
2085
  msgstr ""
2086
 
2087
+ #: pro/pretty-link-pro.php:941
2088
  msgid "Delay Redirect must be a number"
2089
  msgstr ""
2090
 
2091
+ #: pro/pretty-link-pro.php:1004
2092
  msgid "This Link Has additional Target URL rotations"
2093
  msgstr ""
2094
 
2095
+ #: pro/pretty-link-pro.php:1244
2096
  msgid "Keywords <code>(PRO)</code>"
2097
  msgstr ""
2098
 
2099
+ #: pro/pretty-link-pro.php:1269
2100
  msgid "Split-Test Report"
2101
  msgstr ""
2102
 
2103
+ #: pro/pretty-link-pro.php:1295
2104
  msgid ""
2105
  "Twitter has changed the way it authenticates users:</strong> Auto-Posting to "
2106
  "Twitter with Pretty Link Pro will not work until you update your <a href="
2108
  "Here</a>"
2109
  msgstr ""
2110
 
2111
+ #: pro/pretty-link-pro.php:1382
2112
  msgid "Pretty Bar Attribution URL must be a correctly formatted URL"
2113
  msgstr ""
2114
 
2115
+ #: pro/pretty-link-pro.php:1403
2116
  msgid "Hide Pretty Bar Attribution Link"
2117
  msgstr ""
2118
 
2119
+ #: pro/pretty-link-pro.php:1404
2120
  msgid "Check this to hide the pretty link attribution link on the pretty bar."
2121
  msgstr ""
2122
 
2123
+ #: pro/pretty-link-pro.php:1404
2124
  msgid ""
2125
  "Wait, before you do this, you might want to leave this un-checked and set "
2126
  "the alternate URL of this link to your <em>Pretty Link Pro</em> <a href="
2128
  "earn a few bucks while you are at it."
2129
  msgstr ""
2130
 
2131
+ #: pro/pretty-link-pro.php:1407
2132
  msgid "Alternate Pretty Bar Attribution URL:"
2133
  msgstr ""
2134
 
2135
+ #: pro/pretty-link-pro.php:1410
2136
  msgid ""
2137
  "If set, this will replace the PrettyBars attribution URL. This is a very "
2138
  "good place to put your <em>Pretty Link Pro</em> <a href=\"http://"
2139
  "prettylinkpro.com/amember/aff_member.php\">Affiliate Link</a>."
2140
  msgstr ""
2141
 
2142
+ #: pro/pretty-link-pro.php:1499
2143
  msgid "End-Point URL:"
2144
  msgstr ""
2145
 
2146
+ #: pro/pretty-link-pro.php:1500
2147
  msgid "This can be used to integrate with your twitter client."
2148
  msgstr ""
2149
 
2150
+ #: pro/pretty-link-pro.php:1503
2151
  msgid "Show TweetDeck Integration Instructions"
2152
  msgstr ""
2153
 
2154
+ #: pro/pretty-link-pro.php:1505 pro/pretty-link-pro.php:1511
2155
  msgid "Follow the"
2156
  msgstr ""
2157
 
2158
+ #: pro/pretty-link-pro.php:1505
2159
  msgid "TweetDeck Custom URL Instructions"
2160
  msgstr ""
2161
 
2162
+ #: pro/pretty-link-pro.php:1505
2163
  msgid " and add the following URL to TweetDeck"
2164
  msgstr ""
2165
 
2166
+ #: pro/pretty-link-pro.php:1509
2167
  msgid "Show Twitter for iPhone Integration Instructions"
2168
  msgstr ""
2169
 
2170
+ #: pro/pretty-link-pro.php:1511
2171
  msgid "Twitter for iPhone Custom URL Instructions"
2172
  msgstr ""
2173
 
2174
+ #: pro/pretty-link-pro.php:1511
2175
  msgid " and add the following URL to Twitter for iPhone"
2176
  msgstr ""
2177
 
2178
+ #: pro/pretty-link-pro.php:1515
2179
  msgid "Custom Bookmarklet (Pro):"
2180
  msgstr ""
2181
 
2182
+ #: pro/pretty-link-pro.php:1517
2183
  msgid ""
2184
  "Alter the options below to customize this Bookmarklet. As you modify the "
2185
  "label, redirect type, tracking and group, you will see this bookmarklet "
2188
  "different settings."
2189
  msgstr ""
2190
 
2191
+ #: pro/pretty-link-pro.php:1518 pro/prlipro-create-public-link-widget.php:44
2192
  msgid "Pretty Link Options"
2193
  msgstr ""
2194
 
2195
+ #: pro/pretty-link-pro.php:1521
2196
  msgid "Label:"
2197
  msgstr ""
2198
 
2199
+ #: pro/pretty-link-pro.php:1526 pro/prlipro-create-public-link-widget.php:46
2200
  msgid "Redirection:"
2201
  msgstr ""
2202
 
2203
+ #: pro/pretty-link-pro.php:1528 pro/pretty-link-pro.php:1539
2204
  #: pro/prlipro-create-public-link-widget.php:48
2205
  #: pro/prlipro-create-public-link-widget.php:59
2206
  msgid "Default"
2207
  msgstr ""
2208
 
2209
+ #: pro/pretty-link-pro.php:1529 pro/prlipro-create-public-link-widget.php:49
2210
  msgid "Permanent/301"
2211
  msgstr ""
2212
 
2213
+ #: pro/pretty-link-pro.php:1530 pro/prlipro-create-public-link-widget.php:50
2214
  msgid "Temporary/307"
2215
  msgstr ""
2216
 
2217
+ #: pro/pretty-link-pro.php:1531 pro/prlipro-create-public-link-widget.php:51
2218
  msgid "PrettyBar"
2219
  msgstr ""
2220
 
2221
+ #: pro/pretty-link-pro.php:1532 pro/pretty-link-pro.php:1785
2222
  #: pro/prlipro-create-public-link-widget.php:52
2223
  msgid "Cloak"
2224
  msgstr ""
2225
 
2226
+ #: pro/pretty-link-pro.php:1537 pro/prlipro-create-public-link-widget.php:57
2227
  msgid "Tracking Enabled:"
2228
  msgstr ""
2229
 
2230
+ #: pro/pretty-link-pro.php:1540 pro/prlipro-create-public-link-widget.php:60
2231
  msgid "Yes"
2232
  msgstr ""
2233
 
2234
+ #: pro/pretty-link-pro.php:1541 pro/prlipro-create-public-link-widget.php:61
2235
  msgid "No"
2236
  msgstr ""
2237
 
2238
+ #: pro/pretty-link-pro.php:1546 pro/prlipro-create-public-link-widget.php:66
2239
  msgid "Group:"
2240
  msgstr ""
2241
 
2242
+ #: pro/pretty-link-pro.php:1634
2243
  msgid "Could not connect to Twitter. Refresh the page or try again later."
2244
  msgstr ""
2245
 
2246
+ #: pro/pretty-link-pro.php:1652 pro/pretty-link-pro.php:1692
2247
  msgid "There was an error saving your Twitter account."
2248
  msgstr ""
2249
 
2250
+ #: pro/pretty-link-pro.php:1688
2251
  msgid "Your Twitter Account was successfully saved."
2252
  msgstr ""
2253
 
2254
+ #: pro/pretty-link-pro.php:1706 pro/pretty-link-pro.php:1784
2255
  msgid "Pretty Bar"
2256
  msgstr ""
2257
 
2258
+ #: pro/pretty-link-pro.php:1707
2259
  msgid "Cloaked"
2260
  msgstr ""
2261
 
2262
+ #: pro/pretty-link-pro.php:1708 pro/pretty-link-pro.php:1786
2263
  msgid "Pixel"
2264
  msgstr ""
2265
 
2266
+ #: pro/pretty-link-pro.php:1709 pro/pretty-link-pro.php:1787
2267
  msgid "Meta Refresh"
2268
  msgstr ""
2269
 
2270
+ #: pro/pretty-link-pro.php:1710 pro/pretty-link-pro.php:1788
2271
  msgid "Javascript"
2272
  msgstr ""
2273
 
2274
+ #: pro/pretty-link-pro.php:1813
2275
  msgid "PrettyBar Options"
2276
  msgstr ""
2277
 
2278
+ #: pro/pretty-link-pro.php:1816
2279
  msgid "Image URL:"
2280
  msgstr ""
2281
 
2282
+ #: pro/pretty-link-pro.php:1819
2283
  msgid ""
2284
  "If set, this will replace the logo image on the PrettyBar. The image that "
2285
  "this URL references should be 48x48 Pixels to fit."
2286
  msgstr ""
2287
 
2288
+ #: pro/pretty-link-pro.php:1823
2289
  msgid "Background Image URL:"
2290
  msgstr ""
2291
 
2292
+ #: pro/pretty-link-pro.php:1826
2293
  msgid ""
2294
  "If set, this will replace the background image on PrettyBar. The image that "
2295
  "this URL references should be 65px tall - this image will be repeated "
2296
  "horizontally across the bar."
2297
  msgstr ""
2298
 
2299
+ #: pro/pretty-link-pro.php:1830
2300
  msgid "Background Color:"
2301
  msgstr ""
2302
 
2303
+ #: pro/pretty-link-pro.php:1833
2304
  msgid ""
2305
  "This will alter the background color of the PrettyBar if you haven't "
2306
  "specified a PrettyBar background image."
2307
  msgstr ""
2308
 
2309
+ #: pro/pretty-link-pro.php:1837
2310
  msgid "Text Color:"
2311
  msgstr ""
2312
 
2313
+ #: pro/pretty-link-pro.php:1840
2314
  msgid ""
2315
  "If not set, this defaults to black (RGB value <code>#000000</code>) but you "
2316
  "can change it to whatever color you like."
2317
  msgstr ""
2318
 
2319
+ #: pro/pretty-link-pro.php:1844
2320
  msgid "Link Color:"
2321
  msgstr ""
2322
 
2323
+ #: pro/pretty-link-pro.php:1847
2324
  msgid ""
2325
  "If not set, this defaults to blue (RGB value <code>#0000ee</code>) but you "
2326
  "can change it to whatever color you like."
2327
  msgstr ""
2328
 
2329
+ #: pro/pretty-link-pro.php:1851
2330
  msgid "Link Hover Color:"
2331
  msgstr ""
2332
 
2333
+ #: pro/pretty-link-pro.php:1854
2334
  msgid ""
2335
  "If not set, this defaults to RGB value <code>#ababab</code> but you can "
2336
  "change it to whatever color you like."
2337
  msgstr ""
2338
 
2339
+ #: pro/pretty-link-pro.php:1858
2340
  msgid "Visited Link Color:"
2341
  msgstr ""
2342
 
2343
+ #: pro/pretty-link-pro.php:1861
2344
  msgid ""
2345
  "If not set, this defaults to RGB value <code>#551a8b</code> but you can "
2346
  "change it to whatever color you like."
2347
  msgstr ""
2348
 
2349
+ #: pro/pretty-link-pro.php:1865
2350
  msgid "Title Char Limit*:"
2351
  msgstr ""
2352
 
2353
+ #: pro/pretty-link-pro.php:1868
2354
  msgid ""
2355
  "If your Website has a long title then you may need to adjust this value so "
2356
  "that it will all fit on the PrettyBar. It is recommended that you keep this "
2358
  "good across different browsers and screen resolutions."
2359
  msgstr ""
2360
 
2361
+ #: pro/pretty-link-pro.php:1872
2362
  msgid "Description Char Limit*:"
2363
  msgstr ""
2364
 
2365
+ #: pro/pretty-link-pro.php:1875
2366
  msgid ""
2367
  "If your Website has a long Description (tagline) then you may need to adjust "
2368
  "this value so that it will all fit on the PrettyBar. It is recommended that "
2370
  "format looks good across different browsers and screen resolutions."
2371
  msgstr ""
2372
 
2373
+ #: pro/pretty-link-pro.php:1879
2374
  msgid "Target URL Char Limit*:"
2375
  msgstr ""
2376
 
2377
+ #: pro/pretty-link-pro.php:1882
2378
  msgid ""
2379
  "If you link to a lot of large Target URLs you may want to adjust this value. "
2380
  "It is recommended that you keep this value to <code>40</code> or below so "
2381
  "the PrettyBar's format looks good across different browsers and URL sizes"
2382
  msgstr ""
2383
 
2384
+ #: pro/pretty-link-pro.php:1887
2385
  msgid "Show Pretty Bar Title"
2386
  msgstr ""
2387
 
2388
+ #: pro/pretty-link-pro.php:1888
2389
  msgid ""
2390
  "Make sure this is checked if you want the title of your blog (and link) to "
2391
  "show up on the PrettyBar."
2392
  msgstr ""
2393
 
2394
+ #: pro/pretty-link-pro.php:1893
2395
  msgid "Show Pretty Bar Description"
2396
  msgstr ""
2397
 
2398
+ #: pro/pretty-link-pro.php:1894
2399
  msgid ""
2400
  "Make sure this is checked if you want your site description to show up on "
2401
  "the PrettyBar."
2402
  msgstr ""
2403
 
2404
+ #: pro/pretty-link-pro.php:1899
2405
  msgid "Show Pretty Bar Share Links"
2406
  msgstr ""
2407
 
2408
+ #: pro/pretty-link-pro.php:1900
2409
  msgid ""
2410
  "Make sure this is checked if you want \"share links\" to show up on the "
2411
  "PrettyBar."
2412
  msgstr ""
2413
 
2414
+ #: pro/pretty-link-pro.php:1905
2415
  msgid "Show Pretty Bar Target URL"
2416
  msgstr ""
2417
 
2418
+ #: pro/pretty-link-pro.php:1906
2419
  msgid ""
2420
  "Make sure this is checked if you want a link displaying the Target URL to "
2421
  "show up on the PrettyBar."
2422
  msgstr ""
2423
 
2424
+ #: pro/pretty-link-pro.php:1936
2425
  msgid "Logo Image URL must be a correctly formatted URL"
2426
  msgstr ""
2427
 
2428
+ #: pro/pretty-link-pro.php:1939
2429
  msgid "Background Image URL must be a correctly formatted URL"
2430
  msgstr ""
2431
 
2432
+ #: pro/pretty-link-pro.php:1942
2433
  msgid "PrettyBar Background Color must be an actual RGB Value"
2434
  msgstr ""
2435
 
2436
+ #: pro/pretty-link-pro.php:1945
2437
  msgid "PrettyBar Text Color must be an actual RGB Value"
2438
  msgstr ""
2439
 
2440
+ #: pro/pretty-link-pro.php:1948
2441
  msgid "PrettyBar Link Color must be an actual RGB Value"
2442
  msgstr ""
2443
 
2444
+ #: pro/pretty-link-pro.php:1951 pro/pretty-link-pro.php:1954
2445
  msgid "PrettyBar Hover Color must be an actual RGB Value"
2446
  msgstr ""
2447
 
2448
+ #: pro/pretty-link-pro.php:1957
2449
  msgid "PrettyBar Title Character Limit must not be blank"
2450
  msgstr ""
2451
 
2452
+ #: pro/pretty-link-pro.php:1960
2453
  msgid "PrettyBar Description Character Limit must not be blank"
2454
  msgstr ""
2455
 
2456
+ #: pro/pretty-link-pro.php:1963
2457
  msgid "PrettyBar Link Character Limit must not be blank"
2458
  msgstr ""
2459
 
2460
+ #: pro/pretty-link-pro.php:1966
2461
  msgid "PrettyBar Title Character Limit must be a number"
2462
  msgstr ""
2463
 
2464
+ #: pro/pretty-link-pro.php:1969
2465
  msgid "PrettyBar Description Character Limit must be a number"
2466
  msgstr ""
2467
 
2468
+ #: pro/pretty-link-pro.php:1972
2469
  msgid "PrettyBar Link Character Limit must be a number"
2470
  msgstr ""
2471
 
2472
+ #: pro/pretty-link-pro.php:2095
2473
  msgid "You are unauthorized to view this resource"
2474
  msgstr ""
2475
 
2476
+ #: pro/pretty-link-pro.php:2125
2477
  msgid "View QR Code for this link: %s"
2478
  msgstr ""
2479
 
2480
+ #: pro/pretty-link-pro.php:2133
2481
  msgid "Download QR Code for this link: %s"
2482
  msgstr ""
2483
 
2484
+ #: pro/pretty-link-pro.php:2226
2485
  msgid "Double Redirection Enabled"
2486
  msgstr ""
2487
 
pretty-link.php CHANGED
@@ -1,47 +1,47 @@
1
- <?php
2
- /*
3
- Plugin Name: Pretty Link Lite
4
- Plugin URI: http://blairwilliams.com/pretty-link
5
- Description: Shrink, track and share any URL on the Internet from your WordPress website!
6
- Version: 1.6.4
7
- Author: Caseproof
8
- Author URI: http://caseproof.com
9
- Text Domain: pretty-link
10
- Copyright: 2004-2012, Caseproof, LLC
11
-
12
- GNU General Public License, Free Software Foundation <http://creativecommons.org/licenses/GPL/2.0/>
13
- This program is free software; you can redistribute it and/or modify
14
- it under the terms of the GNU General Public License as published by
15
- the Free Software Foundation; either version 2 of the License, or
16
- (at your option) any later version.
17
-
18
- This program is distributed in the hope that it will be useful,
19
- but WITHOUT ANY WARRANTY; without even the implied warranty of
20
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
- GNU General Public License for more details.
22
-
23
- You should have received a copy of the GNU General Public License
24
- along with this program; if not, write to the Free Software
25
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
- */
27
- if(!defined('ABSPATH'))
28
- die('You are not allowed to call this page directly.');
29
-
30
- require_once('prli-config.php');
31
- require_once(PRLI_MODELS_PATH . '/models.inc.php');
32
- require_once('prli-api.php'); // load api methods
33
- require_once('prli-xmlrpc.php'); // load xml-rpc api methods
34
-
35
- require_once(PRLI_PATH.'/prli-main.php');
36
-
37
- // Provide Back End Hooks to the Pro version of Pretty Link
38
- if($prli_update->pro_is_installed_and_authorized())
39
- require_once(PRLI_PATH.'/pro/pretty-link-pro.php');
40
-
41
- // i18n
42
- add_action('init', 'prli_load_textdomain');
43
- function prli_load_textdomain()
44
- {
45
- $plugin_dir = basename(dirname(__FILE__));
46
- load_plugin_textdomain('pretty-link', false, $plugin_dir.'/i18n/');
47
- }
1
+ <?php
2
+ /*
3
+ Plugin Name: Pretty Link Lite
4
+ Plugin URI: http://blairwilliams.com/pretty-link
5
+ Description: Shrink, track and share any URL on the Internet from your WordPress website!
6
+ Version: 1.6.5
7
+ Author: Caseproof
8
+ Author URI: http://caseproof.com
9
+ Text Domain: pretty-link
10
+ Copyright: 2004-2012, Caseproof, LLC
11
+
12
+ GNU General Public License, Free Software Foundation <http://creativecommons.org/licenses/GPL/2.0/>
13
+ This program is free software; you can redistribute it and/or modify
14
+ it under the terms of the GNU General Public License as published by
15
+ the Free Software Foundation; either version 2 of the License, or
16
+ (at your option) any later version.
17
+
18
+ This program is distributed in the hope that it will be useful,
19
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
20
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
+ GNU General Public License for more details.
22
+
23
+ You should have received a copy of the GNU General Public License
24
+ along with this program; if not, write to the Free Software
25
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
+ */
27
+ if(!defined('ABSPATH'))
28
+ die('You are not allowed to call this page directly.');
29
+
30
+ require_once('prli-config.php');
31
+ require_once(PRLI_MODELS_PATH . '/models.inc.php');
32
+ require_once('prli-api.php'); // load api methods
33
+ require_once('prli-xmlrpc.php'); // load xml-rpc api methods
34
+
35
+ require_once(PRLI_PATH.'/prli-main.php');
36
+
37
+ // Provide Back End Hooks to the Pro version of Pretty Link
38
+ if($prli_update->pro_is_installed_and_authorized())
39
+ require_once(PRLI_PATH.'/pro/pretty-link-pro.php');
40
+
41
+ // i18n
42
+ add_action('init', 'prli_load_textdomain');
43
+ function prli_load_textdomain()
44
+ {
45
+ $plugin_dir = basename(dirname(__FILE__));
46
+ load_plugin_textdomain('pretty-link', false, $plugin_dir.'/i18n/');
47
+ }
prli-config.php CHANGED
@@ -113,7 +113,7 @@ function setup_edit_vars($groups,$record)
113
  $values['name'] = htmlspecialchars(stripslashes(((isset($_REQUEST['name']) and $record == null)?$_REQUEST['name']:$record->name)));
114
  $values['description'] = htmlspecialchars(stripslashes(((isset($_REQUEST['description']) and $record == null)?$_REQUEST['description']:$record->description)));
115
  $values['track_me'] = (((isset($_REQUEST['track_me']) or $record->track_me) and ((isset($_REQUEST['track_me']) and $_REQUEST['track_me'] == 'on') or $record->track_me == 1))?'checked="true"':'');
116
- $values['nofollow'] = (((isset($_REQUEST['nofollow']) or $record->nofollow) and ($_REQUEST['nofollow'] == 'on' or $record->nofollow == 1))?'checked="true"':'');
117
 
118
  $values['groups'] = array();
119
  foreach($groups as $group)
113
  $values['name'] = htmlspecialchars(stripslashes(((isset($_REQUEST['name']) and $record == null)?$_REQUEST['name']:$record->name)));
114
  $values['description'] = htmlspecialchars(stripslashes(((isset($_REQUEST['description']) and $record == null)?$_REQUEST['description']:$record->description)));
115
  $values['track_me'] = (((isset($_REQUEST['track_me']) or $record->track_me) and ((isset($_REQUEST['track_me']) and $_REQUEST['track_me'] == 'on') or $record->track_me == 1))?'checked="true"':'');
116
+ $values['nofollow'] = (((isset($_REQUEST['nofollow']) and $_REQUEST['nofollow'] == 'on') or (isset($record->nofollow) && $record->nofollow == 1))?'checked="true"':'');
117
 
118
  $values['groups'] = array();
119
  foreach($groups as $group)
prli-main.php CHANGED
@@ -104,7 +104,7 @@ function prli_redirect()
104
  // Remove the trailing slash if there is one
105
  $request_uri = preg_replace('#/$#','',urldecode($_SERVER['REQUEST_URI']));
106
 
107
- if( $link_info =& $prli_link->is_pretty_link($request_uri,false) )
108
  {
109
  $params = (isset($link_info['pretty_link_params'])?$link_info['pretty_link_params']:'');
110
  prli_link_redirect_from_slug( $link_info['pretty_link_found']->slug, $params );
@@ -116,7 +116,7 @@ function prli_link_redirect_from_slug($slug,$param_str)
116
  {
117
  global $prli_link, $prli_utils;
118
 
119
- $link =& $prli_link->getOneFromSlug(urldecode($slug));
120
 
121
  if(isset($link->slug) and !empty($link->slug))
122
  {
104
  // Remove the trailing slash if there is one
105
  $request_uri = preg_replace('#/$#','',urldecode($_SERVER['REQUEST_URI']));
106
 
107
+ if( $link_info = $prli_link->is_pretty_link($request_uri,false) )
108
  {
109
  $params = (isset($link_info['pretty_link_params'])?$link_info['pretty_link_params']:'');
110
  prli_link_redirect_from_slug( $link_info['pretty_link_found']->slug, $params );
116
  {
117
  global $prli_link, $prli_utils;
118
 
119
+ $link = $prli_link->getOneFromSlug(urldecode($slug));
120
 
121
  if(isset($link->slug) and !empty($link->slug))
122
  {
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: supercleanse
3
  Donate link: http://prettylinkpro.com
4
  Tags: links, link, url, urls, affiliate, affiliates, pretty, marketing, redirect, forward, plugin, twitter, tweet, rewrite, shorturl, hoplink, hop, shortlink, short, shorten, click, clicks, track, tracking, tiny, tinyurl, budurl, shrinking, domain, shrink, mask, masking, cloak, cloaking, slug, slugs, admin, administration, stats, statistics, stat, statistic, email, ajax, javascript, ui, csv, download, page, post, pages, posts, shortcode, seo, automation, widget, widgets, dashboard
5
- Requires at least: 3.4
6
- Tested up to: 3.5.1
7
- Stable tag: 1.6.4
8
 
9
  Shrink, beautify, track, manage and share any URL on or off of your WordPress website. Create links that look how you want using your own domain name!
10
 
@@ -66,6 +66,13 @@ http://blairwilliams.com/w7a
66
 
67
  == Changelog ==
68
 
 
 
 
 
 
 
 
69
  = 1.6.4 =
70
  * i18n enhancements
71
  * Small fix to auto tweeting in pro
2
  Contributors: supercleanse
3
  Donate link: http://prettylinkpro.com
4
  Tags: links, link, url, urls, affiliate, affiliates, pretty, marketing, redirect, forward, plugin, twitter, tweet, rewrite, shorturl, hoplink, hop, shortlink, short, shorten, click, clicks, track, tracking, tiny, tinyurl, budurl, shrinking, domain, shrink, mask, masking, cloak, cloaking, slug, slugs, admin, administration, stats, statistics, stat, statistic, email, ajax, javascript, ui, csv, download, page, post, pages, posts, shortcode, seo, automation, widget, widgets, dashboard
5
+ Requires at least: 3.9
6
+ Tested up to: 4.0
7
+ Stable tag: 1.6.5
8
 
9
  Shrink, beautify, track, manage and share any URL on or off of your WordPress website. Create links that look how you want using your own domain name!
10
 
66
 
67
  == Changelog ==
68
 
69
+ = 1.6.5 =
70
+ * Fixed bug with some reports not showing
71
+ * Fixed twitter auto-posting issue
72
+ * Fixed scheduled posts not auto tweeting
73
+ * Upgraded code to work with PHP 5.4+
74
+ * Other minor bug fixes and code improvements
75
+
76
  = 1.6.4 =
77
  * i18n enhancements
78
  * Small fix to auto tweeting in pro