Version Description
- November 11, 2019 =
Updated WordPress compatibility.
Download this release
Release Info
Developer | DvanKooten |
Plugin | Widget Content Blocks |
Version | 2.3.9 |
Comparing to | |
See all releases |
Code changes from version 2.3.8 to 2.3.9
- CHANGELOG.md +4 -0
- includes/class-admin.php +4 -4
- includes/class-widget.php +3 -3
- languages/wysiwyg-widgets-de_DE.mo +0 -0
- languages/wysiwyg-widgets-es_ES.mo +0 -0
- languages/wysiwyg-widgets-it_IT.mo +0 -0
- languages/wysiwyg-widgets-nl_NL.mo +0 -0
- languages/wysiwyg-widgets.mo +0 -0
- languages/wysiwyg-widgets.pot +134 -0
- readme.txt +10 -5
- wysiwyg-widgets.php +2 -2
CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
# Changelog
|
2 |
|
|
|
|
|
|
|
|
|
3 |
= 2.3.8 - October 25, 2017 =
|
4 |
|
5 |
Misc. textual improvements.
|
1 |
# Changelog
|
2 |
|
3 |
+
= 2.3.9 - November 11, 2019 =
|
4 |
+
|
5 |
+
Updated WordPress compatibility.
|
6 |
+
|
7 |
= 2.3.8 - October 25, 2017 =
|
8 |
|
9 |
Misc. textual improvements.
|
includes/class-admin.php
CHANGED
@@ -51,7 +51,7 @@ class WYSIWYG_Widgets_Admin {
|
|
51 |
</div>
|
52 |
|
53 |
<div style="margin-top: 30px;">
|
54 |
-
<h4><?php _e( '
|
55 |
<ul class="ul-square">
|
56 |
<li><a href="https://wordpress.org/support/view/plugin-reviews/wysiwyg-widgets?rate=5#postform" target="_blank"><?php _e('Leave a ★★★★★ review on WordPress.org', 'wysiwyg-widgets'); ?></a></li>
|
57 |
<li><a href="https://wordpress.org/plugins/wysiwyg-widgets/#compatibility"><?php _e('Vote "works" on the WordPress.org plugin page', 'wysiwyg-widgets'); ?></a></li>
|
@@ -59,13 +59,13 @@ class WYSIWYG_Widgets_Admin {
|
|
59 |
</div>
|
60 |
|
61 |
<div style="margin-top: 30px;">
|
62 |
-
<h4><?php _e('
|
63 |
<ul class="ul-square">
|
64 |
-
<li><a href="https://wordpress.org/plugins/mailchimp-for-wp/">
|
|
|
65 |
<li><a href="https://wordpress.org/plugins/html-forms/">HTML Forms</a></li>
|
66 |
<li><a href="https://wordpress.org/plugins/boxzilla/">Boxzilla Pop-Ups</a></li>
|
67 |
<li><a href="https://wordpress.org/plugins/mailchimp-top-bar/">MailChimp Top Bar</a></li>
|
68 |
-
<li><a href="https://wordpress.org/plugins/recent-facebook-posts/">Recent Facebook Posts</a></li>
|
69 |
</ul>
|
70 |
</div>
|
71 |
|
51 |
</div>
|
52 |
|
53 |
<div style="margin-top: 30px;">
|
54 |
+
<h4><?php _e( 'Help promote this plugin', 'wysiwyg-widgets' ); ?></h4>
|
55 |
<ul class="ul-square">
|
56 |
<li><a href="https://wordpress.org/support/view/plugin-reviews/wysiwyg-widgets?rate=5#postform" target="_blank"><?php _e('Leave a ★★★★★ review on WordPress.org', 'wysiwyg-widgets'); ?></a></li>
|
57 |
<li><a href="https://wordpress.org/plugins/wysiwyg-widgets/#compatibility"><?php _e('Vote "works" on the WordPress.org plugin page', 'wysiwyg-widgets'); ?></a></li>
|
59 |
</div>
|
60 |
|
61 |
<div style="margin-top: 30px;">
|
62 |
+
<h4><?php _e('Our other plugins', 'wysiwyg-widgets'); ?></h4>
|
63 |
<ul class="ul-square">
|
64 |
+
<li><a href="https://wordpress.org/plugins/mailchimp-for-wp/">Mailchimp for Wordpress</a></li>
|
65 |
+
<li><a href="https://wordpress.org/plugins/koko-analytics/">Koko Analytics</a></li>
|
66 |
<li><a href="https://wordpress.org/plugins/html-forms/">HTML Forms</a></li>
|
67 |
<li><a href="https://wordpress.org/plugins/boxzilla/">Boxzilla Pop-Ups</a></li>
|
68 |
<li><a href="https://wordpress.org/plugins/mailchimp-top-bar/">MailChimp Top Bar</a></li>
|
|
|
69 |
</ul>
|
70 |
</div>
|
71 |
|
includes/class-widget.php
CHANGED
@@ -74,7 +74,7 @@ class WYSIWYG_Widgets_Widget extends WP_Widget {
|
|
74 |
*/
|
75 |
public function update( $new_instance, $old_instance ) {
|
76 |
$instance = array();
|
77 |
-
$instance['wysiwyg-widget-id'] = $new_instance['wysiwyg-widget-id'];
|
78 |
$instance['show_title'] = ( isset($new_instance['show_title'] ) && $new_instance['show_title'] == 1 ) ? 1 : 0;
|
79 |
return $instance;
|
80 |
}
|
@@ -94,8 +94,8 @@ class WYSIWYG_Widgets_Widget extends WP_Widget {
|
|
94 |
'numberposts' => -1
|
95 |
));
|
96 |
|
97 |
-
$show_title =
|
98 |
-
$selected_widget_id =
|
99 |
$title = ($selected_widget_id) ? get_the_title( $selected_widget_id ) : 'No widget block selected.';
|
100 |
?>
|
101 |
|
74 |
*/
|
75 |
public function update( $new_instance, $old_instance ) {
|
76 |
$instance = array();
|
77 |
+
$instance['wysiwyg-widget-id'] = isset( $new_instance['wysiwyg-widget-id'] ) ? $new_instance['wysiwyg-widget-id'] : 0;
|
78 |
$instance['show_title'] = ( isset($new_instance['show_title'] ) && $new_instance['show_title'] == 1 ) ? 1 : 0;
|
79 |
return $instance;
|
80 |
}
|
94 |
'numberposts' => -1
|
95 |
));
|
96 |
|
97 |
+
$show_title = isset( $instance['show_title'] ) ? $instance['show_title'] : 1;
|
98 |
+
$selected_widget_id = isset( $instance['wysiwyg-widget-id'] ) ? $instance['wysiwyg-widget-id'] : 0;
|
99 |
$title = ($selected_widget_id) ? get_the_title( $selected_widget_id ) : 'No widget block selected.';
|
100 |
?>
|
101 |
|
languages/wysiwyg-widgets-de_DE.mo
CHANGED
Binary file
|
languages/wysiwyg-widgets-es_ES.mo
CHANGED
Binary file
|
languages/wysiwyg-widgets-it_IT.mo
CHANGED
Binary file
|
languages/wysiwyg-widgets-nl_NL.mo
CHANGED
Binary file
|
languages/wysiwyg-widgets.mo
CHANGED
Binary file
|
languages/wysiwyg-widgets.pot
ADDED
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2019 Danny van Kooten
|
2 |
+
# This file is distributed under the same license as the Widget Content Blocks plugin.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Widget Content Blocks 2.3.8\n"
|
6 |
+
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wysiwyg-widgets\n"
|
7 |
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2019-11-11T10:03:49+00:00\n"
|
13 |
+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
+
"X-Generator: WP-CLI 2.3.0\n"
|
15 |
+
"X-Domain: wysiwyg-widgets\n"
|
16 |
+
|
17 |
+
#. Plugin Name of the plugin
|
18 |
+
msgid "Widget Content Blocks"
|
19 |
+
msgstr ""
|
20 |
+
|
21 |
+
#. Plugin URI of the plugin
|
22 |
+
msgid "https://dannyvankooten.com/wordpress-plugins/wysiwyg-widgets/"
|
23 |
+
msgstr ""
|
24 |
+
|
25 |
+
#. Description of the plugin
|
26 |
+
msgid "Adds a WYSIWYG Widget with a rich text editor and media upload functions."
|
27 |
+
msgstr ""
|
28 |
+
|
29 |
+
#. Author of the plugin
|
30 |
+
msgid "Danny van Kooten"
|
31 |
+
msgstr ""
|
32 |
+
|
33 |
+
#. Author URI of the plugin
|
34 |
+
msgid "http://dvk.co/"
|
35 |
+
msgstr ""
|
36 |
+
|
37 |
+
#: includes/class-admin.php:33
|
38 |
+
msgid "More.."
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: includes/class-admin.php:49
|
42 |
+
msgid "How do I use this?"
|
43 |
+
msgstr ""
|
44 |
+
|
45 |
+
#: includes/class-admin.php:50
|
46 |
+
msgid "Show this widget block by going to your %swidgets page%s and then dragging the <strong>WYSIWYG Widget</strong> to one of your widget areas."
|
47 |
+
msgstr ""
|
48 |
+
|
49 |
+
#: includes/class-admin.php:54
|
50 |
+
msgid "Help promote this plugin"
|
51 |
+
msgstr ""
|
52 |
+
|
53 |
+
#: includes/class-admin.php:56
|
54 |
+
msgid "Leave a ★★★★★ review on WordPress.org"
|
55 |
+
msgstr ""
|
56 |
+
|
57 |
+
#: includes/class-admin.php:57
|
58 |
+
msgid "Vote \"works\" on the WordPress.org plugin page"
|
59 |
+
msgstr ""
|
60 |
+
|
61 |
+
#: includes/class-admin.php:62
|
62 |
+
msgid "Our other plugins"
|
63 |
+
msgstr ""
|
64 |
+
|
65 |
+
#: includes/class-widget.php:12
|
66 |
+
msgid "Displays one of your Widget Blocks."
|
67 |
+
msgstr ""
|
68 |
+
|
69 |
+
#: includes/class-widget.php:53
|
70 |
+
msgid "Please select a Widget Block to show in this area."
|
71 |
+
msgstr ""
|
72 |
+
|
73 |
+
#: includes/class-widget.php:55
|
74 |
+
msgid "No widget block found with ID %d, please select an existing Widget Block in the widget settings."
|
75 |
+
msgstr ""
|
76 |
+
|
77 |
+
#: includes/class-widget.php:105
|
78 |
+
msgid "Widget Block to show:"
|
79 |
+
msgstr ""
|
80 |
+
|
81 |
+
#: includes/class-widget.php:109
|
82 |
+
#: includes/plugin.php:35
|
83 |
+
msgid "No widget blocks found"
|
84 |
+
msgstr ""
|
85 |
+
|
86 |
+
#: includes/class-widget.php:111
|
87 |
+
msgid "Select a widget block"
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#: includes/class-widget.php:121
|
91 |
+
msgid "Show title?"
|
92 |
+
msgstr ""
|
93 |
+
|
94 |
+
#: includes/class-widget.php:124
|
95 |
+
msgid "Manage your widget blocks %shere%s"
|
96 |
+
msgstr ""
|
97 |
+
|
98 |
+
#: includes/plugin.php:26
|
99 |
+
#: includes/plugin.php:37
|
100 |
+
msgid "Widget Blocks"
|
101 |
+
msgstr ""
|
102 |
+
|
103 |
+
#: includes/plugin.php:27
|
104 |
+
msgid "Widget Block"
|
105 |
+
msgstr ""
|
106 |
+
|
107 |
+
#: includes/plugin.php:28
|
108 |
+
#: includes/plugin.php:31
|
109 |
+
msgid "New Widget Block"
|
110 |
+
msgstr ""
|
111 |
+
|
112 |
+
#: includes/plugin.php:29
|
113 |
+
msgid "Add New Widget Block"
|
114 |
+
msgstr ""
|
115 |
+
|
116 |
+
#: includes/plugin.php:30
|
117 |
+
msgid "Edit Widget Block"
|
118 |
+
msgstr ""
|
119 |
+
|
120 |
+
#: includes/plugin.php:32
|
121 |
+
msgid "All Widget Blocks"
|
122 |
+
msgstr ""
|
123 |
+
|
124 |
+
#: includes/plugin.php:33
|
125 |
+
msgid "View Widget Block"
|
126 |
+
msgstr ""
|
127 |
+
|
128 |
+
#: includes/plugin.php:34
|
129 |
+
msgid "Search Widget Blocks"
|
130 |
+
msgstr ""
|
131 |
+
|
132 |
+
#: includes/plugin.php:36
|
133 |
+
msgid "No widget blocks found in Trash"
|
134 |
+
msgstr ""
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: DvanKooten, Ibericode, hchouhan, lapzor
|
|
3 |
Donate link: https://dannyvankooten.com/donate/
|
4 |
Tags: widget,visual editor,image widget,visual,tinymce,fckeditor,widgets,rich text,wysiwyg,html
|
5 |
Requires at least: 4.1
|
6 |
-
Tested up to:
|
7 |
-
Stable tag: 2.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
Requires PHP: 5.2.14
|
@@ -40,7 +40,7 @@ If you have created your own language pack, or have an update of an existing one
|
|
40 |
**More information**
|
41 |
|
42 |
- [WYSIWYG Widgets](https://dannyvankooten.com/wordpress-plugins/wysiwyg-widgets/)
|
43 |
-
-
|
44 |
|
45 |
|
46 |
== Installation ==
|
@@ -71,13 +71,18 @@ Yes.
|
|
71 |
|
72 |
== Screenshots ==
|
73 |
|
74 |
-
1.
|
75 |
2. Edit the content of a WYSIWYG Widget just like you are used to edit posts.
|
76 |
-
3.
|
|
|
77 |
|
78 |
|
79 |
== Changelog ==
|
80 |
|
|
|
|
|
|
|
|
|
81 |
= 2.3.8 - October 25, 2017 =
|
82 |
|
83 |
Misc. textual improvements.
|
3 |
Donate link: https://dannyvankooten.com/donate/
|
4 |
Tags: widget,visual editor,image widget,visual,tinymce,fckeditor,widgets,rich text,wysiwyg,html
|
5 |
Requires at least: 4.1
|
6 |
+
Tested up to: 5.3
|
7 |
+
Stable tag: 2.3.9
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
Requires PHP: 5.2.14
|
40 |
**More information**
|
41 |
|
42 |
- [WYSIWYG Widgets](https://dannyvankooten.com/wordpress-plugins/wysiwyg-widgets/)
|
43 |
+
- Other [WordPress plugins](https://dannyvankooten.com/wordpress-plugins/) by the same author
|
44 |
|
45 |
|
46 |
== Installation ==
|
71 |
|
72 |
== Screenshots ==
|
73 |
|
74 |
+
1. Use the widget in one of your widget areas to show a widget block.
|
75 |
2. Edit the content of a WYSIWYG Widget just like you are used to edit posts.
|
76 |
+
3. Overview of created Widget Blocks.
|
77 |
+
4. Widget Blocks in the admin menu.
|
78 |
|
79 |
|
80 |
== Changelog ==
|
81 |
|
82 |
+
= 2.3.9 - November 11, 2019 =
|
83 |
+
|
84 |
+
Updated WordPress compatibility.
|
85 |
+
|
86 |
= 2.3.8 - October 25, 2017 =
|
87 |
|
88 |
Misc. textual improvements.
|
wysiwyg-widgets.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Widget Content Blocks
|
4 |
Plugin URI: https://dannyvankooten.com/wordpress-plugins/wysiwyg-widgets/
|
5 |
Description: Adds a WYSIWYG Widget with a rich text editor and media upload functions.
|
6 |
-
Version: 2.3.
|
7 |
Author: Danny van Kooten
|
8 |
Author URI: http://dvk.co/
|
9 |
Text Domain: wysiwyg-widgets
|
@@ -12,7 +12,7 @@ License: GPL v3 or later
|
|
12 |
|
13 |
WYSIWYG Widgets plugin
|
14 |
|
15 |
-
Copyright (C) 2013-
|
16 |
|
17 |
This program is free software: you can redistribute it and/or modify
|
18 |
it under the terms of the GNU General Public License as published by
|
3 |
Plugin Name: Widget Content Blocks
|
4 |
Plugin URI: https://dannyvankooten.com/wordpress-plugins/wysiwyg-widgets/
|
5 |
Description: Adds a WYSIWYG Widget with a rich text editor and media upload functions.
|
6 |
+
Version: 2.3.9
|
7 |
Author: Danny van Kooten
|
8 |
Author URI: http://dvk.co/
|
9 |
Text Domain: wysiwyg-widgets
|
12 |
|
13 |
WYSIWYG Widgets plugin
|
14 |
|
15 |
+
Copyright (C) 2013-2019, Danny van Kooten, hi@dannyvankooten.com
|
16 |
|
17 |
This program is free software: you can redistribute it and/or modify
|
18 |
it under the terms of the GNU General Public License as published by
|