Cachify - Version 2.2.1

Version Description

  • Fix fr die Meldung "Call to undefined function is_plugin_active_for_network" in WordPress-Multisite
Download this release

Release Info

Developer sergej.mueller
Plugin Icon 128x128 Cachify
Version 2.2.1
Comparing to
See all releases

Code changes from version 2.2.0 to 2.2.1

Files changed (3) hide show
  1. cachify.php +1 -1
  2. inc/cachify.class.php +6 -1
  3. readme.txt +4 -1
cachify.php CHANGED
@@ -8,7 +8,7 @@ Author: Sergej Müller
8
  Author URI: http://wpcoder.de
9
  Plugin URI: http://cachify.de
10
  License: GPLv2 or later
11
- Version: 2.2.0
12
  */
13
 
14
  /*
8
  Author URI: http://wpcoder.de
9
  Plugin URI: http://cachify.de
10
  License: GPLv2 or later
11
+ Version: 2.2.1
12
  */
13
 
14
  /*
inc/cachify.class.php CHANGED
@@ -711,7 +711,7 @@ final class Cachify {
711
  * Verarbeitung der Plugin-Meta-Aktionen
712
  *
713
  * @since 0.5
714
- * @change 2.2.0
715
  *
716
  * @hook mixed cachify_user_can_flush_cache
717
  *
@@ -735,6 +735,11 @@ final class Cachify {
735
  return;
736
  }
737
 
 
 
 
 
 
738
  /* Multisite & Network */
739
  if ( is_multisite() && is_plugin_active_for_network(CACHIFY_BASE) ) {
740
  /* Alter Blog */
711
  * Verarbeitung der Plugin-Meta-Aktionen
712
  *
713
  * @since 0.5
714
+ * @change 2.2.1
715
  *
716
  * @hook mixed cachify_user_can_flush_cache
717
  *
735
  return;
736
  }
737
 
738
+ /* Load on demand */
739
+ if ( ! function_exists('is_plugin_active_for_network') ) {
740
+ require_once( ABSPATH. 'wp-admin/includes/plugin.php' );
741
+ }
742
+
743
  /* Multisite & Network */
744
  if ( is_multisite() && is_plugin_active_for_network(CACHIFY_BASE) ) {
745
  /* Alter Blog */
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: sergej.mueller
3
  Tags: apc, cache, caching, performance
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZAQUT9RLPW8QN
5
  Requires at least: 3.8
6
- Tested up to: 4.0.1
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -77,6 +77,9 @@ Fragen rund ums Plugin werden gern per E-Mail beantwortet. Beachtet auch die [Gu
77
 
78
  == Changelog ==
79
 
 
 
 
80
  = 2.2.0 =
81
  * Werkzeugleiste: Anzeige des "Cache leeren" Buttons im Frontend der Website
82
  * Werkzeugleiste: Steuerung der Anzeige des "Cache leeren" Buttons via Hook
3
  Tags: apc, cache, caching, performance
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZAQUT9RLPW8QN
5
  Requires at least: 3.8
6
+ Tested up to: 4.1
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
77
 
78
  == Changelog ==
79
 
80
+ = 2.2.1 =
81
+ * Fix für die Meldung "Call to undefined function is_plugin_active_for_network" in WordPress-Multisite
82
+
83
  = 2.2.0 =
84
  * Werkzeugleiste: Anzeige des "Cache leeren" Buttons im Frontend der Website
85
  * Werkzeugleiste: Steuerung der Anzeige des "Cache leeren" Buttons via Hook