Version Description
(2021-05-20) = * Fix storage and update of post type checkboxes in the settings pages.
Download this release
Release Info
Developer | Bueltge |
Plugin | AddQuicktag |
Version | 2.6.1 |
Comparing to | |
See all releases |
Code changes from version 2.6.0 to 2.6.1
- addquicktag.php +1 -1
- inc/class-settings.php +4 -2
- readme.txt +4 -1
addquicktag.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Text Domain: addquicktag
|
7 |
* Domain Path: /languages
|
8 |
* Description: Allows you to easily add custom Quicktags to the html- and visual-editor.
|
9 |
-
* Version: 2.6.
|
10 |
* Author: Frank Bültge
|
11 |
* Author URI: https://bueltge.de
|
12 |
* License: GPLv3+
|
6 |
* Text Domain: addquicktag
|
7 |
* Domain Path: /languages
|
8 |
* Description: Allows you to easily add custom Quicktags to the html- and visual-editor.
|
9 |
+
* Version: 2.6.1
|
10 |
* Author: Frank Bültge
|
11 |
* Author URI: https://bueltge.de
|
12 |
* License: GPLv3+
|
inc/class-settings.php
CHANGED
@@ -790,15 +790,17 @@ class Add_Quicktag_Settings extends Add_Quicktag {
|
|
790 |
$b['order'] = (int) $b['order'];
|
791 |
}
|
792 |
|
793 |
-
$b['visual'] = 0;
|
794 |
if ( array_key_exists( 'visual', $b ) ) {
|
795 |
$b['visual'] = (int) $b['visual'];
|
|
|
|
|
796 |
}
|
797 |
|
798 |
foreach ( $this->get_post_types_for_js() as $post_type ) {
|
799 |
-
$b[ $post_type ] = 0;
|
800 |
if ( array_key_exists( $post_type, $b ) ) {
|
801 |
$b[ $post_type ] = (int) $b[ $post_type ];
|
|
|
|
|
802 |
}
|
803 |
}
|
804 |
|
790 |
$b['order'] = (int) $b['order'];
|
791 |
}
|
792 |
|
|
|
793 |
if ( array_key_exists( 'visual', $b ) ) {
|
794 |
$b['visual'] = (int) $b['visual'];
|
795 |
+
} else {
|
796 |
+
$b['visual'] = 0;
|
797 |
}
|
798 |
|
799 |
foreach ( $this->get_post_types_for_js() as $post_type ) {
|
|
|
800 |
if ( array_key_exists( $post_type, $b ) ) {
|
801 |
$b[ $post_type ] = (int) $b[ $post_type ];
|
802 |
+
} else {
|
803 |
+
$b[ $post_type ] = 0;
|
804 |
}
|
805 |
}
|
806 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: quicktag, editor, tinymce, add buttons, button, buttons, visual editor
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.7
|
7 |
-
Stable tag: 2.6.
|
8 |
|
9 |
This plugin makes it easy to add Quicktags to the html - and visual-editor.
|
10 |
|
@@ -120,6 +120,9 @@ The following example adds buttons. The params inside the array are the same as
|
|
120 |
Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial blog. But if you enjoy this plugin, you may consider to thank me and leave a [positive review](https://wordpress.org/support/plugin/addquicktag/reviews/#new-post) for the time I've spent writing and supporting this plugin. And I really don't want to know how many hours of my life this plugin has already eaten ;)
|
121 |
|
122 |
== Changelog ==
|
|
|
|
|
|
|
123 |
= 2.6.0 (2021-04-29) =
|
124 |
* Maintenance for the jQuery Update to run with the last WP Core update, jQuery 3.5*
|
125 |
* Maintenance several code styles, testing PHP7/8
|
4 |
Tags: quicktag, editor, tinymce, add buttons, button, buttons, visual editor
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.7
|
7 |
+
Stable tag: 2.6.1
|
8 |
|
9 |
This plugin makes it easy to add Quicktags to the html - and visual-editor.
|
10 |
|
120 |
Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial blog. But if you enjoy this plugin, you may consider to thank me and leave a [positive review](https://wordpress.org/support/plugin/addquicktag/reviews/#new-post) for the time I've spent writing and supporting this plugin. And I really don't want to know how many hours of my life this plugin has already eaten ;)
|
121 |
|
122 |
== Changelog ==
|
123 |
+
= 2.6.1 (2021-05-20) =
|
124 |
+
* Fix storage and update of post type checkboxes in the settings pages.
|
125 |
+
|
126 |
= 2.6.0 (2021-04-29) =
|
127 |
* Maintenance for the jQuery Update to run with the last WP Core update, jQuery 3.5*
|
128 |
* Maintenance several code styles, testing PHP7/8
|