Translate WordPress with GTranslate - Version 1.0.6

Version Description

  • Bug fixed: magic_quotes_gpc problem
Download this release

Release Info

Developer edo888
Plugin Icon 128x128 Translate WordPress with GTranslate
Version 1.0.6
Comparing to
See all releases

Code changes from version 1.0.5 to 1.0.6

Files changed (2) hide show
  1. gtranslate.php +2 -5
  2. readme.txt +5 -2
gtranslate.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: GTranslate
4
  Plugin URI: http://edo.webmaster.am/gtranslate
5
  Description: Get translations with a single click between 58 languages (more than 98% of internet users) on your website!
6
- Version: 1.0.5
7
  Author: Edvard Ananyan
8
  Author URI: http://edo.webmaster.am
9
 
@@ -524,10 +524,7 @@ EOT;
524
  $data['add_new_line'] = $_POST['add_new_line'];
525
  $data['show_dropdown'] = $_POST['show_dropdown'];
526
 
527
- if(get_magic_quotes_gpc())
528
- $data['widget_code'] = stripslashes($_POST['widget_code']);
529
- else
530
- $data['widget_code'] = $_POST['widget_code'];
531
 
532
  echo '<p style="color:red;">Changes Saved</p>';
533
  update_option('GTranslate', $data);
3
  Plugin Name: GTranslate
4
  Plugin URI: http://edo.webmaster.am/gtranslate
5
  Description: Get translations with a single click between 58 languages (more than 98% of internet users) on your website!
6
+ Version: 1.0.6
7
  Author: Edvard Ananyan
8
  Author URI: http://edo.webmaster.am
9
 
524
  $data['add_new_line'] = $_POST['add_new_line'];
525
  $data['show_dropdown'] = $_POST['show_dropdown'];
526
 
527
+ $data['widget_code'] = stripslashes($_POST['widget_code']);
 
 
 
528
 
529
  echo '<p style="color:red;">Changes Saved</p>';
530
  update_option('GTranslate', $data);
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://edo.webmaster.am/gtranslate
5
  Tags: widget, plugin, sidebar, google, translate, translation, automatic translator, google translate, ajax translator, jquery translator
6
  Requires at least: 2.3
7
  Tested up to: 3.0
8
- Stable tag: 1.0.5
9
 
10
  Get translations with a single click between 58 languages (more than 98% of internet users) on your website!
11
 
@@ -59,4 +59,7 @@ It's a Google translation, hence Google quality.
59
  * Minor changes
60
 
61
  = 1.0.5 =
62
- * Bug fixed: settings save problem
 
 
 
5
  Tags: widget, plugin, sidebar, google, translate, translation, automatic translator, google translate, ajax translator, jquery translator
6
  Requires at least: 2.3
7
  Tested up to: 3.0
8
+ Stable tag: 1.0.6
9
 
10
  Get translations with a single click between 58 languages (more than 98% of internet users) on your website!
11
 
59
  * Minor changes
60
 
61
  = 1.0.5 =
62
+ * Bug fixed: settings save problem
63
+
64
+ = 1.0.6 =
65
+ * Bug fixed: magic_quotes_gpc problem