Uptolike Social Share Buttons - Version 1.5.6

Version Description

  • .
Download this release

Release Info

Developer na1vez
Plugin Icon 128x128 Uptolike Social Share Buttons
Version 1.5.6
Comparing to
See all releases

Code changes from version 1.5.5 to 1.5.6

Files changed (3) hide show
  1. readme.txt +4 -1
  2. uptolike_share_widget.php +1 -1
  3. widget_options.php +6 -2
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Uptolike Team
3
  Tags: +1, UpToLike, AddThis, social buttons, bookmark, bookmarking, like, share, share button, sharing, social bookmarking, social bookmarks, кнопки соцсетей, социальные кнопки
4
  Requires at least: 3.0.1
5
  Tested up to: 4.7
6
- Stable tag: 1.5.5
7
 
8
  Uptolike Social Share Buttons - social bookmarking widget with sharing statistics.
9
 
@@ -107,6 +107,9 @@ Answers to Frequently Asked Questions you can find at http://uptolike.ru/faq
107
  3. Traffic and sharing statistics
108
 
109
  == Changelog ==
 
 
 
110
  = 1.5.5 =
111
  * Исправлен вывод UpToLike для страниц записей и статических страниц
112
  * Добавлено удаление лишних пробелов в поле email на странице статистики
3
  Tags: +1, UpToLike, AddThis, social buttons, bookmark, bookmarking, like, share, share button, sharing, social bookmarking, social bookmarks, кнопки соцсетей, социальные кнопки
4
  Requires at least: 3.0.1
5
  Tested up to: 4.7
6
+ Stable tag: 1.5.6
7
 
8
  Uptolike Social Share Buttons - social bookmarking widget with sharing statistics.
9
 
107
  3. Traffic and sharing statistics
108
 
109
  == Changelog ==
110
+ = 1.5.6 =
111
+ * Корректное восстановление настроек плагина из предыдущих версий.
112
+
113
  = 1.5.5 =
114
  * Исправлен вывод UpToLike для страниц записей и статических страниц
115
  * Добавлено удаление лишних пробелов в поле email на странице статистики
uptolike_share_widget.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: UpToLike Social Share Buttons
4
  * Plugin URI: https://uptolike.com/
5
  * Description: Uptolike Social Share Buttons - social bookmarking widget with sharing statistics.
6
- * Version: 1.5.5
7
  * Requires at least: 4.1
8
  * Tested up to: 4.7
9
  * Author: Uptolike Team
3
  * Plugin Name: UpToLike Social Share Buttons
4
  * Plugin URI: https://uptolike.com/
5
  * Description: Uptolike Social Share Buttons - social bookmarking widget with sharing statistics.
6
+ * Version: 1.5.6
7
  * Requires at least: 4.1
8
  * Tested up to: 4.7
9
  * Author: Uptolike Team
widget_options.php CHANGED
@@ -7,8 +7,12 @@ class UptolikeSettingsPage {
7
  public function __construct() {
8
  add_action('admin_menu', array($this, 'uptolike_add_plugin_page'));
9
  add_action('admin_init', array($this, 'uptolike_page_init'));
10
- $this->options = get_option('uptolike_options');
11
- }
 
 
 
 
12
 
13
  public function uptolike_add_plugin_page() {
14
  add_options_page('UpToLike Settings', 'UpToLike', 'manage_options', $this->settings_page_name, array($this, 'uptolike_create_admin_page'));
7
  public function __construct() {
8
  add_action('admin_menu', array($this, 'uptolike_add_plugin_page'));
9
  add_action('admin_init', array($this, 'uptolike_page_init'));
10
+ $this->options = get_option('my_option_name');
11
+ if (!is_bool($this->options)) {
12
+ update_option('uptolike_options', $this->options);
13
+ delete_option('my_option_name');
14
+ }
15
+ $this->options = get_option('uptolike_options'); }
16
 
17
  public function uptolike_add_plugin_page() {
18
  add_options_page('UpToLike Settings', 'UpToLike', 'manage_options', $this->settings_page_name, array($this, 'uptolike_create_admin_page'));