Version Description
(2017-03-09) = * Fixed Multisite error for check, is the plugin active in the MU Environment.
Download this release
Release Info
Developer | Bueltge |
Plugin | AddQuicktag |
Version | 2.5.1 |
Comparing to | |
See all releases |
Code changes from version 2.5.0 to 2.5.1
- addquicktag.php +1 -1
- inc/class-settings.php +6 -1
- readme.txt +5 -2
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.5.
|
10 |
* Author: Frank Bültge
|
11 |
* Author URI: http://bueltge.de
|
12 |
* License: GPLv2+
|
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.5.1
|
10 |
* Author: Frank Bültge
|
11 |
* Author URI: http://bueltge.de
|
12 |
* License: GPLv2+
|
inc/class-settings.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package AddQuicktag
|
6 |
* @subpackage AddQuicktag Settings
|
7 |
* @author Frank Bueltge <frank@bueltge.de>
|
8 |
-
* @version 2017-02-
|
9 |
* @since 2.0.0
|
10 |
*/
|
11 |
|
@@ -95,6 +95,11 @@ class Add_Quicktag_Settings extends Add_Quicktag {
|
|
95 |
self::$post_types_for_js = parent::get_post_types_for_js();
|
96 |
self::$nonce_string = 'addquicktag_nonce';
|
97 |
|
|
|
|
|
|
|
|
|
|
|
98 |
register_uninstall_hook( __FILE__, array( 'Add_Quicktag_Settings', 'unregister_settings' ) );
|
99 |
// settings for an active multisite
|
100 |
if ( is_multisite() && is_plugin_active_for_network( self::$plugin ) ) {
|
5 |
* @package AddQuicktag
|
6 |
* @subpackage AddQuicktag Settings
|
7 |
* @author Frank Bueltge <frank@bueltge.de>
|
8 |
+
* @version 2017-02-22
|
9 |
* @since 2.0.0
|
10 |
*/
|
11 |
|
95 |
self::$post_types_for_js = parent::get_post_types_for_js();
|
96 |
self::$nonce_string = 'addquicktag_nonce';
|
97 |
|
98 |
+
// Makes sure the plugin is defined before trying to use it
|
99 |
+
if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
|
100 |
+
require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
|
101 |
+
}
|
102 |
+
|
103 |
register_uninstall_hook( __FILE__, array( 'Add_Quicktag_Settings', 'unregister_settings' ) );
|
104 |
// settings for an active multisite
|
105 |
if ( is_multisite() && is_plugin_active_for_network( self::$plugin ) ) {
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: Bueltge, inpsyde
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6069955
|
4 |
Tags: quicktag, editor, tinymce, add buttons, button, buttons, visual editor
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 2.5.
|
8 |
|
9 |
This plugin makes it easy to add Quicktags to the html - and visual-editor.
|
10 |
|
@@ -130,6 +130,9 @@ The following example adds buttons. The params inside the array are the same as
|
|
130 |
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 [small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6069955 "Paypal Donate link") 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 ;)
|
131 |
|
132 |
== Changelog ==
|
|
|
|
|
|
|
133 |
= 2.5.0 (2017-02-21) =
|
134 |
* Fixed PHP7.1 problem to save new buttons.
|
135 |
* Adds title attribute to view on hover to each button in the TinyMCE listbox.
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6069955
|
4 |
Tags: quicktag, editor, tinymce, add buttons, button, buttons, visual editor
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 4.9
|
7 |
+
Stable tag: 2.5.1
|
8 |
|
9 |
This plugin makes it easy to add Quicktags to the html - and visual-editor.
|
10 |
|
130 |
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 [small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6069955 "Paypal Donate link") 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 ;)
|
131 |
|
132 |
== Changelog ==
|
133 |
+
= 2.5.1 (2017-03-09) =
|
134 |
+
* Fixed Multisite error for check, is the plugin active in the MU Environment.
|
135 |
+
|
136 |
= 2.5.0 (2017-02-21) =
|
137 |
* Fixed PHP7.1 problem to save new buttons.
|
138 |
* Adds title attribute to view on hover to each button in the TinyMCE listbox.
|