SEO Redirection Plugin - Version 7.4

Version Description

  • Escaping data
Download this release

Release Info

Developer osamaesh
Plugin Icon 128x128 SEO Redirection Plugin
Version 7.4
Comparing to
See all releases

Code changes from version 7.3 to 7.4

common/controls/cf_dropdown.php CHANGED
@@ -66,7 +66,7 @@ function add($name,$value)
66
  public function dropdown_print()
67
  {
68
  ?>
69
- <select size='1' name='<?php esc_attr_e($this->name);?>' <?php if($this->onchange != ''){?> onchange='<?php echo $this->onchange;?>' <?php } ?> id='<?php esc_attr_e($this->name);?>'>
70
  <?php
71
  foreach($this->options as $options){
72
  ?>
66
  public function dropdown_print()
67
  {
68
  ?>
69
+ <select size='1' name='<?php esc_attr_e($this->name);?>' <?php if($this->onchange != ''){?> onchange='<?php echo esc_attr_e($this->onchange);?>' <?php } ?> id='<?php esc_attr_e($this->name);?>'>
70
  <?php
71
  foreach($this->options as $options){
72
  ?>
options/help.php CHANGED
@@ -2,7 +2,7 @@
2
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
  $imgpath= $util->get_plugin_url().'custom/images/';
4
  ?>
5
- <h2><img height="30px" src="<?php echo $imgpath ?>help-icon.png">&nbsp;<?php _e("Help Center","wsr") ?>;</h2>
6
  <hr/>
7
  <div class="row">
8
  <div class="col-sm-12">
2
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
  $imgpath= $util->get_plugin_url().'custom/images/';
4
  ?>
5
+ <h2><img height="30px" src="<?php echo esc_url($imgpath) ?>help-icon.png">&nbsp;<?php _e("Help Center","wsr") ?>;</h2>
6
  <hr/>
7
  <div class="row">
8
  <div class="col-sm-12">
options/option_page_404.php CHANGED
@@ -42,16 +42,26 @@ if($util->get_option_value('p404_discovery_status')!='1')
42
  $util->info_option_msg("404 error pages discovery property is disabled now!, you can re-enable it from options tab.");
43
 
44
 
 
 
 
45
  ?>
46
 
47
  <script type="text/javascript">
48
 
49
  //---------------------------------------------------------
50
 
 
 
 
 
 
 
 
51
  function go_search(){
52
  var sword = document.getElementById('search').value;
53
  if(sword!=''){
54
- var link = "<?php echo $util->WPSR_get_current_parameters(array('del','search','page_num','add','edit'));?>&search=" + sword;
55
  window.location = link ;
56
  }else
57
  {
@@ -61,10 +71,14 @@ var sword = document.getElementById('search').value;
61
 
62
  }
63
 
64
- function go_del(){
 
 
65
 
66
  if (confirm('Are you sure you want to delete all 404 links?')) {
67
- window.location = "<?php echo $util->WPSR_get_current_parameters(array('del','search','page_num','add','edit'));?>&do_404_del=" + document.getElementById('del_404_option').value;
 
 
68
  }
69
  }
70
 
@@ -79,7 +93,7 @@ function go_del(){
79
  <td align="left">
80
  <input onkeyup="if (event.keyCode == 13) go_search();" style="height: 30px;" id="search" type="text" name="search" value="<?php echo htmlentities($util->get('search'))?>" size="40">
81
  <a onclick="go_search()" href="#"><div class="search_link">Search</div></a>
82
- <a href="<?php echo $util->WPSR_get_current_parameters('search')?>"><div class="see_link">Show All</div></a>
83
  </td>
84
  <td align="right">
85
  <select data-size="5" class="selectpicker" name="del_404_option" id="del_404_option">
42
  $util->info_option_msg("404 error pages discovery property is disabled now!, you can re-enable it from options tab.");
43
 
44
 
45
+
46
+ $WPSR_get_current_parameters_ = $util->WPSR_get_current_parameters(array('del','search','page_num','add','edit'));
47
+
48
  ?>
49
 
50
  <script type="text/javascript">
51
 
52
  //---------------------------------------------------------
53
 
54
+ function decodeHtmlCharCodes(str) {
55
+ return str.replace(/(&#(\d+);)/g, function(match, capture, charCode) {
56
+ return String.fromCharCode(charCode);
57
+ });
58
+ }
59
+
60
+
61
  function go_search(){
62
  var sword = document.getElementById('search').value;
63
  if(sword!=''){
64
+ var link = decodeHtmlCharCodes("<?php echo sprintf('%s', $WPSR_get_current_parameters_);?>")+"&search=" + sword;
65
  window.location = link ;
66
  }else
67
  {
71
 
72
  }
73
 
74
+
75
+ function go_del()
76
+ {
77
 
78
  if (confirm('Are you sure you want to delete all 404 links?')) {
79
+ var goto_url = decodeHtmlCharCodes("<?php echo sprintf('%s', $WPSR_get_current_parameters_);?>");
80
+
81
+ window.location = goto_url+"&do_404_del=" + document.getElementById('del_404_option').value;
82
  }
83
  }
84
 
93
  <td align="left">
94
  <input onkeyup="if (event.keyCode == 13) go_search();" style="height: 30px;" id="search" type="text" name="search" value="<?php echo htmlentities($util->get('search'))?>" size="40">
95
  <a onclick="go_search()" href="#"><div class="search_link">Search</div></a>
96
+ <a href="<?php echo esc_url($util->WPSR_get_current_parameters('search'));?>"><div class="see_link">Show All</div></a>
97
  </td>
98
  <td align="right">
99
  <select data-size="5" class="selectpicker" name="del_404_option" id="del_404_option">
options/option_page_custome_redirection_list.php CHANGED
@@ -73,7 +73,8 @@ isset($_REQUEST['tab']) ? $url_op = WPSR_sanitize_text_or_array_field($_REQUEST[
73
  var sword = document.getElementById('search').value;
74
  if (sword != '') {
75
 
76
- var url = "<?php echo $rlink . '&tab=' . $url_op ?>&search=" + sword;
 
77
  url = decodeURIComponent(url);
78
 
79
 
@@ -96,7 +97,7 @@ isset($_REQUEST['tab']) ? $url_op = WPSR_sanitize_text_or_array_field($_REQUEST[
96
  </div>
97
  <div class="modal-body">
98
 
99
- <form onsubmit="return check_from();" method="POST" id="myform" action="<?php echo $util->WPSR_get_current_parameters(array('add', 'edit', 'page404')); ?>">
100
  <table class="cform" width="100%">
101
  <tr>
102
  <td class="label"><?php _e('Redirect status:', 'wsr') ?></td>
@@ -117,7 +118,7 @@ isset($_REQUEST['tab']) ? $url_op = WPSR_sanitize_text_or_array_field($_REQUEST[
117
  <option value="Folder"><?php _e('Folder', 'wsr') ?></option>
118
  <option value="Regex"><?php _e('Regex', 'wsr') ?></option>
119
  </select>
120
- <input onblur="check_redirect_from_all()" type="text" id="redirect_from" style="height: 40px;" placeholder="<?php _e("Redirect from", 'wsr') ?>" name="redirect_from" size="45" value="<?php echo $redirect_from; ?>">
121
  <span class="help-block"></span>
122
  <select onchange="redirect_to_folder_settings_change()" size="1" name="redirect_from_folder_settings" id="redirect_from_folder_settings">
123
  <option value="1"><?php _e('Only the folder', 'wsr') ?></option>
@@ -132,7 +133,7 @@ isset($_REQUEST['tab']) ? $url_op = WPSR_sanitize_text_or_array_field($_REQUEST[
132
 
133
 
134
  </div>
135
- <?php if ($util->get('page404') != '') echo $redirect_from; ?>
136
  </td>
137
  </tr>
138
  <tr>
@@ -143,7 +144,7 @@ isset($_REQUEST['tab']) ? $url_op = WPSR_sanitize_text_or_array_field($_REQUEST[
143
  <option value="Folder"><?php _e("Folder", 'wsr') ?></option>
144
  </select>
145
 
146
- <input onblur="check_redirect_to()" type="text" id="redirect_to" placeholder="<?php _e("Redirect to", 'wsr') ?>" class="regular-text" style="height: 40px;" name="redirect_to" size="45" value="<?php echo $redirect_to ?>">
147
  <span class="help-block"></span>
148
  <select size="1" name="redirect_to_folder_settings" id="redirect_to_folder_settings">
149
  <option value="1"><?php _e("Normal", 'wsr') ?></option>
@@ -160,33 +161,33 @@ isset($_REQUEST['tab']) ? $url_op = WPSR_sanitize_text_or_array_field($_REQUEST[
160
  <option value="307"><?php _e("307", 'wsr') ?></option>
161
  </select>
162
  <script type="text/javascript">
163
- <?php
164
- if (isset($redirect_type) && $redirect_type != '')
165
- echo "document.getElementById('redirect_type').value='$redirect_type';";
166
 
167
- if (isset($redirect_from_type) && $redirect_from_type != '')
168
- echo "document.getElementById('redirect_from_type').value='$redirect_from_type';";
169
 
170
- if (isset($redirect_from_folder_settings) && $redirect_from_type == 'Folder')
171
- echo "document.getElementById('redirect_from_folder_settings').value='$redirect_from_folder_settings';";
172
 
173
- if (isset($redirect_from_subfolders) && $redirect_from_type == 'Folder')
174
- echo "document.getElementById('redirect_from_subfolders').value='$redirect_from_subfolders';";
175
 
176
- if (isset($redirect_to_type) && $redirect_to_type != '')
177
- echo "document.getElementById('redirect_to_type').value='$redirect_to_type';";
178
 
179
- if (isset($redirect_to_folder_settings) && $redirect_to_type == 'Folder')
180
- echo "document.getElementById('redirect_to_folder_settings').value='$redirect_to_folder_settings';";
181
 
182
- if (isset($enabled) && $enabled != '')
183
- echo "document.getElementById('enabled').value='$enabled';";
184
 
185
 
186
- if ($util->get('page404') != '')
187
- echo "document.getElementById('rfrom_div').style.display = 'none';";
188
- ?>
189
- </script>
190
  </td>
191
  </tr>
192
  </table>
@@ -308,18 +309,18 @@ $url .= isset($_REQUEST['tab']) ? '&tab='.sanitize_text_field($_REQUEST['tab'])
308
 
309
  if(isset($_REQUEST['sort']) && $_REQUEST['sort'] =='asc')
310
  {
311
- $grid->add_data_col('hits','<a class="hit" href="'.$url.'&type=hits&sort=desc" data-sort="desc">Hits</a>');
312
- $grid->add_data_col('access_date','<a href="'.$url.'&type=dt&sort=desc" class="hit" data-sort="desc">Last Access</a>');
313
  }
314
  else if(isset($_REQUEST['sort']) && $_REQUEST['sort'] =='desc')
315
  {
316
- $grid->add_data_col('hits','<a class="hit" href="'.$url.'&type=hits&sort=asc" data-sort="asc">Hits</a>');
317
- $grid->add_data_col('access_date','<a href="'.$url.'&type=dt&sort=asc" class="dt" data-sort="asc">Last Access</a>');
318
  }
319
  else
320
  {
321
- $grid->add_data_col('hits','<a class="hit" href="'.$url.'&type=hits&sort=asc" data-sort="asc">Hits</a>');
322
- $grid->add_data_col('access_date','<a href="'.$url.'&type=dt&sort=asc" class="dt" data-sort="asc">Last Access</a>');
323
  }
324
 
325
  $grid->add_template_col('del', $util->WPSR_get_current_parameters('del') . '&del={db_ID}', __('Actions', 'wsr'));
@@ -328,7 +329,5 @@ $grid->run();
328
  ?>
329
  <?php
330
  echo '<input class="button-primary" id="btnDelete" type="submit" value="' . __("Delete", "wsr") . '" onclick="return delete_function()">';
331
- ?>
332
-
333
-
334
  </form>
73
  var sword = document.getElementById('search').value;
74
  if (sword != '') {
75
 
76
+
77
+ var url = "<?php echo sprintf('%s&tab=%s', esc_url($rlink),esc_html($url_op)); ?>&search=" + sword;
78
  url = decodeURIComponent(url);
79
 
80
 
97
  </div>
98
  <div class="modal-body">
99
 
100
+ <form onsubmit="return check_from();" method="POST" id="myform" action="<?php echo esc_attr($util->WPSR_get_current_parameters(array('add', 'edit', 'page404'))); ?>">
101
  <table class="cform" width="100%">
102
  <tr>
103
  <td class="label"><?php _e('Redirect status:', 'wsr') ?></td>
118
  <option value="Folder"><?php _e('Folder', 'wsr') ?></option>
119
  <option value="Regex"><?php _e('Regex', 'wsr') ?></option>
120
  </select>
121
+ <input onblur="check_redirect_from_all()" type="text" id="redirect_from" style="height: 40px;" placeholder="<?php _e("Redirect from", 'wsr') ?>" name="redirect_from" size="45" value="<?php echo esc_attr($redirect_from); ?>">
122
  <span class="help-block"></span>
123
  <select onchange="redirect_to_folder_settings_change()" size="1" name="redirect_from_folder_settings" id="redirect_from_folder_settings">
124
  <option value="1"><?php _e('Only the folder', 'wsr') ?></option>
133
 
134
 
135
  </div>
136
+ <?php if ($util->get('page404') != '') echo esc_html($redirect_from); ?>
137
  </td>
138
  </tr>
139
  <tr>
144
  <option value="Folder"><?php _e("Folder", 'wsr') ?></option>
145
  </select>
146
 
147
+ <input onblur="check_redirect_to()" type="text" id="redirect_to" placeholder="<?php _e("Redirect to", 'wsr') ?>" class="regular-text" style="height: 40px;" name="redirect_to" size="45" value="<?php echo esc_attr($redirect_to); ?>">
148
  <span class="help-block"></span>
149
  <select size="1" name="redirect_to_folder_settings" id="redirect_to_folder_settings">
150
  <option value="1"><?php _e("Normal", 'wsr') ?></option>
161
  <option value="307"><?php _e("307", 'wsr') ?></option>
162
  </select>
163
  <script type="text/javascript">
164
+ <?php
165
+ if (isset($redirect_type) && $redirect_type != '')
166
+ echo "document.getElementById('redirect_type').value='".esc_attr($redirect_type)."';";
167
 
168
+ if (isset($redirect_from_type) && $redirect_from_type != '')
169
+ echo "document.getElementById('redirect_from_type').value='".esc_attr($redirect_from_type)."';";
170
 
171
+ if (isset($redirect_from_folder_settings) && $redirect_from_type == 'Folder')
172
+ echo "document.getElementById('redirect_from_folder_settings').value='".esc_attr($redirect_from_folder_settings)."';";
173
 
174
+ if (isset($redirect_from_subfolders) && $redirect_from_type == 'Folder')
175
+ echo "document.getElementById('redirect_from_subfolders').value='".esc_attr($redirect_from_subfolders)."';";
176
 
177
+ if (isset($redirect_to_type) && $redirect_to_type != '')
178
+ echo "document.getElementById('redirect_to_type').value='".esc_attr($redirect_to_type)."';";
179
 
180
+ if (isset($redirect_to_folder_settings) && $redirect_to_type == 'Folder')
181
+ echo "document.getElementById('redirect_to_folder_settings').value='".esc_attr($redirect_to_folder_settings)."';";
182
 
183
+ if (isset($enabled) && $enabled != '')
184
+ echo "document.getElementById('enabled').value='".esc_attr($enabled)."';";
185
 
186
 
187
+ if ($util->get('page404') != '')
188
+ echo "document.getElementById('rfrom_div').style.display = 'none';";
189
+ ?>
190
+ </script>
191
  </td>
192
  </tr>
193
  </table>
309
 
310
  if(isset($_REQUEST['sort']) && $_REQUEST['sort'] =='asc')
311
  {
312
+ $grid->add_data_col('hits','<a class="hit" href="'.esc_url($url).'&type=hits&sort=desc" data-sort="desc">Hits</a>');
313
+ $grid->add_data_col('access_date','<a href="'.esc_url($url).'&type=dt&sort=desc" class="hit" data-sort="desc">Last Access</a>');
314
  }
315
  else if(isset($_REQUEST['sort']) && $_REQUEST['sort'] =='desc')
316
  {
317
+ $grid->add_data_col('hits','<a class="hit" href="'.esc_url($url).'&type=hits&sort=asc" data-sort="asc">Hits</a>');
318
+ $grid->add_data_col('access_date','<a href="'.esc_url($url).'&type=dt&sort=asc" class="dt" data-sort="asc">Last Access</a>');
319
  }
320
  else
321
  {
322
+ $grid->add_data_col('hits','<a class="hit" href="'.esc_url($url).'&type=hits&sort=asc" data-sort="asc">Hits</a>');
323
+ $grid->add_data_col('access_date','<a href="'.esc_url($url).'&type=dt&sort=asc" class="dt" data-sort="asc">Last Access</a>');
324
  }
325
 
326
  $grid->add_template_col('del', $util->WPSR_get_current_parameters('del') . '&del={db_ID}', __('Actions', 'wsr'));
329
  ?>
330
  <?php
331
  echo '<input class="button-primary" id="btnDelete" type="submit" value="' . __("Delete", "wsr") . '" onclick="return delete_function()">';
332
+ ?>
 
 
333
  </form>
options/option_page_goptions.php CHANGED
@@ -192,7 +192,7 @@ $options= $util->get_my_options();
192
  </td></tr>
193
 
194
  <tr><td>
195
- Redirect All Unknown 404 Pages to: <input type="text" name="redirect_to" id="redirect_to" size="30" value="<?php echo $options['p404_redirect_to']?>">
196
  </td></tr>
197
 
198
  </table>
192
  </td></tr>
193
 
194
  <tr><td>
195
+ Redirect All Unknown 404 Pages to: <input type="text" name="redirect_to" id="redirect_to" size="30" value="<?php echo esc_attr_e($options['p404_redirect_to'])?>">
196
  </td></tr>
197
 
198
  </table>
options/option_page_history.php CHANGED
@@ -38,11 +38,11 @@ var sword = document.getElementById('search').value;
38
  <div class="link_buttons">
39
  <table border="0" width="100%">
40
  <tr>
41
- <td width="150"><a href="<?php echo $rlink?>&del=all" class="button"><span style="padding-top: 3px;" class="dashicons dashicons-trash"></span>&nbsp;<?php _e("Clear History","wsr"); ?></a></td>
42
  <td align="right">
43
  <input onkeyup="if (event.keyCode == 13) go_search();" style="height: 30px;" id="search" type="text" name="search" value="<?php echo htmlentities($util->get('search'),ENT_QUOTES)?>" size="30">
44
  <a onclick="go_search()" href="#" class="button"><span style="padding-top: 3px;" class="dashicons dashicons-search"></span>&nbsp;<?php _e("Search","wsr"); ?></a>
45
- <a href="<?php echo $util->WPSR_get_current_parameters('search')?>" class="button"><span style="padding-top: 3px;" class="dashicons dashicons-screenoptions"></span>&nbsp;<?php _e("Show All","wsr"); ?></a>
46
  </td>
47
  </tr>
48
  </table>
38
  <div class="link_buttons">
39
  <table border="0" width="100%">
40
  <tr>
41
+ <td width="150"><a href="<?php echo esc_url($rlink)?>&del=all" class="button"><span style="padding-top: 3px;" class="dashicons dashicons-trash"></span>&nbsp;<?php _e("Clear History","wsr"); ?></a></td>
42
  <td align="right">
43
  <input onkeyup="if (event.keyCode == 13) go_search();" style="height: 30px;" id="search" type="text" name="search" value="<?php echo htmlentities($util->get('search'),ENT_QUOTES)?>" size="30">
44
  <a onclick="go_search()" href="#" class="button"><span style="padding-top: 3px;" class="dashicons dashicons-search"></span>&nbsp;<?php _e("Search","wsr"); ?></a>
45
+ <a href="<?php echo esc_url($util->WPSR_get_current_parameters('search'))?>" class="button"><span style="padding-top: 3px;" class="dashicons dashicons-screenoptions"></span>&nbsp;<?php _e("Show All","wsr"); ?></a>
46
  </td>
47
  </tr>
48
  </table>
options/option_page_post_redirection_list.php CHANGED
@@ -33,7 +33,7 @@ isset($_REQUEST['tab'])?$url_op= sanitize_text_field($_REQUEST['tab']) :$url_op=
33
  var sword = document.getElementById('search').value;
34
  if(sword!=''){
35
 
36
- var url= "<?php echo $rlink.'&tab='.$url_op?>&search=" + sword;
37
  url=decodeURIComponent(url);
38
 
39
  window.location =url;
33
  var sword = document.getElementById('search').value;
34
  if(sword!=''){
35
 
36
+ var url= "sprintf('%s&tab=%s', esc_url($rlink),esc_html($url_op)); ?>&search=" + sword;
37
  url=decodeURIComponent(url);
38
 
39
  window.location =url;
options/premium.php CHANGED
@@ -27,12 +27,12 @@ $imgpath= $util->get_plugin_url().'custom/images/';
27
 
28
  <p style="text-align: center"><font size="5"><a href="http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin?src=freeversiom" target="_blank"><?php _e("Click Here for Pricing & Review","wsr") ?></a></font></p>
29
 
30
- <p style="text-align: center"><a href="http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin?src=freeversiom" target="_blank"><img src="<?php echo $imgpath ?>redirect_manager_intro.png"></a></p>
31
- <p style="text-align: center"><a href="http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin?src=freeversiom" target="_blank"><img src="<?php echo $imgpath ?>404_manager.png"></a></p>
32
- <p style="text-align: center"><a href="http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin?src=freeversiom" target="_blank"><img src="<?php echo $imgpath ?>import_export.png"></a></p>
33
- <p style="text-align: center"><a href="http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin?src=freeversiom" target="_blank"><img src="<?php echo $imgpath ?>control_panel.png"></a></p>
34
- <p style="text-align: center"><a href="http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin?src=freeversiom" target="_blank"><img src="<?php echo $imgpath ?>help_center.png"></a></p>
35
- <p style="text-align: center"><a href="http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin?src=freeversiom" target="_blank"><img src="<?php echo $imgpath ?>other_features.png"></a></p>
36
- <p style="text-align: center"><a href="http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin?src=freeversiom" target="_blank"><img src="<?php echo $imgpath ?>circles.png"></a></p>
37
 
38
  <p style="text-align: center"><font size="5"><a href="http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin?src=freeversiom" target="_blank"><?php _e("Click Here for Pricing & Review","wsr") ?></a></font></p>
27
 
28
  <p style="text-align: center"><font size="5"><a href="http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin?src=freeversiom" target="_blank"><?php _e("Click Here for Pricing & Review","wsr") ?></a></font></p>
29
 
30
+ <p style="text-align: center"><a href="http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin?src=freeversiom" target="_blank"><img src="<?php echo esc_url($imgpath) ?>redirect_manager_intro.png"></a></p>
31
+ <p style="text-align: center"><a href="http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin?src=freeversiom" target="_blank"><img src="<?php echo esc_url($imgpath) ?>404_manager.png"></a></p>
32
+ <p style="text-align: center"><a href="http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin?src=freeversiom" target="_blank"><img src="<?php echo esc_url($imgpath) ?>import_export.png"></a></p>
33
+ <p style="text-align: center"><a href="http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin?src=freeversiom" target="_blank"><img src="<?php echo esc_url($imgpath) ?>control_panel.png"></a></p>
34
+ <p style="text-align: center"><a href="http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin?src=freeversiom" target="_blank"><img src="<?php echo esc_url($imgpath) ?>help_center.png"></a></p>
35
+ <p style="text-align: center"><a href="http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin?src=freeversiom" target="_blank"><img src="<?php echo esc_url($imgpath) ?>other_features.png"></a></p>
36
+ <p style="text-align: center"><a href="http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin?src=freeversiom" target="_blank"><img src="<?php echo esc_url($imgpath) ?>circles.png"></a></p>
37
 
38
  <p style="text-align: center"><font size="5"><a href="http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin?src=freeversiom" target="_blank"><?php _e("Click Here for Pricing & Review","wsr") ?></a></font></p>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.clogica.com/donations.htm
4
  Tags: post, admin, seo, pages, manage, 301, 404, soft 404, redirect, permalink, redirection, redirection, https, automatic redirection, htaccess, ssl, https redirection, ssl certificate, secure page, secure, force ssl, force https, seo redirection, post redirect, 404 to 301
5
  Requires at least: 4.1
6
  Tested up to: 5.8
7
- Stable tag: 7.3
8
 
9
  SEO Redirection is a powerful redirect manager to manage 301 redirects without requiring knowledge of Apache .htaccess files.
10
 
@@ -74,6 +74,9 @@ Yes, here is the plugin full knowledge base http://www.clogica.com/kb/
74
 
75
  == Upgrade Notice ==
76
 
 
 
 
77
 
78
  = 7.3 =
79
  * Bug fixing (solving datatable issues)
4
  Tags: post, admin, seo, pages, manage, 301, 404, soft 404, redirect, permalink, redirection, redirection, https, automatic redirection, htaccess, ssl, https redirection, ssl certificate, secure page, secure, force ssl, force https, seo redirection, post redirect, 404 to 301
5
  Requires at least: 4.1
6
  Tested up to: 5.8
7
+ Stable tag: 7.4
8
 
9
  SEO Redirection is a powerful redirect manager to manage 301 redirects without requiring knowledge of Apache .htaccess files.
10
 
74
 
75
  == Upgrade Notice ==
76
 
77
+ = 7.4 =
78
+ * Escaping data
79
+
80
 
81
  = 7.3 =
82
  * Bug fixing (solving datatable issues)
seo-redirection.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: SEO Redirection
4
  Plugin URI: http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin
5
  Description: By this plugin you can manage all your website redirection types easily.
6
  Author: Fakhri Alsadi
7
- Version: 7.3
8
  Author URI: http://www.clogica.com
9
  Text Domain: wsr
10
  */
@@ -905,7 +905,8 @@ function WPSR_options_menu()
905
 
906
  echo '<div class="wrap"><h2>' . __("SEO Redirection Free", 'wsr') . '</h2><b>' . __('Upgrade to', 'wsr') . ' <a target="_blank" onclick="swal.clickConfirm();" href="http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin">' . __("Pro Version", "wsr") . '</a>' . __(" to manage 404 errors and empower your site SEO", "wsr") . '&nbsp;&nbsp;&nbsp;<strong style="color:yellow; background-color:red; padding:3px;"> ' . __("NOW 50% OFF ", 'wsr') . '</strong></b><br/><br/>';
907
 
908
- if ($total_404_errors != '') {
 
909
  ?>
910
  <script type="text/javascript">
911
 
@@ -914,7 +915,7 @@ function WPSR_options_menu()
914
  </script>
915
 
916
  <?php
917
- }
918
 
919
  if (is_multisite()) {
920
 
@@ -1358,7 +1359,7 @@ function WPSR_import_popup_in_footer()
1358
  <h3 class="text-center"><?php echo __('Total ','wsr').$total.__(' redirects from redirection plugin','wsr'); ?></h3>
1359
  </div>
1360
  <div class="modal-footer">
1361
- <input class="button-primary" id="btnImport" type="button" value="Import It" onclick="return import_function(<?php echo $total_org; ?>,0)">
1362
  <input type="hidden" id="_wpnonce" name="_wpnonce" value="<?php echo $nonce = wp_create_nonce('seoredirection_import'); ?>" />
1363
  <input data-dismiss="modal" aria-label="Close" class="button-primary " type="button" value="Cancel" name="cancel">
1364
  </div>
4
  Plugin URI: http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin
5
  Description: By this plugin you can manage all your website redirection types easily.
6
  Author: Fakhri Alsadi
7
+ Version: 7.4
8
  Author URI: http://www.clogica.com
9
  Text Domain: wsr
10
  */
905
 
906
  echo '<div class="wrap"><h2>' . __("SEO Redirection Free", 'wsr') . '</h2><b>' . __('Upgrade to', 'wsr') . ' <a target="_blank" onclick="swal.clickConfirm();" href="http://www.clogica.com/product/seo-redirection-premium-wordpress-plugin">' . __("Pro Version", "wsr") . '</a>' . __(" to manage 404 errors and empower your site SEO", "wsr") . '&nbsp;&nbsp;&nbsp;<strong style="color:yellow; background-color:red; padding:3px;"> ' . __("NOW 50% OFF ", 'wsr') . '</strong></b><br/><br/>';
907
 
908
+ /*if ($total_404_errors != '') {
909
+
910
  ?>
911
  <script type="text/javascript">
912
 
915
  </script>
916
 
917
  <?php
918
+ }*/
919
 
920
  if (is_multisite()) {
921
 
1359
  <h3 class="text-center"><?php echo __('Total ','wsr').$total.__(' redirects from redirection plugin','wsr'); ?></h3>
1360
  </div>
1361
  <div class="modal-footer">
1362
+ <input class="button-primary" id="btnImport" type="button" value="Import It" onclick="return import_function(<?php echo esc_attr($total_org); ?>,0)">
1363
  <input type="hidden" id="_wpnonce" name="_wpnonce" value="<?php echo $nonce = wp_create_nonce('seoredirection_import'); ?>" />
1364
  <input data-dismiss="modal" aria-label="Close" class="button-primary " type="button" value="Cancel" name="cancel">
1365
  </div>