Black Studio TinyMCE Widget - Version 2.6.2

Version Description

(2018-02-27) = * Fixed conflict that was causing widget-specific warning messages to be moved to the top of the page

Download this release

Release Info

Developer marcochiesi
Plugin Icon 128x128 Black Studio TinyMCE Widget
Version 2.6.2
Comparing to
See all releases

Code changes from version 2.6.1 to 2.6.2

black-studio-tinymce-widget.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Black Studio TinyMCE Widget
4
  Plugin URI: https://wordpress.org/plugins/black-studio-tinymce-widget/
5
  Description: Adds a new "Visual Editor" widget type based on the native WordPress TinyMCE editor.
6
- Version: 2.6.1
7
  Author: Black Studio
8
  Author URI: https://www.blackstudio.it
9
  Requires at least: 3.1
@@ -35,7 +35,7 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Plugin' ) ) {
35
  * @var string
36
  * @since 2.0.0
37
  */
38
- public static $version = '2.6.1';
39
 
40
  /**
41
  * The single instance of the plugin class
3
  Plugin Name: Black Studio TinyMCE Widget
4
  Plugin URI: https://wordpress.org/plugins/black-studio-tinymce-widget/
5
  Description: Adds a new "Visual Editor" widget type based on the native WordPress TinyMCE editor.
6
+ Version: 2.6.2
7
  Author: Black Studio
8
  Author URI: https://www.blackstudio.it
9
  Requires at least: 3.1
35
  * @var string
36
  * @since 2.0.0
37
  */
38
+ public static $version = '2.6.2';
39
 
40
  /**
41
  * The single instance of the plugin class
includes/class-compatibility-plugins.php CHANGED
@@ -262,7 +262,7 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Compatibility_Plugins' ) ) {
262
  if ( function_exists( 'icl_st_is_registered_string' ) ) {
263
  if ( icl_st_is_registered_string( 'Widgets', 'widget body - ' . $widget->id_base . '-' . $widget->number ) ) {
264
  $wpml_st_url = admin_url( 'admin.php?page=wpml-string-translation%2Fmenu%2Fstring-translation.php&context=Widgets' );
265
- echo '<div class="notice notice-warning"><p>';
266
  /* translators: Warning displayed when deprecated translations of the current widget are detected */
267
  echo sprintf( __( 'WARNING: This widget has one or more translations made using WPML String Translation plugin, which is now a deprecated method of translating widgets, in favor of the "Display on language" dropdown introduced with WPML 3.8. Please migrate your existing translations by creating new widgets and selecting the language of this widget and the new ones accordingly. Finally delete the existing translations from <a href="%s">WPML String Translation interface</a>.', 'black-studio-tinymce-widget' ), esc_url( $wpml_st_url ) );
268
  echo '</p></div>';
262
  if ( function_exists( 'icl_st_is_registered_string' ) ) {
263
  if ( icl_st_is_registered_string( 'Widgets', 'widget body - ' . $widget->id_base . '-' . $widget->number ) ) {
264
  $wpml_st_url = admin_url( 'admin.php?page=wpml-string-translation%2Fmenu%2Fstring-translation.php&context=Widgets' );
265
+ echo '<div class="notice notice-warning inline"><p>';
266
  /* translators: Warning displayed when deprecated translations of the current widget are detected */
267
  echo sprintf( __( 'WARNING: This widget has one or more translations made using WPML String Translation plugin, which is now a deprecated method of translating widgets, in favor of the "Display on language" dropdown introduced with WPML 3.8. Please migrate your existing translations by creating new widgets and selecting the language of this widget and the new ones accordingly. Finally delete the existing translations from <a href="%s">WPML String Translation interface</a>.', 'black-studio-tinymce-widget' ), esc_url( $wpml_st_url ) );
268
  echo '</p></div>';
languages/black-studio-tinymce-widget.pot CHANGED
@@ -1,120 +1,120 @@
1
- # Copyright (C) 2017 Black Studio
2
- # This file is distributed under the GPLv3.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: Black Studio TinyMCE Widget 2.6.0\n"
6
- "Report-Msgid-Bugs-To: "
7
- "https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
8
- "POT-Creation-Date: 2017-11-17 00:53:22+00:00\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=utf-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
13
- "Last-Translator: Black Studio <info@blackstudio.it>\n"
14
- "Language-Team: Black Studio <info@blackstudio.it>\n"
15
- "X-Generator: grunt-wp-i18n 0.4.9\n"
16
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
- "X-Poedit-Basepath: .\n"
18
- "X-Poedit-Language: English\n"
19
- "X-Poedit-Country: United States\n"
20
- "X-Poedit-SourceCharset: utf-8\n"
21
- "X-Poedit-KeywordsList: "
22
- "__;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_"
23
- "x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
24
- "X-Poedit-Bookmarks: \n"
25
- "X-Poedit-SearchPath-0: .\n"
26
- "X-Textdomain-Support: yes\n"
27
-
28
- #: black-studio-tinymce-widget.php:279
29
- #. translators: error message shown when multiple instance of the plugin are
30
- #. detected
31
- msgid ""
32
- "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
33
- "detected. Please activate only one instance at a time."
34
- msgstr ""
35
-
36
- #: includes/class-admin-pointer.php:167
37
- #. translators: text for the dismissable admin pointer tooltip
38
- msgid ""
39
- "The Visual Editor widget allows you to insert rich text and media objects "
40
- "in your sidebars"
41
- msgstr ""
42
-
43
- #: includes/class-admin.php:250
44
- #. translators: error message shown when a duplicated widget ID is detected
45
- msgid ""
46
- "ERROR: Duplicate widget ID detected. To avoid content loss, please create a "
47
- "new widget with the same content and then delete this one."
48
- msgstr ""
49
-
50
- #: includes/class-admin.php:338
51
- #. translators: text used for plugin home link
52
- msgid "Home"
53
- msgstr ""
54
-
55
- #: includes/class-admin.php:340
56
- #. translators: text used for support faq link
57
- msgid "FAQ"
58
- msgstr ""
59
-
60
- #: includes/class-admin.php:342
61
- #. translators: text used for support forum link
62
- msgid "Support"
63
- msgstr ""
64
-
65
- #: includes/class-admin.php:344
66
- #. translators: text used for reviews link
67
- msgid "Rate"
68
- msgstr ""
69
-
70
- #: includes/class-admin.php:346
71
- #. translators: text used for follow on twitter link
72
- msgid "Follow"
73
- msgstr ""
74
-
75
- #: includes/class-admin.php:348
76
- #. translators: text used for donation link
77
- msgid "Donate"
78
- msgstr ""
79
-
80
- #: includes/class-admin.php:368
81
- #. translators: text used for the icon that shows the plugin links
82
- msgid "About Black Studio TinyMCE Widget plugin"
83
- msgstr ""
84
-
85
- #: includes/class-admin.php:460
86
- #. translators: warning message shown when when visual editor is disabled in
87
- #. current user's profile settings
88
- msgid ""
89
- "Visual Editor is disabled in your Profile settings. You need to enable it "
90
- "in order to use the Visual Editor widget at its full potential."
91
- msgstr ""
92
-
93
- #: includes/class-compatibility-plugins.php:241
94
- #. translators: Warning displayed when deprecated translations of the current
95
- #. widget are detected
96
- msgid ""
97
- "WARNING: This widget has one or more translations made using WPML String "
98
- "Translation plugin, which is now a deprecated method of translating "
99
- "widgets, in favor of the \"Display on language\" dropdown introduced with "
100
- "WPML 3.8. Please migrate your existing translations by creating new widgets "
101
- "and selecting the language of this widget and the new ones accordingly. "
102
- "Finally delete the existing translations from <a href=\"%s\">WPML String "
103
- "Translation interface</a>."
104
- msgstr ""
105
-
106
- #: includes/class-widget.php:27
107
- #. translators: title of the widget
108
- msgid "Visual Editor"
109
- msgstr ""
110
-
111
- #: includes/class-widget.php:29
112
- #. translators: description of the widget, shown in available widgets
113
- msgid "Arbitrary text or HTML with visual editor"
114
- msgstr ""
115
-
116
- #. Description of the plugin/theme
117
- msgid ""
118
- "Adds a new \"Visual Editor\" widget type based on the native WordPress "
119
- "TinyMCE editor."
120
  msgstr ""
1
+ # Copyright (C) 2017 Black Studio
2
+ # This file is distributed under the GPLv3.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Black Studio TinyMCE Widget 2.6.0\n"
6
+ "Report-Msgid-Bugs-To: "
7
+ "https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
8
+ "POT-Creation-Date: 2017-11-17 00:53:22+00:00\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=utf-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: Black Studio <info@blackstudio.it>\n"
14
+ "Language-Team: Black Studio <info@blackstudio.it>\n"
15
+ "X-Generator: grunt-wp-i18n 0.4.9\n"
16
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
+ "X-Poedit-Basepath: .\n"
18
+ "X-Poedit-Language: English\n"
19
+ "X-Poedit-Country: United States\n"
20
+ "X-Poedit-SourceCharset: utf-8\n"
21
+ "X-Poedit-KeywordsList: "
22
+ "__;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_"
23
+ "x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
24
+ "X-Poedit-Bookmarks: \n"
25
+ "X-Poedit-SearchPath-0: .\n"
26
+ "X-Textdomain-Support: yes\n"
27
+
28
+ #: black-studio-tinymce-widget.php:279
29
+ #. translators: error message shown when multiple instance of the plugin are
30
+ #. detected
31
+ msgid ""
32
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
33
+ "detected. Please activate only one instance at a time."
34
+ msgstr ""
35
+
36
+ #: includes/class-admin-pointer.php:167
37
+ #. translators: text for the dismissable admin pointer tooltip
38
+ msgid ""
39
+ "The Visual Editor widget allows you to insert rich text and media objects "
40
+ "in your sidebars"
41
+ msgstr ""
42
+
43
+ #: includes/class-admin.php:250
44
+ #. translators: error message shown when a duplicated widget ID is detected
45
+ msgid ""
46
+ "ERROR: Duplicate widget ID detected. To avoid content loss, please create a "
47
+ "new widget with the same content and then delete this one."
48
+ msgstr ""
49
+
50
+ #: includes/class-admin.php:338
51
+ #. translators: text used for plugin home link
52
+ msgid "Home"
53
+ msgstr ""
54
+
55
+ #: includes/class-admin.php:340
56
+ #. translators: text used for support faq link
57
+ msgid "FAQ"
58
+ msgstr ""
59
+
60
+ #: includes/class-admin.php:342
61
+ #. translators: text used for support forum link
62
+ msgid "Support"
63
+ msgstr ""
64
+
65
+ #: includes/class-admin.php:344
66
+ #. translators: text used for reviews link
67
+ msgid "Rate"
68
+ msgstr ""
69
+
70
+ #: includes/class-admin.php:346
71
+ #. translators: text used for follow on twitter link
72
+ msgid "Follow"
73
+ msgstr ""
74
+
75
+ #: includes/class-admin.php:348
76
+ #. translators: text used for donation link
77
+ msgid "Donate"
78
+ msgstr ""
79
+
80
+ #: includes/class-admin.php:368
81
+ #. translators: text used for the icon that shows the plugin links
82
+ msgid "About Black Studio TinyMCE Widget plugin"
83
+ msgstr ""
84
+
85
+ #: includes/class-admin.php:460
86
+ #. translators: warning message shown when when visual editor is disabled in
87
+ #. current user's profile settings
88
+ msgid ""
89
+ "Visual Editor is disabled in your Profile settings. You need to enable it "
90
+ "in order to use the Visual Editor widget at its full potential."
91
+ msgstr ""
92
+
93
+ #: includes/class-compatibility-plugins.php:241
94
+ #. translators: Warning displayed when deprecated translations of the current
95
+ #. widget are detected
96
+ msgid ""
97
+ "WARNING: This widget has one or more translations made using WPML String "
98
+ "Translation plugin, which is now a deprecated method of translating "
99
+ "widgets, in favor of the \"Display on language\" dropdown introduced with "
100
+ "WPML 3.8. Please migrate your existing translations by creating new widgets "
101
+ "and selecting the language of this widget and the new ones accordingly. "
102
+ "Finally delete the existing translations from <a href=\"%s\">WPML String "
103
+ "Translation interface</a>."
104
+ msgstr ""
105
+
106
+ #: includes/class-widget.php:27
107
+ #. translators: title of the widget
108
+ msgid "Visual Editor"
109
+ msgstr ""
110
+
111
+ #: includes/class-widget.php:29
112
+ #. translators: description of the widget, shown in available widgets
113
+ msgid "Arbitrary text or HTML with visual editor"
114
+ msgstr ""
115
+
116
+ #. Description of the plugin/theme
117
+ msgid ""
118
+ "Adds a new \"Visual Editor\" widget type based on the native WordPress "
119
+ "TinyMCE editor."
120
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.blackstudio.it/en/wordpress-plugins/black-studio-tinymc
4
  Tags: widget, visual, editor, wysiwyg, html, text, tinymce, image, media, gallery, embed, wpml
5
  Requires at least: 3.1
6
  Tested up to: 4.9
7
- Stable tag: 2.6.1
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl.html
10
 
@@ -189,6 +189,9 @@ DELETE FROM wp_usermeta WHERE meta_key LIKE '_bstw%';
189
 
190
  == Changelog ==
191
 
 
 
 
192
  = 2.6.1 (2017-12-13) =
193
  * Fixed bug related to WPML String Translation filters
194
 
@@ -497,6 +500,6 @@ DELETE FROM wp_usermeta WHERE meta_key LIKE '_bstw%';
497
 
498
  == Upgrade Notice ==
499
 
500
- = 2.6.1 =
501
  If you're using WPML, double check our FAQ, as version 2.6 introduced some changes regarding widgets translations.
502
  Important: Always ensure to backup your database before upgrading.
4
  Tags: widget, visual, editor, wysiwyg, html, text, tinymce, image, media, gallery, embed, wpml
5
  Requires at least: 3.1
6
  Tested up to: 4.9
7
+ Stable tag: 2.6.2
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl.html
10
 
189
 
190
  == Changelog ==
191
 
192
+ = 2.6.2 (2018-02-27) =
193
+ * Fixed conflict that was causing widget-specific warning messages to be moved to the top of the page
194
+
195
  = 2.6.1 (2017-12-13) =
196
  * Fixed bug related to WPML String Translation filters
197
 
500
 
501
  == Upgrade Notice ==
502
 
503
+ = 2.6.2 =
504
  If you're using WPML, double check our FAQ, as version 2.6 introduced some changes regarding widgets translations.
505
  Important: Always ensure to backup your database before upgrading.