Skip to content

cesco69/fix-w3tc

 
 

Repository files navigation

Fix W3TC (W3 Total Cache) Build Status

Fix and customize W3 Total Cache by @ftownes

Installation

  1. Deactivate official plugin from WP.org
  2. Delete plugin directory w3-total-cache by hand, DO NOT click "Delete" on Plugins page
  3. Unpack master in /wp-content/plugins/
  4. Rename the extracted directory from fix-w3tc-master to w3-total-cache
  5. Activate w3tc
  6. Check that it's working

Fix

And customize

  • Disable edge mode evaluation.reminder
  • Hide most widgets from W3TC Dashboard
  • Remove informational submenus $pages_tail
  • Remove contextual help w3tc_*
  • Make admin pages smaller #w3tc h2.logo { float: right; }
  • Remove HTML comment by hooking w3tc_can_print_comment
  • Disable EDD/licensing

Disabled submenus

  • FAQ
  • Support
  • Install
  • About

Disabled W3TC plugins

  • W3_Plugin_NewRelicAdmin
  • W3_Licensing

Disabled W3TC widgets

  • W3_Widget_SpreadTheWord
  • W3_Widget_News
  • W3_Widget_Forum
  • W3_Widget_MaxCDN
  • W3_Widget_NetDNA
  • W3_Widget_NewRelic

Mini CI

find -type f -name "*.php" -exec php -l "{}" ";"

Upstream

svn: https://plugins.svn.wordpress.org/w3-total-cache/

git: https://github.com/wp-plugins/w3-total-cache.git

PHP 7 support

In version 7.0.9 reference arguments were disallowed in call_user_func().

This is how to find them in the code:

grep -Fnr 'ob_callback(&$buffer)' w3-total-cache/*

Props. IT Nota

Alternatives

Packages

No packages published

Languages

  • PHP 96.3%
  • JavaScript 2.6%
  • CSS 0.7%
  • Modelica 0.2%
  • Shell 0.1%
  • Perl 0.1%