Yandex Metrica - Version 1.4.3

Version Description

  • minor bug fix about HTTP request
Download this release

Release Info

Developer m_uysl
Plugin Icon 128x128 Yandex Metrica
Version 1.4.3
Comparing to
See all releases

Code changes from version 1.4.2 to 1.4.3

Files changed (4) hide show
  1. README.md +4 -1
  2. libs/Yandex_Oauth.php +3 -0
  3. readme.txt +4 -1
  4. yandex-metrica.php +1 -1
README.md CHANGED
@@ -4,7 +4,7 @@ Contributors: m_uysl
4
  Tags: yandex,metrica,stats,statistics,tools,analytics,analytics tool,metrika
5
  Requires at least: 3.0
6
  Tested up to: 4.7
7
- Stable tag: 1.4
8
  License: GPLv2 (or later)
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -63,6 +63,9 @@ Extract the zip file and just drop the contents in the `wp-content/plugins/` dir
63
 
64
  ## Changelog ##
65
 
 
 
 
66
  ### 1.4.2 ###
67
  - minor bug fixes
68
 
4
  Tags: yandex,metrica,stats,statistics,tools,analytics,analytics tool,metrika
5
  Requires at least: 3.0
6
  Tested up to: 4.7
7
+ Stable tag: 1.4.3
8
  License: GPLv2 (or later)
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
63
 
64
  ## Changelog ##
65
 
66
+ ### 1.4.3 ###
67
+ - minor bug fix about HTTP request
68
+
69
  ### 1.4.2 ###
70
  - minor bug fixes
71
 
libs/Yandex_Oauth.php CHANGED
@@ -48,6 +48,9 @@ class Yandex_Oauth {
48
  )
49
  );
50
 
 
 
 
51
 
52
  $http_code = $data["response"]["code"];
53
 
48
  )
49
  );
50
 
51
+ if ( is_wp_error( $data ) ) {
52
+ return false;
53
+ }
54
 
55
  $http_code = $data["response"]["code"];
56
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: m_uysl
4
  Tags: yandex,metrica,stats,statistics,tools,analytics,analytics tool,metrika
5
  Requires at least: 3.0
6
  Tested up to: 4.7
7
- Stable tag: 1.4.2
8
  License: GPLv2 (or later)
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -63,6 +63,9 @@ Extract the zip file and just drop the contents in the `wp-content/plugins/` dir
63
 
64
  == Changelog ==
65
 
 
 
 
66
  = 1.4.2 =
67
  - minor bug fixes
68
 
4
  Tags: yandex,metrica,stats,statistics,tools,analytics,analytics tool,metrika
5
  Requires at least: 3.0
6
  Tested up to: 4.7
7
+ Stable tag: 1.4.3
8
  License: GPLv2 (or later)
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
63
 
64
  == Changelog ==
65
 
66
+ = 1.4.3 =
67
+ - minor bug fix about HTTP request
68
+
69
  = 1.4.2 =
70
  - minor bug fixes
71
 
yandex-metrica.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Yandex Metrica
4
  Plugin URI: http://uysalmustafa.com/plugins/yandex-metrica
5
  Description: Best metrica plugin for the use Yandex Metrica in your WordPress site.
6
  Author: Mustafa Uysal
7
- Version: 1.4.2
8
  Text Domain: yandex-metrica
9
  Domain Path: /languages/
10
  Author URI: http://uysalmustafa.com
4
  Plugin URI: http://uysalmustafa.com/plugins/yandex-metrica
5
  Description: Best metrica plugin for the use Yandex Metrica in your WordPress site.
6
  Author: Mustafa Uysal
7
+ Version: 1.4.3
8
  Text Domain: yandex-metrica
9
  Domain Path: /languages/
10
  Author URI: http://uysalmustafa.com