Created
November 20, 2015 09:12
-
-
Save DmitriyLyalyuev/9fd64536f4bab4c02f83 to your computer and use it in GitHub Desktop.
Patch W3 Total Cache plugin for PHP7 support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- wp-content/plugins/w3-total-cache/lib/W3/Plugin/TotalCache.php 2015-11-20 11:19:10.595861000 +0300 | |
+++ wp-content/plugins/w3-total-cache/lib/W3/Plugin/TotalCache.php 2015-11-20 11:18:09.859861000 +0300 | |
@@ -509,7 +509,7 @@ | |
* @param string $buffer | |
* @return string | |
*/ | |
- function ob_callback(&$buffer) { | |
+ function ob_callback($buffer) { | |
global $wpdb; | |
if ($buffer != '') { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment