W3 Total Cache - Version 0.9.2.11

Version Description

  • Added option to disable the Minify Auto filename length test and specify manual value for hosting environments like Windows that require it
  • Fixed NetDNA / MaxCDN authorization key issues
  • Fixed OAuth name conflict for NetDNA / MaxCDN
  • Fixed CDN and CNAME replacement for minify URLs
  • Fixed WordPress sub-directory issue
  • Fixed handling of moved / renamed wp-content and plugin directory
  • Fixed Multisite issue when CDN is enabled and Minify is in auto mode and network-wide settings are applied
  • Fixed late init handling
  • Fixed handling of HTML debug comments being incorrectly inserted into documents
  • Improved minify auto file naming for single install
  • Improved page caching performance in NFS-based hosting environments
Download this release

Release Info

Developer fredericktownes
Plugin Icon 128x128 W3 Total Cache
Version 0.9.2.11
Comparing to
See all releases

Code changes from version 0.9.2.10 to 0.9.2.11

Files changed (479) hide show
  1. inc/define.php +10 -1
  2. inc/email/index.html +0 -0
  3. inc/email/minify_error_notification.html +0 -0
  4. inc/email/minify_error_notification.php +0 -0
  5. inc/email/support_request.php +0 -0
  6. inc/error.php +0 -0
  7. inc/functions/activation.php +0 -0
  8. inc/functions/compat.php +0 -0
  9. inc/functions/extract.php +0 -0
  10. inc/functions/file.php +0 -0
  11. inc/functions/http.php +0 -0
  12. inc/functions/ip_in_range.php +0 -0
  13. inc/functions/mime.php +0 -0
  14. inc/functions/multisite.php +0 -0
  15. inc/functions/other.php +0 -0
  16. inc/functions/plugin.php +0 -0
  17. inc/functions/rule.php +0 -0
  18. inc/functions/rule_cut.php +0 -0
  19. inc/functions/ui.php +0 -0
  20. inc/functions/update.php +0 -0
  21. inc/functions/url.php +0 -0
  22. inc/functions/widgets.php +0 -0
  23. inc/index.html +0 -0
  24. inc/lightbox/cdn_s3_bucket_location.php +0 -0
  25. inc/lightbox/create_netdna_maxcdn_pull_zone.php +0 -0
  26. inc/lightbox/index.html +0 -0
  27. inc/lightbox/minify_recommendations.php +0 -0
  28. inc/lightbox/self_test.php +0 -0
  29. inc/lightbox/support_us.php +0 -0
  30. inc/mime/all.php +0 -0
  31. inc/mime/cssjs.php +0 -0
  32. inc/mime/html.php +0 -0
  33. inc/mime/index.html +0 -0
  34. inc/mime/other.php +0 -0
  35. inc/options/about.php +0 -0
  36. inc/options/cdn.php +0 -0
  37. inc/options/cdn/akamai.php +0 -0
  38. inc/options/cdn/att.php +0 -0
  39. inc/options/cdn/azure.php +0 -0
  40. inc/options/cdn/cf.php +0 -0
  41. inc/options/cdn/cf2.php +0 -0
  42. inc/options/cdn/common/cnames.php +0 -0
  43. inc/options/cdn/common/index.html +0 -0
  44. inc/options/cdn/cotendo.php +0 -0
  45. inc/options/cdn/edgecast.php +0 -0
  46. inc/options/cdn/ftp.php +0 -0
  47. inc/options/cdn/index.html +0 -0
  48. inc/options/cdn/maxcdn.php +0 -0
  49. inc/options/cdn/mirror.php +0 -0
  50. inc/options/cdn/netdna.php +0 -0
  51. inc/options/cdn/rscf.php +0 -0
  52. inc/options/cdn/s3.php +0 -0
  53. inc/options/common/footer.php +0 -0
  54. inc/options/common/header.php +0 -0
  55. inc/options/common/help.php +0 -0
  56. inc/options/common/index.html +0 -0
  57. inc/options/dashboard.php +0 -0
  58. inc/options/dbcache.php +0 -0
  59. inc/options/enterprise/dbcluster-config.php +0 -0
  60. inc/options/enterprise/dbcluster_general_section.php +0 -0
  61. inc/options/faq.php +0 -0
  62. inc/options/general.php +2 -2
  63. inc/options/index.html +0 -0
  64. inc/options/install.php +0 -0
  65. inc/options/minify.php +8 -5
  66. inc/options/minify/ccjs.php +0 -0
  67. inc/options/minify/ccjs2.php +0 -0
  68. inc/options/minify/css.php +0 -0
  69. inc/options/minify/csstidy.php +0 -0
  70. inc/options/minify/csstidy2.php +0 -0
  71. inc/options/minify/html.php +0 -0
  72. inc/options/minify/htmltidy.php +0 -0
  73. inc/options/minify/htmltidy2.php +0 -0
  74. inc/options/minify/index.html +0 -0
  75. inc/options/minify/js.php +0 -0
  76. inc/options/minify/yuicss2.php +0 -0
  77. inc/options/minify/yuijs.php +0 -0
  78. inc/options/minify/yuijs2.php +0 -0
  79. inc/options/mobile.php +0 -0
  80. inc/options/new_relic.php +0 -0
  81. inc/options/objectcache.php +0 -0
  82. inc/options/pgcache.php +0 -0
  83. inc/options/pro/fragmentcache.php +0 -0
  84. inc/options/pro/fragmentcache_general_section.php +0 -0
  85. inc/options/referrer.php +0 -0
  86. inc/options/support.php +0 -0
  87. inc/options/support/form.php +0 -0
  88. inc/options/support/form/bug_report.php +0 -0
  89. inc/options/support/form/email_support.php +0 -0
  90. inc/options/support/form/index.html +0 -0
  91. inc/options/support/form/linux_config.php +0 -0
  92. inc/options/support/form/new_feature.php +0 -0
  93. inc/options/support/form/phone_support.php +0 -0
  94. inc/options/support/form/plugin_config.php +0 -0
  95. inc/options/support/form/theme_config.php +0 -0
  96. inc/options/support/index.html +0 -0
  97. inc/options/support/payment.php +0 -0
  98. inc/options/support/select.php +0 -0
  99. inc/popup/cdn_export_file.php +0 -0
  100. inc/popup/cdn_export_library.php +0 -0
  101. inc/popup/cdn_import_library.php +0 -0
  102. inc/popup/cdn_purge.php +0 -0
  103. inc/popup/cdn_queue.php +0 -0
  104. inc/popup/cdn_rename_domain.php +0 -0
  105. inc/popup/common/footer.php +0 -0
  106. inc/popup/common/header.php +0 -0
  107. inc/popup/common/index.html +0 -0
  108. inc/popup/index.html +0 -0
  109. inc/popup/pagespeed_results.php +0 -0
  110. inc/widget/index.html +0 -0
  111. inc/widget/latest.php +0 -0
  112. inc/widget/latest_ajax.php +0 -0
  113. inc/widget/latest_control.php +0 -0
  114. inc/widget/latest_news.php +0 -0
  115. inc/widget/latest_news_ajax.php +0 -0
  116. inc/widget/latest_news_control.php +0 -0
  117. inc/widget/maxcdn.php +0 -0
  118. inc/widget/maxcdn_signup.php +0 -0
  119. inc/widget/netdna.php +0 -0
  120. inc/widget/netdna_signup.php +0 -0
  121. inc/widget/new_relic.php +0 -0
  122. inc/widget/pagespeed.php +0 -0
  123. inc/widget/pagespeed_control.php +0 -0
  124. inc/widget/services.php +0 -0
  125. inc/widget/spreadtheword.php +0 -0
  126. index.html +0 -0
  127. ini/apc.ini +0 -0
  128. ini/dbcluster-config-sample.php +0 -0
  129. ini/eaccelerator.ini +0 -0
  130. ini/index.html +0 -0
  131. ini/memcache.ini +0 -0
  132. ini/nginx-network-sample-config.conf +0 -0
  133. ini/nginx-standalone-sample-config.conf +0 -0
  134. ini/php.append.ini +0 -0
  135. ini/s3-sample-policy.txt +0 -0
  136. ini/varnish-sample-config.vcl +0 -0
  137. ini/xcache.ini +0 -0
  138. languages/faq-en_US.xml +0 -0
  139. languages/faq-premium-en_US.xml +0 -0
  140. languages/w3-total-cache-nl_NL.mo +0 -0
  141. languages/w3-total-cache-nl_NL.po +0 -0
  142. languages/w3-total-cache-pl_PL.po +0 -0
  143. languages/w3-total-cache.pot +59 -32
  144. lib/CF/cacert.pem +0 -0
  145. lib/CF/cloudfiles.php +0 -0
  146. lib/CF/cloudfiles_exceptions.php +0 -0
  147. lib/CF/cloudfiles_http.php +0 -0
  148. lib/CF/index.html +0 -0
  149. lib/CSSTidy/class.csstidy.php +0 -0
  150. lib/CSSTidy/class.csstidy_optimise.php +0 -0
  151. lib/CSSTidy/class.csstidy_print.php +0 -0
  152. lib/CSSTidy/data.inc.php +0 -0
  153. lib/CSSTidy/index.html +0 -0
  154. lib/Microsoft/Exception.php +0 -0
  155. lib/Microsoft/Http/Client.php +0 -0
  156. lib/Microsoft/Http/Client/Adapter/Curl.php +0 -0
  157. lib/Microsoft/Http/Client/Adapter/Exception.php +0 -0
  158. lib/Microsoft/Http/Client/Adapter/Interface.php +0 -0
  159. lib/Microsoft/Http/Client/Adapter/Proxy.php +0 -0
  160. lib/Microsoft/Http/Client/Adapter/Socket.php +0 -0
  161. lib/Microsoft/Http/Client/Adapter/Stream.php +0 -0
  162. lib/Microsoft/Http/Client/Adapter/index.html +0 -0
  163. lib/Microsoft/Http/Client/Exception.php +0 -0
  164. lib/Microsoft/Http/Client/index.html +0 -0
  165. lib/Microsoft/Http/Cookie.php +0 -0
  166. lib/Microsoft/Http/CookieJar.php +0 -0
  167. lib/Microsoft/Http/Exception.php +0 -0
  168. lib/Microsoft/Http/Response.php +0 -0
  169. lib/Microsoft/Http/Response/Stream.php +0 -0
  170. lib/Microsoft/Http/Response/index.html +0 -0
  171. lib/Microsoft/Http/index.html +0 -0
  172. lib/Microsoft/Uri.php +0 -0
  173. lib/Microsoft/Uri/Exception.php +0 -0
  174. lib/Microsoft/Uri/Http.php +0 -0
  175. lib/Microsoft/Uri/index.html +0 -0
  176. lib/Microsoft/WindowsAzure/Credentials/CredentialsAbstract.php +0 -0
  177. lib/Microsoft/WindowsAzure/Credentials/Exception.php +0 -0
  178. lib/Microsoft/WindowsAzure/Credentials/SharedAccessSignature.php +0 -0
  179. lib/Microsoft/WindowsAzure/Credentials/SharedKey.php +0 -0
  180. lib/Microsoft/WindowsAzure/Credentials/SharedKeyLite.php +0 -0
  181. lib/Microsoft/WindowsAzure/Credentials/index.html +0 -0
  182. lib/Microsoft/WindowsAzure/Diagnostics/ConfigurationDataSources.php +0 -0
  183. lib/Microsoft/WindowsAzure/Diagnostics/ConfigurationDiagnosticInfrastructureLogs.php +0 -0
  184. lib/Microsoft/WindowsAzure/Diagnostics/ConfigurationDirectories.php +0 -0
  185. lib/Microsoft/WindowsAzure/Diagnostics/ConfigurationInstance.php +0 -0
  186. lib/Microsoft/WindowsAzure/Diagnostics/ConfigurationLogs.php +0 -0
  187. lib/Microsoft/WindowsAzure/Diagnostics/ConfigurationObjectBaseAbstract.php +0 -0
  188. lib/Microsoft/WindowsAzure/Diagnostics/ConfigurationPerformanceCounters.php +0 -0
  189. lib/Microsoft/WindowsAzure/Diagnostics/ConfigurationWindowsEventLog.php +0 -0
  190. lib/Microsoft/WindowsAzure/Diagnostics/DirectoryConfigurationSubscription.php +0 -0
  191. lib/Microsoft/WindowsAzure/Diagnostics/Exception.php +0 -0
  192. lib/Microsoft/WindowsAzure/Diagnostics/LogLevel.php +0 -0
  193. lib/Microsoft/WindowsAzure/Diagnostics/Manager.php +0 -0
  194. lib/Microsoft/WindowsAzure/Diagnostics/PerformanceCounterSubscription.php +0 -0
  195. lib/Microsoft/WindowsAzure/Diagnostics/index.html +0 -0
  196. lib/Microsoft/WindowsAzure/Exception.php +0 -0
  197. lib/Microsoft/WindowsAzure/RetryPolicy/Exception.php +0 -0
  198. lib/Microsoft/WindowsAzure/RetryPolicy/NoRetry.php +0 -0
  199. lib/Microsoft/WindowsAzure/RetryPolicy/RetryN.php +0 -0
  200. lib/Microsoft/WindowsAzure/RetryPolicy/RetryPolicyAbstract.php +0 -0
  201. lib/Microsoft/WindowsAzure/RetryPolicy/index.html +0 -0
  202. lib/Microsoft/WindowsAzure/SessionHandler.php +0 -0
  203. lib/Microsoft/WindowsAzure/Storage.php +0 -0
  204. lib/Microsoft/WindowsAzure/Storage/Batch.php +0 -0
  205. lib/Microsoft/WindowsAzure/Storage/BatchStorageAbstract.php +0 -0
  206. lib/Microsoft/WindowsAzure/Storage/Blob.php +0 -0
  207. lib/Microsoft/WindowsAzure/Storage/Blob/Stream.php +0 -0
  208. lib/Microsoft/WindowsAzure/Storage/Blob/index.html +0 -0
  209. lib/Microsoft/WindowsAzure/Storage/BlobContainer.php +0 -0
  210. lib/Microsoft/WindowsAzure/Storage/BlobInstance.php +0 -0
  211. lib/Microsoft/WindowsAzure/Storage/DynamicTableEntity.php +0 -0
  212. lib/Microsoft/WindowsAzure/Storage/LeaseInstance.php +0 -0
  213. lib/Microsoft/WindowsAzure/Storage/PageRegionInstance.php +0 -0
  214. lib/Microsoft/WindowsAzure/Storage/Queue.php +0 -0
  215. lib/Microsoft/WindowsAzure/Storage/QueueInstance.php +0 -0
  216. lib/Microsoft/WindowsAzure/Storage/QueueMessage.php +0 -0
  217. lib/Microsoft/WindowsAzure/Storage/SignedIdentifier.php +0 -0
  218. lib/Microsoft/WindowsAzure/Storage/StorageEntityAbstract.php +0 -0
  219. lib/Microsoft/WindowsAzure/Storage/Table.php +0 -0
  220. lib/Microsoft/WindowsAzure/Storage/TableEntity.php +0 -0
  221. lib/Microsoft/WindowsAzure/Storage/TableEntityQuery.php +0 -0
  222. lib/Microsoft/WindowsAzure/Storage/TableInstance.php +0 -0
  223. lib/Microsoft/WindowsAzure/Storage/index.html +0 -0
  224. lib/Microsoft/WindowsAzure/index.html +0 -0
  225. lib/Microsoft/index.html +0 -0
  226. lib/Minify/FirePHP.php +0 -0
  227. lib/Minify/HTTP/ConditionalGet.php +0 -0
  228. lib/Minify/HTTP/Encoder.php +0 -0
  229. lib/Minify/HTTP/index.html +0 -0
  230. lib/Minify/JSMin.php +0 -0
  231. lib/Minify/JSMinPlus.php +0 -0
  232. lib/Minify/Minify.php +0 -0
  233. lib/Minify/Minify/Build.php +0 -0
  234. lib/Minify/Minify/CSS.php +0 -0
  235. lib/Minify/Minify/CSS/Compressor.php +0 -0
  236. lib/Minify/Minify/CSS/UriRewriter.php +0 -0
  237. lib/Minify/Minify/CSS/index.html +0 -0
  238. lib/Minify/Minify/CSSTidy.php +0 -0
  239. lib/Minify/Minify/Cache/APC.php +0 -0
  240. lib/Minify/Minify/Cache/Eaccelerator.php +0 -0
  241. lib/Minify/Minify/Cache/File.php +0 -0
  242. lib/Minify/Minify/Cache/Memcache.php +0 -0
  243. lib/Minify/Minify/Cache/Wincache.php +0 -0
  244. lib/Minify/Minify/Cache/XCache.php +0 -0
  245. lib/Minify/Minify/Cache/index.html +0 -0
  246. lib/Minify/Minify/ClosureCompiler.php +0 -0
  247. lib/Minify/Minify/CombineOnly.php +0 -0
  248. lib/Minify/Minify/CommentPreserver.php +0 -0
  249. lib/Minify/Minify/Controller/Base.php +0 -0
  250. lib/Minify/Minify/Controller/Files.php +0 -0
  251. lib/Minify/Minify/Controller/Groups.php +0 -0
  252. lib/Minify/Minify/Controller/MinApp.php +0 -0
  253. lib/Minify/Minify/Controller/Page.php +0 -0
  254. lib/Minify/Minify/Controller/Version1.php +0 -0
  255. lib/Minify/Minify/Controller/index.html +0 -0
  256. lib/Minify/Minify/HTML.php +0 -0
  257. lib/Minify/Minify/HTMLTidy.php +0 -0
  258. lib/Minify/Minify/IgnoredCommentPreserver.php +0 -0
  259. lib/Minify/Minify/ImportProcessor.php +0 -0
  260. lib/Minify/Minify/Inline.php +0 -0
  261. lib/Minify/Minify/Inline/CSS.php +0 -0
  262. lib/Minify/Minify/Inline/JavaScript.php +0 -0
  263. lib/Minify/Minify/Inline/index.html +0 -0
  264. lib/Minify/Minify/Lines.php +0 -0
  265. lib/Minify/Minify/Logger.php +0 -0
  266. lib/Minify/Minify/Packer.php +0 -0
  267. lib/Minify/Minify/Source.php +0 -0
  268. lib/Minify/Minify/YUICompressor.php +0 -0
  269. lib/Minify/Minify/index.html +0 -0
  270. lib/Minify/Solar/Dir.php +0 -0
  271. lib/Minify/Solar/index.html +0 -0
  272. lib/Minify/index.html +0 -0
  273. lib/NetDNA/CurlException.php +0 -0
  274. lib/NetDNA/NetDNA.php +6 -6
  275. lib/NetDNA/NetDNAPresentation.php +0 -0
  276. lib/NewRelic/NewRelicAPI.php +0 -0
  277. lib/NewRelic/NewRelicPresentation.php +0 -0
  278. lib/NewRelic/NewRelicWrapper.php +0 -0
  279. lib/Nusoap/class.nusoap_base.php +0 -0
  280. lib/Nusoap/class.soap_fault.php +0 -0
  281. lib/Nusoap/class.soap_parser.php +0 -0
  282. lib/Nusoap/class.soap_transport_http.php +0 -0
  283. lib/Nusoap/class.soap_val.php +0 -0
  284. lib/Nusoap/class.soapclient.php +0 -0
  285. lib/Nusoap/class.wsdl.php +0 -0
  286. lib/Nusoap/class.wsdlcache.php +0 -0
  287. lib/Nusoap/class.xmlschema.php +0 -0
  288. lib/Nusoap/index.html +0 -0
  289. lib/Nusoap/nusoap.php +0 -0
  290. lib/OAuth/NetDNAOAuthClient.php +0 -78
  291. lib/OAuth/OAuthClientBase.php +3 -3
  292. lib/OAuth/OAuthService.php +1 -9
  293. lib/OAuth/{OAuth.php → W3tcOAuth.php} +43 -42
  294. lib/OAuth/config.php +0 -20
  295. lib/S3.php +0 -0
  296. lib/SNS/README.md +0 -0
  297. lib/SNS/lib/requestcore/LICENSE +0 -0
  298. lib/SNS/lib/requestcore/README.md +0 -0
  299. lib/SNS/lib/requestcore/cacert.pem +0 -0
  300. lib/SNS/lib/requestcore/requestcore.class.php +0 -0
  301. lib/SNS/sdk.class.php +0 -0
  302. lib/SNS/services/sns.class.php +0 -0
  303. lib/SNS/utilities/request.class.php +0 -0
  304. lib/SNS/utilities/response.class.php +0 -0
  305. lib/SNS/utilities/simplexml.class.php +0 -0
  306. lib/SNS/utilities/utilities.class.php +0 -0
  307. lib/W3/AdminCompatibility.php +0 -0
  308. lib/W3/AdminEnvironment.php +0 -0
  309. lib/W3/AdminLinks.php +0 -0
  310. lib/W3/BrowserCacheAdminEnvironment.php +0 -0
  311. lib/W3/Cache.php +0 -0
  312. lib/W3/Cache/Apc.php +0 -0
  313. lib/W3/Cache/Base.php +0 -0
  314. lib/W3/Cache/Eaccelerator.php +0 -0
  315. lib/W3/Cache/File.php +0 -0
  316. lib/W3/Cache/File/Cleaner.php +0 -0
  317. lib/W3/Cache/File/Cleaner/Generic.php +0 -0
  318. lib/W3/Cache/File/Cleaner/index.html +0 -0
  319. lib/W3/Cache/File/Generic.php +0 -0
  320. lib/W3/Cache/File/index.html +0 -0
  321. lib/W3/Cache/Memcached.php +0 -0
  322. lib/W3/Cache/Wincache.php +0 -0
  323. lib/W3/Cache/Xcache.php +0 -0
  324. lib/W3/Cache/index.html +0 -0
  325. lib/W3/CacheCase.php +0 -0
  326. lib/W3/CacheFlush.php +0 -0
  327. lib/W3/CacheFlushLocal.php +0 -0
  328. lib/W3/Cdn.php +0 -0
  329. lib/W3/Cdn/Azure.php +0 -0
  330. lib/W3/Cdn/Base.php +12 -10
  331. lib/W3/Cdn/Ftp.php +0 -0
  332. lib/W3/Cdn/Mirror.php +0 -0
  333. lib/W3/Cdn/Mirror/Akamai.php +0 -0
  334. lib/W3/Cdn/Mirror/Att.php +0 -0
  335. lib/W3/Cdn/Mirror/Cotendo.php +0 -0
  336. lib/W3/Cdn/Mirror/Edgecast.php +0 -0
  337. lib/W3/Cdn/Mirror/MaxCDN.php +0 -0
  338. lib/W3/Cdn/Mirror/Netdna.php +0 -0
  339. lib/W3/Cdn/Mirror/index.html +0 -0
  340. lib/W3/Cdn/Rscf.php +0 -0
  341. lib/W3/Cdn/S3.php +0 -0
  342. lib/W3/Cdn/S3/Cf.php +0 -0
  343. lib/W3/Cdn/S3/Cf/Custom.php +0 -0
  344. lib/W3/Cdn/S3/Cf/S3.php +0 -0
  345. lib/W3/Cdn/S3/Cf/index.html +0 -0
  346. lib/W3/Cdn/S3/index.html +0 -0
  347. lib/W3/Cdn/index.html +0 -0
  348. lib/W3/CdnAdminEnvironment.php +0 -0
  349. lib/W3/CdnCacheFlush.php +0 -0
  350. lib/W3/Cli.php +0 -0
  351. lib/W3/CloudFlare.php +0 -0
  352. lib/W3/Config.php +0 -0
  353. lib/W3/ConfigAdmin.php +0 -0
  354. lib/W3/ConfigBase.php +0 -0
  355. lib/W3/ConfigData.php +0 -0
  356. lib/W3/ConfigKeys.php +4 -0
  357. lib/W3/ConfigWriter.php +0 -0
  358. lib/W3/Db.php +0 -0
  359. lib/W3/Db/index.html +0 -0
  360. lib/W3/Db/mssql.php +0 -0
  361. lib/W3/DbCache.php +0 -0
  362. lib/W3/DbCacheAdminEnvironment.php +0 -0
  363. lib/W3/Dispatcher.php +0 -0
  364. lib/W3/Enterprise/DbCluster.php +0 -0
  365. lib/W3/Enterprise/SnsBase.php +0 -0
  366. lib/W3/Enterprise/SnsClient.php +0 -0
  367. lib/W3/Enterprise/SnsServer.php +0 -0
  368. lib/W3/Environment/WpLoader.php +0 -0
  369. lib/W3/GenericAdminEnvironment.php +0 -0
  370. lib/W3/Minifier.php +0 -0
  371. lib/W3/Minify.php +6 -1
  372. lib/W3/MinifyAdminEnvironment.php +0 -0
  373. lib/W3/Mobile.php +0 -0
  374. lib/W3/ModuleStatus.php +0 -0
  375. lib/W3/NewRelicAdminEnvironment.php +0 -0
  376. lib/W3/NewRelicService.php +0 -0
  377. lib/W3/ObjectCache.php +0 -0
  378. lib/W3/ObjectCacheAdminEnvironment.php +0 -0
  379. lib/W3/ObjectCacheBridge.php +0 -0
  380. lib/W3/PageSpeed.php +0 -0
  381. lib/W3/PgCache.php +3 -3
  382. lib/W3/PgCacheAdminEnvironment.php +0 -0
  383. lib/W3/PgCacheFlush.php +0 -0
  384. lib/W3/Plugin.php +0 -0
  385. lib/W3/Plugin/BrowserCache.php +0 -0
  386. lib/W3/Plugin/Cdn.php +0 -0
  387. lib/W3/Plugin/CdnAdmin.php +0 -0
  388. lib/W3/Plugin/CdnCache.php +0 -0
  389. lib/W3/Plugin/CdnCommon.php +0 -0
  390. lib/W3/Plugin/CloudFlare.php +0 -0
  391. lib/W3/Plugin/CloudFlareAdmin.php +0 -0
  392. lib/W3/Plugin/DbCache.php +0 -0
  393. lib/W3/Plugin/Minify.php +0 -0
  394. lib/W3/Plugin/MinifyAdmin.php +16 -14
  395. lib/W3/Plugin/NewRelic.php +0 -0
  396. lib/W3/Plugin/NewRelicAdmin.php +0 -0
  397. lib/W3/Plugin/ObjectCache.php +0 -0
  398. lib/W3/Plugin/PgCache.php +0 -0
  399. lib/W3/Plugin/PgCacheAdmin.php +0 -0
  400. lib/W3/Plugin/TotalCache.php +2 -2
  401. lib/W3/Plugin/TotalCacheAdmin.php +0 -0
  402. lib/W3/Plugin/Varnish.php +0 -0
  403. lib/W3/Plugin/index.html +0 -0
  404. lib/W3/Pro/FragmentCache.php +0 -0
  405. lib/W3/Pro/FragmentCacheAdminEnvironment.php +0 -0
  406. lib/W3/Pro/Plugin/FragmentCache.php +0 -0
  407. lib/W3/Pro/Plugin/FragmentCacheAdmin.php +0 -0
  408. lib/W3/Redirect.php +0 -0
  409. lib/W3/Referrer.php +0 -0
  410. lib/W3/Request.php +0 -0
  411. lib/W3/Root.php +0 -0
  412. lib/W3/RootAdminActivation.php +0 -0
  413. lib/W3/SharedPageUrls.php +0 -0
  414. lib/W3/SharedRules.php +0 -0
  415. lib/W3/Varnish.php +0 -0
  416. lib/W3/VarnishFlush.php +0 -0
  417. lib/W3/Widget/Forum.php +0 -0
  418. lib/W3/Widget/MaxCDN.php +0 -0
  419. lib/W3/Widget/NetDNA.php +0 -0
  420. lib/W3/Widget/NewRelic.php +0 -0
  421. lib/W3/Widget/News.php +0 -0
  422. lib/W3/Widget/PageSpeed.php +0 -0
  423. lib/W3/Widget/Services.php +0 -0
  424. lib/W3/Widget/SpreadTheWord.php +0 -0
  425. lib/W3/index.html +0 -0
  426. lib/index.html +0 -0
  427. pub/apc.php +0 -0
  428. pub/css/error.css +0 -0
  429. pub/css/index.html +0 -0
  430. pub/css/lightbox.css +0 -0
  431. pub/css/options.css +0 -0
  432. pub/css/popup.css +0 -0
  433. pub/css/widget.css +0 -0
  434. pub/files.php +0 -0
  435. pub/img/W3TC_dashboard_logo_title-retina.png +0 -0
  436. pub/img/W3TC_dashboard_logo_title.png +0 -0
  437. pub/img/button-grad-active.png +0 -0
  438. pub/img/button-grad.png +0 -0
  439. pub/img/close.png +0 -0
  440. pub/img/google-logo.png +0 -0
  441. pub/img/index.html +0 -0
  442. pub/img/open.png +0 -0
  443. pub/img/ps_bar.gif +0 -0
  444. pub/img/ps_grad.gif +0 -0
  445. pub/img/ps_scores.png +0 -0
  446. pub/img/sidebar-background.png +0 -0
  447. pub/img/w3tc-sprite-retina.png +0 -0
  448. pub/img/w3tc-sprite.png +0 -0
  449. pub/img/w3tc_google-logo-retina.png +0 -0
  450. pub/img/w3tc_google-logo.png +0 -0
  451. pub/img/w3tc_maxcdn-logo-retina.png +0 -0
  452. pub/img/w3tc_maxcdn-logo.png +0 -0
  453. pub/img/w3tc_netdna-logo-retina.png +0 -0
  454. pub/img/w3tc_netdna-logo.png +0 -0
  455. pub/img/w3tc_newrelic-logo-retina.png +0 -0
  456. pub/img/w3tc_newrelic-logo.png +0 -0
  457. pub/img/w3tc_w3edge-logo-retina.png +0 -0
  458. pub/img/w3tc_w3edge-logo.png +0 -0
  459. pub/img/w3tc_w3tc-logo-retina.png +0 -0
  460. pub/img/w3tc_w3tc-logo.png +0 -0
  461. pub/img/white-grad-active.png +0 -0
  462. pub/img/white-grad.png +0 -0
  463. pub/img/wpspin_light.gif +0 -0
  464. pub/index.html +0 -0
  465. pub/js/index.html +0 -0
  466. pub/js/jquery.masonry.min.js +0 -0
  467. pub/js/lightbox.js +0 -0
  468. pub/js/metadata.js +0 -0
  469. pub/js/options.js +8 -1
  470. pub/js/popup.js +0 -0
  471. pub/js/widget.js +0 -0
  472. pub/minify.php +0 -0
  473. pub/sns.php +0 -0
  474. readme.txt +19 -2
  475. w3-total-cache.php +1 -1
  476. wp-content/advanced-cache.php +0 -0
  477. wp-content/db.php +0 -0
  478. wp-content/index.html +0 -0
  479. wp-content/object-cache.php +0 -0
inc/define.php CHANGED
@@ -5,7 +5,7 @@ if (!defined('ABSPATH')) {
5
  }
6
 
7
  define('W3TC', true);
8
- define('W3TC_VERSION', '0.9.2.10');
9
  define('W3TC_POWERED_BY', 'W3 Total Cache/' . W3TC_VERSION);
10
  define('W3TC_EMAIL', 'w3tc@w3-edge.com');
11
  define('W3TC_TEXT_DOMAIN', 'w3-total-cache');
@@ -110,6 +110,15 @@ function w3_is_xml($content) {
110
  return (stripos($content, '<?xml') === 0 || stripos($content, '<html') === 0 || stripos($content, '<!DOCTYPE') === 0);
111
  }
112
 
 
 
 
 
 
 
 
 
 
113
  /*
114
  * Returns URI from filename/dirname
115
  *
5
  }
6
 
7
  define('W3TC', true);
8
+ define('W3TC_VERSION', '0.9.2.11');
9
  define('W3TC_POWERED_BY', 'W3 Total Cache/' . W3TC_VERSION);
10
  define('W3TC_EMAIL', 'w3tc@w3-edge.com');
11
  define('W3TC_TEXT_DOMAIN', 'w3-total-cache');
110
  return (stripos($content, '<?xml') === 0 || stripos($content, '<html') === 0 || stripos($content, '<!DOCTYPE') === 0);
111
  }
112
 
113
+ /**
114
+ * If content can handle HTML comments, can disable printout per request using filter 'w3tc_can_print_comment'
115
+ * @param $buffer
116
+ * @return bool
117
+ */
118
+ function w3_can_print_comment(&$buffer) {
119
+ return apply_filters('w3tc_can_print_comment', w3_is_xml($buffer) && !defined('DOING_AJAX'));
120
+ }
121
+
122
  /*
123
  * Returns URI from filename/dirname
124
  *
inc/email/index.html CHANGED
File without changes
inc/email/minify_error_notification.html CHANGED
File without changes
inc/email/minify_error_notification.php CHANGED
File without changes
inc/email/support_request.php CHANGED
File without changes
inc/error.php CHANGED
File without changes
inc/functions/activation.php CHANGED
File without changes
inc/functions/compat.php CHANGED
File without changes
inc/functions/extract.php CHANGED
File without changes
inc/functions/file.php CHANGED
File without changes
inc/functions/http.php CHANGED
File without changes
inc/functions/ip_in_range.php CHANGED
File without changes
inc/functions/mime.php CHANGED
File without changes
inc/functions/multisite.php CHANGED
File without changes
inc/functions/other.php CHANGED
File without changes
inc/functions/plugin.php CHANGED
File without changes
inc/functions/rule.php CHANGED
File without changes
inc/functions/rule_cut.php CHANGED
File without changes
inc/functions/ui.php CHANGED
File without changes
inc/functions/update.php CHANGED
File without changes
inc/functions/url.php CHANGED
File without changes
inc/functions/widgets.php CHANGED
File without changes
inc/index.html CHANGED
File without changes
inc/lightbox/cdn_s3_bucket_location.php CHANGED
File without changes
inc/lightbox/create_netdna_maxcdn_pull_zone.php CHANGED
File without changes
inc/lightbox/index.html CHANGED
File without changes
inc/lightbox/minify_recommendations.php CHANGED
File without changes
inc/lightbox/self_test.php CHANGED
File without changes
inc/lightbox/support_us.php CHANGED
File without changes
inc/mime/all.php CHANGED
File without changes
inc/mime/cssjs.php CHANGED
File without changes
inc/mime/html.php CHANGED
File without changes
inc/mime/index.html CHANGED
File without changes
inc/mime/other.php CHANGED
File without changes
inc/options/about.php CHANGED
File without changes
inc/options/cdn.php CHANGED
File without changes
inc/options/cdn/akamai.php CHANGED
File without changes
inc/options/cdn/att.php CHANGED
File without changes
inc/options/cdn/azure.php CHANGED
File without changes
inc/options/cdn/cf.php CHANGED
File without changes
inc/options/cdn/cf2.php CHANGED
File without changes
inc/options/cdn/common/cnames.php CHANGED
File without changes
inc/options/cdn/common/index.html CHANGED
File without changes
inc/options/cdn/cotendo.php CHANGED
File without changes
inc/options/cdn/edgecast.php CHANGED
File without changes
inc/options/cdn/ftp.php CHANGED
File without changes
inc/options/cdn/index.html CHANGED
File without changes
inc/options/cdn/maxcdn.php CHANGED
File without changes
inc/options/cdn/mirror.php CHANGED
File without changes
inc/options/cdn/netdna.php CHANGED
File without changes
inc/options/cdn/rscf.php CHANGED
File without changes
inc/options/cdn/s3.php CHANGED
File without changes
inc/options/common/footer.php CHANGED
File without changes
inc/options/common/header.php CHANGED
File without changes
inc/options/common/help.php CHANGED
File without changes
inc/options/common/index.html CHANGED
File without changes
inc/options/dashboard.php CHANGED
File without changes
inc/options/dbcache.php CHANGED
File without changes
inc/options/enterprise/dbcluster-config.php CHANGED
File without changes
inc/options/enterprise/dbcluster_general_section.php CHANGED
File without changes
inc/options/faq.php CHANGED
File without changes
inc/options/general.php CHANGED
@@ -56,9 +56,9 @@
56
  </td>
57
  </tr>
58
  <tr>
59
- <th><?php _e('Page cache method:', 'w3-total-cache'); ?></th>
60
  <td>
61
- <select name="pgcache.engine" <?php $this->sealing_disabled('pgcache') ?>>
62
  <optgroup label="<?php _e('Shared Server (disk enhanced is best):', 'w3-total-cache'); ?>">
63
  <option value="file"<?php selected($this->_config->get_string('pgcache.engine'), 'file'); ?>><?php _e('Disk: Basic', 'w3-total-cache'); ?></option>
64
  <option value="file_generic"<?php selected($this->_config->get_string('pgcache.engine'), 'file_generic'); ?><?php if (! $check_rules): ?> disabled="disabled"<?php endif; ?>><?php _e('Disk: Enhanced', 'w3-total-cache'); ?></option>
56
  </td>
57
  </tr>
58
  <tr>
59
+ <th><label for="pgcache_engine"><?php _e('Page cache method:', 'w3-total-cache'); ?></label></th>
60
  <td>
61
+ <select id="pgcache_engine" name="pgcache.engine" <?php $this->sealing_disabled('pgcache') ?>>
62
  <optgroup label="<?php _e('Shared Server (disk enhanced is best):', 'w3-total-cache'); ?>">
63
  <option value="file"<?php selected($this->_config->get_string('pgcache.engine'), 'file'); ?>><?php _e('Disk: Basic', 'w3-total-cache'); ?></option>
64
  <option value="file_generic"<?php selected($this->_config->get_string('pgcache.engine'), 'file_generic'); ?><?php if (! $check_rules): ?> disabled="disabled"<?php endif; ?>><?php _e('Disk: Enhanced', 'w3-total-cache'); ?></option>
inc/options/index.html CHANGED
File without changes
inc/options/install.php CHANGED
File without changes
inc/options/minify.php CHANGED
@@ -408,14 +408,17 @@
408
  <table class="form-table">
409
  <?php if ($auto):?>
410
  <tr>
411
- <th><label for="minify_auto_filename_length">Filename length:</label></th>
412
- <td><input id="minify_auto_filename_length" name="minify.auto.filename_length" type="text" size="4" value="<?php echo $this->_config->get_integer('minify.auto.filename_length')?>" />
413
- <br /><span class="description">Maximum filename length to enter is 246. Change this value to decrease or
 
 
 
414
  increase the number of minified files that are generated.
415
  The more JS/CSS files you have the more files will be generated since the filenames are combined in
416
- the filename. This is only applicable when using Minify Auto.
417
  </span>
418
- </td>
419
  </tr>
420
  <?php endif ?>
421
  <?php if ($this->_config->get_string('minify.engine') == 'memcached'): ?>
408
  <table class="form-table">
409
  <?php if ($auto):?>
410
  <tr>
411
+ <th colspan="2"><?php $this->checkbox('minify.auto.disable_filename_length_test')?> <?php _e('Disable Minify Auto automatic filename test', 'w3-total-cache') ?></label><br />
412
+ <span class="description"><?php _e('Disables functionality that tries to find optimal filename length for Minify Auto files. Needs to be checked to be able to set manual filename length below.', 'w3-total-cache')?></span><br />
413
+ <br />
414
+ <label for="minify_auto_filename_length">Filename length:</label>
415
+ <input id="minify_auto_filename_length" name="minify.auto.filename_length" type="text" size="4" <?php disabled($this->_config->get_boolean('minify.auto.disable_filename_length_test'), false) ?> value="<?php echo $this->_config->get_integer('minify.auto.filename_length')?>" />
416
+ <br /><span class="description"><?php _e('Maximum filename length to enter is 246. Change this value to decrease or
417
  increase the number of minified files that are generated.
418
  The more JS/CSS files you have the more files will be generated since the filenames are combined in
419
+ the filename. This is only applicable when using Minify Auto.', 'w3-total-cache') ?>
420
  </span>
421
+ </th>
422
  </tr>
423
  <?php endif ?>
424
  <?php if ($this->_config->get_string('minify.engine') == 'memcached'): ?>
inc/options/minify/ccjs.php CHANGED
File without changes
inc/options/minify/ccjs2.php CHANGED
File without changes
inc/options/minify/css.php CHANGED
File without changes
inc/options/minify/csstidy.php CHANGED
File without changes
inc/options/minify/csstidy2.php CHANGED
File without changes
inc/options/minify/html.php CHANGED
File without changes
inc/options/minify/htmltidy.php CHANGED
File without changes
inc/options/minify/htmltidy2.php CHANGED
File without changes
inc/options/minify/index.html CHANGED
File without changes
inc/options/minify/js.php CHANGED
File without changes
inc/options/minify/yuicss2.php CHANGED
File without changes
inc/options/minify/yuijs.php CHANGED
File without changes
inc/options/minify/yuijs2.php CHANGED
File without changes
inc/options/mobile.php CHANGED
File without changes
inc/options/new_relic.php CHANGED
File without changes
inc/options/objectcache.php CHANGED
File without changes
inc/options/pgcache.php CHANGED
File without changes
inc/options/pro/fragmentcache.php CHANGED
File without changes
inc/options/pro/fragmentcache_general_section.php CHANGED
File without changes
inc/options/referrer.php CHANGED
File without changes
inc/options/support.php CHANGED
File without changes
inc/options/support/form.php CHANGED
File without changes
inc/options/support/form/bug_report.php CHANGED
File without changes
inc/options/support/form/email_support.php CHANGED
File without changes
inc/options/support/form/index.html CHANGED
File without changes
inc/options/support/form/linux_config.php CHANGED
File without changes
inc/options/support/form/new_feature.php CHANGED
File without changes
inc/options/support/form/phone_support.php CHANGED
File without changes
inc/options/support/form/plugin_config.php CHANGED
File without changes
inc/options/support/form/theme_config.php CHANGED
File without changes
inc/options/support/index.html CHANGED
File without changes
inc/options/support/payment.php CHANGED
File without changes
inc/options/support/select.php CHANGED
File without changes
inc/popup/cdn_export_file.php CHANGED
File without changes
inc/popup/cdn_export_library.php CHANGED
File without changes
inc/popup/cdn_import_library.php CHANGED
File without changes
inc/popup/cdn_purge.php CHANGED
File without changes
inc/popup/cdn_queue.php CHANGED
File without changes
inc/popup/cdn_rename_domain.php CHANGED
File without changes
inc/popup/common/footer.php CHANGED
File without changes
inc/popup/common/header.php CHANGED
File without changes
inc/popup/common/index.html CHANGED
File without changes
inc/popup/index.html CHANGED
File without changes
inc/popup/pagespeed_results.php CHANGED
File without changes
inc/widget/index.html CHANGED
File without changes
inc/widget/latest.php CHANGED
File without changes
inc/widget/latest_ajax.php CHANGED
File without changes
inc/widget/latest_control.php CHANGED
File without changes
inc/widget/latest_news.php CHANGED
File without changes
inc/widget/latest_news_ajax.php CHANGED
File without changes
inc/widget/latest_news_control.php CHANGED
File without changes
inc/widget/maxcdn.php CHANGED
File without changes
inc/widget/maxcdn_signup.php CHANGED
File without changes
inc/widget/netdna.php CHANGED
File without changes
inc/widget/netdna_signup.php CHANGED
File without changes
inc/widget/new_relic.php CHANGED
File without changes
inc/widget/pagespeed.php CHANGED
File without changes
inc/widget/pagespeed_control.php CHANGED
File without changes
inc/widget/services.php CHANGED
File without changes
inc/widget/spreadtheword.php CHANGED
File without changes
index.html CHANGED
File without changes
ini/apc.ini CHANGED
File without changes
ini/dbcluster-config-sample.php CHANGED
File without changes
ini/eaccelerator.ini CHANGED
File without changes
ini/index.html CHANGED
File without changes
ini/memcache.ini CHANGED
File without changes
ini/nginx-network-sample-config.conf CHANGED
File without changes
ini/nginx-standalone-sample-config.conf CHANGED
File without changes
ini/php.append.ini CHANGED
File without changes
ini/s3-sample-policy.txt CHANGED
File without changes
ini/varnish-sample-config.vcl CHANGED
File without changes
ini/xcache.ini CHANGED
File without changes
languages/faq-en_US.xml CHANGED
File without changes
languages/faq-premium-en_US.xml CHANGED
File without changes
languages/w3-total-cache-nl_NL.mo CHANGED
File without changes
languages/w3-total-cache-nl_NL.po CHANGED
File without changes
languages/w3-total-cache-pl_PL.po CHANGED
File without changes
languages/w3-total-cache.pot CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: W3 Total Cache\n"
4
- "POT-Creation-Date: 2013-05-13 15:46+0100\n"
5
- "PO-Revision-Date: 2013-05-13 15:46+0100\n"
6
  "Last-Translator: Andreas Nurbo <andreas@cyonitesystems.com>\n"
7
  "Language-Team: W3 EDGE\n"
8
  "Language: en_US\n"
@@ -868,7 +868,7 @@ msgstr ""
868
  #: inc/options/general.php:735 inc/options/general.php:765
869
  #: inc/options/minify.php:76 inc/options/minify.php:132
870
  #: inc/options/minify.php:286 inc/options/minify.php:403
871
- #: inc/options/minify.php:501 inc/options/mobile.php:83
872
  #: inc/options/objectcache.php:83 inc/options/pgcache.php:95
873
  #: inc/options/pgcache.php:142 inc/options/pgcache.php:229
874
  #: inc/options/pgcache.php:390 inc/options/referrer.php:83
@@ -895,8 +895,8 @@ msgstr ""
895
  #: inc/options/browsercache.php:137 inc/options/browsercache.php:228
896
  #: inc/options/browsercache.php:303 inc/options/cdn.php:208
897
  #: inc/options/cdn.php:217 inc/options/dbcache.php:53
898
- #: inc/options/dbcache.php:61 inc/options/minify.php:440
899
- #: inc/options/minify.php:449 inc/options/objectcache.php:41
900
  #: inc/options/objectcache.php:49 inc/options/pgcache.php:111
901
  #: inc/options/pgcache.php:275 inc/options/pgcache.php:285
902
  #: inc/options/pgcache.php:292 inc/options/pro/fragmentcache.php:63
@@ -1247,7 +1247,7 @@ msgid ""
1247
  "currentblog&gt;/."
1248
  msgstr ""
1249
 
1250
- #: inc/options/cdn.php:273 inc/options/minify.php:478
1251
  #: inc/options/pgcache.php:306
1252
  msgid "Rejected user agents:"
1253
  msgstr ""
@@ -1277,7 +1277,7 @@ msgid ""
1277
  msgstr ""
1278
 
1279
  #: inc/options/cdn.php:305 inc/options/install.php:269
1280
- #: inc/options/minify.php:505 inc/options/mobile.php:87
1281
  #: inc/options/support/form.php:6
1282
  msgid "Note(s):"
1283
  msgstr ""
@@ -1384,7 +1384,7 @@ msgid ""
1384
  "Enabling this option is recommended to maintain default WordPress behavior."
1385
  msgstr ""
1386
 
1387
- #: inc/options/dbcache.php:38 inc/options/minify.php:423
1388
  #: inc/options/objectcache.php:27 inc/options/pgcache.php:237
1389
  #: inc/options/pro/fragmentcache.php:50
1390
  msgid ""
@@ -1392,13 +1392,13 @@ msgid ""
1392
  "port:"
1393
  msgstr ""
1394
 
1395
- #: inc/options/dbcache.php:42 inc/options/minify.php:429
1396
  #: inc/options/objectcache.php:31 inc/options/pgcache.php:245
1397
  #: inc/options/pro/fragmentcache.php:54
1398
  msgid "Test"
1399
  msgstr ""
1400
 
1401
- #: inc/options/dbcache.php:44 inc/options/minify.php:431
1402
  #: inc/options/objectcache.php:33 inc/options/pgcache.php:247
1403
  #: inc/options/pro/fragmentcache.php:56
1404
  msgid ""
@@ -1417,13 +1417,13 @@ msgid ""
1417
  "the value, the larger the cache."
1418
  msgstr ""
1419
 
1420
- #: inc/options/dbcache.php:58 inc/options/minify.php:445
1421
  #: inc/options/objectcache.php:46 inc/options/pgcache.php:281
1422
  #: inc/options/pro/fragmentcache.php:68
1423
  msgid "Garbage collection interval:"
1424
  msgstr ""
1425
 
1426
- #: inc/options/dbcache.php:62 inc/options/minify.php:450
1427
  #: inc/options/objectcache.php:50 inc/options/pgcache.php:286
1428
  #: inc/options/pro/fragmentcache.php:71
1429
  msgid ""
@@ -2831,61 +2831,81 @@ msgstr ""
2831
  msgid "Add a style sheet"
2832
  msgstr ""
2833
 
2834
- #: inc/options/minify.php:436
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2835
  msgid "Update external files every:"
2836
  msgstr ""
2837
 
2838
- #: inc/options/minify.php:441
2839
  msgid ""
2840
  "Specify the interval between download and update of external files in the "
2841
  "minify cache. Hint: 6 hours is 21600 seconds. 12 hours is 43200 seconds. 24 "
2842
  "hours is 86400 seconds."
2843
  msgstr ""
2844
 
2845
- #: inc/options/minify.php:454
2846
  msgid "Never minify the following pages:"
2847
  msgstr ""
2848
 
2849
- #: inc/options/minify.php:458
2850
  msgid "Always ignore the specified pages / directories."
2851
  msgstr ""
2852
 
2853
- #: inc/options/minify.php:462
2854
  msgid "Never minify the following JS files:"
2855
  msgstr ""
2856
 
2857
- #: inc/options/minify.php:466
2858
  msgid "Always ignore the specified JS files."
2859
  msgstr ""
2860
 
2861
- #: inc/options/minify.php:470
2862
  msgid "Never minify the following CSS files:"
2863
  msgstr ""
2864
 
2865
- #: inc/options/minify.php:474
2866
  msgid "Always ignore the specified CSS files."
2867
  msgstr ""
2868
 
2869
- #: inc/options/minify.php:483
2870
  msgid "Specify user agents that will never receive minified content."
2871
  msgstr ""
2872
 
2873
- #: inc/options/minify.php:488
2874
  msgid "Include external files/libaries:"
2875
  msgstr ""
2876
 
2877
- #: inc/options/minify.php:493
2878
  msgid "Specify external files/libraries that should be combined."
2879
  msgstr ""
2880
 
2881
- #: inc/options/minify.php:510
2882
  msgid ""
2883
  "Enable <acronym title=\"Hypertext Transfer Protocol\">HTTP</acronym> "
2884
  "compression in the \"Cascading Style Sheets &amp; JavaScript\" section on <a "
2885
  "href=\"admin.php?page=w3tc_browsercache\">Browser Cache</a> Settings tab."
2886
  msgstr ""
2887
 
2888
- #: inc/options/minify.php:511
2889
  msgid ""
2890
  "The <acronym title=\"Time to Live\">TTL</acronym> of page cache files is set "
2891
  "via the \"Expires header lifetime\" field in the \"Cascading Style Sheets "
@@ -3816,16 +3836,22 @@ msgstr ""
3816
  msgid "Select the pull zone to use with this site."
3817
  msgstr ""
3818
 
3819
- #: inc/options/cdn/maxcdn.php:18 inc/options/cdn/maxcdn.php:20
3820
- #: inc/options/cdn/netdna.php:18 inc/options/cdn/netdna.php:20
3821
  msgid "Create pull zone:"
3822
  msgstr ""
3823
 
3824
- #: inc/options/cdn/maxcdn.php:18 inc/options/cdn/maxcdn.php:20
3825
- #: inc/options/cdn/netdna.php:18 inc/options/cdn/netdna.php:20
3826
  msgid "Create new pull zone:"
3827
  msgstr ""
3828
 
 
 
 
 
 
 
 
 
3829
  #: inc/options/cdn/maxcdn.php:22 inc/options/cdn/netdna.php:22
3830
  msgid ""
3831
  "Click the Create Pull Zone button above and create a pull zone for this site."
@@ -3847,7 +3873,8 @@ msgid ""
3847
  msgstr ""
3848
 
3849
  #: inc/options/cdn/maxcdn.php:36 inc/options/cdn/netdna.php:36
3850
- #: inc/widget/maxcdn_signup.php:13 lib/W3/Plugin/TotalCacheAdmin.php:1394
 
3851
  #: lib/W3/Plugin/TotalCacheAdmin.php:1414
3852
  msgid "Authorization key"
3853
  msgstr ""
@@ -4787,7 +4814,7 @@ msgid ""
4787
  "CDN:"
4788
  msgstr ""
4789
 
4790
- #: inc/widget/maxcdn_signup.php:17
4791
  msgid "Save key"
4792
  msgstr ""
4793
 
@@ -5305,7 +5332,7 @@ msgid ""
5305
  " when CloudFlare is removed."
5306
  msgstr ""
5307
 
5308
- #: lib/W3/Plugin/MinifyAdmin.php:110
5309
  #, php-format
5310
  msgid ""
5311
  "Minify Auto encountered an error. The filename length value is most likely "
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: W3 Total Cache\n"
4
+ "POT-Creation-Date: 2013-05-16 16:07+0100\n"
5
+ "PO-Revision-Date: 2013-05-16 16:07+0100\n"
6
  "Last-Translator: Andreas Nurbo <andreas@cyonitesystems.com>\n"
7
  "Language-Team: W3 EDGE\n"
8
  "Language: en_US\n"
868
  #: inc/options/general.php:735 inc/options/general.php:765
869
  #: inc/options/minify.php:76 inc/options/minify.php:132
870
  #: inc/options/minify.php:286 inc/options/minify.php:403
871
+ #: inc/options/minify.php:504 inc/options/mobile.php:83
872
  #: inc/options/objectcache.php:83 inc/options/pgcache.php:95
873
  #: inc/options/pgcache.php:142 inc/options/pgcache.php:229
874
  #: inc/options/pgcache.php:390 inc/options/referrer.php:83
895
  #: inc/options/browsercache.php:137 inc/options/browsercache.php:228
896
  #: inc/options/browsercache.php:303 inc/options/cdn.php:208
897
  #: inc/options/cdn.php:217 inc/options/dbcache.php:53
898
+ #: inc/options/dbcache.php:61 inc/options/minify.php:443
899
+ #: inc/options/minify.php:452 inc/options/objectcache.php:41
900
  #: inc/options/objectcache.php:49 inc/options/pgcache.php:111
901
  #: inc/options/pgcache.php:275 inc/options/pgcache.php:285
902
  #: inc/options/pgcache.php:292 inc/options/pro/fragmentcache.php:63
1247
  "currentblog&gt;/."
1248
  msgstr ""
1249
 
1250
+ #: inc/options/cdn.php:273 inc/options/minify.php:481
1251
  #: inc/options/pgcache.php:306
1252
  msgid "Rejected user agents:"
1253
  msgstr ""
1277
  msgstr ""
1278
 
1279
  #: inc/options/cdn.php:305 inc/options/install.php:269
1280
+ #: inc/options/minify.php:508 inc/options/mobile.php:87
1281
  #: inc/options/support/form.php:6
1282
  msgid "Note(s):"
1283
  msgstr ""
1384
  "Enabling this option is recommended to maintain default WordPress behavior."
1385
  msgstr ""
1386
 
1387
+ #: inc/options/dbcache.php:38 inc/options/minify.php:426
1388
  #: inc/options/objectcache.php:27 inc/options/pgcache.php:237
1389
  #: inc/options/pro/fragmentcache.php:50
1390
  msgid ""
1392
  "port:"
1393
  msgstr ""
1394
 
1395
+ #: inc/options/dbcache.php:42 inc/options/minify.php:432
1396
  #: inc/options/objectcache.php:31 inc/options/pgcache.php:245
1397
  #: inc/options/pro/fragmentcache.php:54
1398
  msgid "Test"
1399
  msgstr ""
1400
 
1401
+ #: inc/options/dbcache.php:44 inc/options/minify.php:434
1402
  #: inc/options/objectcache.php:33 inc/options/pgcache.php:247
1403
  #: inc/options/pro/fragmentcache.php:56
1404
  msgid ""
1417
  "the value, the larger the cache."
1418
  msgstr ""
1419
 
1420
+ #: inc/options/dbcache.php:58 inc/options/minify.php:448
1421
  #: inc/options/objectcache.php:46 inc/options/pgcache.php:281
1422
  #: inc/options/pro/fragmentcache.php:68
1423
  msgid "Garbage collection interval:"
1424
  msgstr ""
1425
 
1426
+ #: inc/options/dbcache.php:62 inc/options/minify.php:453
1427
  #: inc/options/objectcache.php:50 inc/options/pgcache.php:286
1428
  #: inc/options/pro/fragmentcache.php:71
1429
  msgid ""
2831
  msgid "Add a style sheet"
2832
  msgstr ""
2833
 
2834
+ #: inc/options/minify.php:411
2835
+ msgid "Disable Minify Auto automatic filename test"
2836
+ msgstr ""
2837
+
2838
+ #: inc/options/minify.php:412
2839
+ msgid ""
2840
+ "Disables functionality that tries to find optimal filename length for Minify "
2841
+ "Auto files. Needs to be checked to be able to set manual filename length "
2842
+ "below."
2843
+ msgstr ""
2844
+
2845
+ #: inc/options/minify.php:416
2846
+ msgid ""
2847
+ "Maximum filename length to enter is 246. Change this value to decrease or\n"
2848
+ " increase the number of minified files that are generated.\n"
2849
+ " The more JS/CSS files you have the more files will be "
2850
+ "generated since the filenames are combined in\n"
2851
+ " the filename. This is only applicable when using Minify Auto."
2852
+ msgstr ""
2853
+
2854
+ #: inc/options/minify.php:439
2855
  msgid "Update external files every:"
2856
  msgstr ""
2857
 
2858
+ #: inc/options/minify.php:444
2859
  msgid ""
2860
  "Specify the interval between download and update of external files in the "
2861
  "minify cache. Hint: 6 hours is 21600 seconds. 12 hours is 43200 seconds. 24 "
2862
  "hours is 86400 seconds."
2863
  msgstr ""
2864
 
2865
+ #: inc/options/minify.php:457
2866
  msgid "Never minify the following pages:"
2867
  msgstr ""
2868
 
2869
+ #: inc/options/minify.php:461
2870
  msgid "Always ignore the specified pages / directories."
2871
  msgstr ""
2872
 
2873
+ #: inc/options/minify.php:465
2874
  msgid "Never minify the following JS files:"
2875
  msgstr ""
2876
 
2877
+ #: inc/options/minify.php:469
2878
  msgid "Always ignore the specified JS files."
2879
  msgstr ""
2880
 
2881
+ #: inc/options/minify.php:473
2882
  msgid "Never minify the following CSS files:"
2883
  msgstr ""
2884
 
2885
+ #: inc/options/minify.php:477
2886
  msgid "Always ignore the specified CSS files."
2887
  msgstr ""
2888
 
2889
+ #: inc/options/minify.php:486
2890
  msgid "Specify user agents that will never receive minified content."
2891
  msgstr ""
2892
 
2893
+ #: inc/options/minify.php:491
2894
  msgid "Include external files/libaries:"
2895
  msgstr ""
2896
 
2897
+ #: inc/options/minify.php:496
2898
  msgid "Specify external files/libraries that should be combined."
2899
  msgstr ""
2900
 
2901
+ #: inc/options/minify.php:513
2902
  msgid ""
2903
  "Enable <acronym title=\"Hypertext Transfer Protocol\">HTTP</acronym> "
2904
  "compression in the \"Cascading Style Sheets &amp; JavaScript\" section on <a "
2905
  "href=\"admin.php?page=w3tc_browsercache\">Browser Cache</a> Settings tab."
2906
  msgstr ""
2907
 
2908
+ #: inc/options/minify.php:514
2909
  msgid ""
2910
  "The <acronym title=\"Time to Live\">TTL</acronym> of page cache files is set "
2911
  "via the \"Expires header lifetime\" field in the \"Cascading Style Sheets "
3836
  msgid "Select the pull zone to use with this site."
3837
  msgstr ""
3838
 
3839
+ #: inc/options/cdn/maxcdn.php:18 inc/options/cdn/netdna.php:18
 
3840
  msgid "Create pull zone:"
3841
  msgstr ""
3842
 
3843
+ #: inc/options/cdn/maxcdn.php:18 inc/options/cdn/netdna.php:18
 
3844
  msgid "Create new pull zone:"
3845
  msgstr ""
3846
 
3847
+ #: inc/options/cdn/maxcdn.php:20 inc/options/cdn/netdna.php:20
3848
+ msgid "Create pull zone"
3849
+ msgstr ""
3850
+
3851
+ #: inc/options/cdn/maxcdn.php:20 inc/options/cdn/netdna.php:20
3852
+ msgid "Create new pull zone"
3853
+ msgstr ""
3854
+
3855
  #: inc/options/cdn/maxcdn.php:22 inc/options/cdn/netdna.php:22
3856
  msgid ""
3857
  "Click the Create Pull Zone button above and create a pull zone for this site."
3873
  msgstr ""
3874
 
3875
  #: inc/options/cdn/maxcdn.php:36 inc/options/cdn/netdna.php:36
3876
+ #: inc/widget/maxcdn_signup.php:13 inc/widget/netdna_signup.php:17
3877
+ #: lib/W3/Plugin/TotalCacheAdmin.php:1394
3878
  #: lib/W3/Plugin/TotalCacheAdmin.php:1414
3879
  msgid "Authorization key"
3880
  msgstr ""
4814
  "CDN:"
4815
  msgstr ""
4816
 
4817
+ #: inc/widget/maxcdn_signup.php:17 inc/widget/netdna_signup.php:21
4818
  msgid "Save key"
4819
  msgstr ""
4820
 
5332
  " when CloudFlare is removed."
5333
  msgstr ""
5334
 
5335
+ #: lib/W3/Plugin/MinifyAdmin.php:112
5336
  #, php-format
5337
  msgid ""
5338
  "Minify Auto encountered an error. The filename length value is most likely "
lib/CF/cacert.pem CHANGED
File without changes
lib/CF/cloudfiles.php CHANGED
File without changes
lib/CF/cloudfiles_exceptions.php CHANGED
File without changes
lib/CF/cloudfiles_http.php CHANGED
File without changes
lib/CF/index.html CHANGED
File without changes
lib/CSSTidy/class.csstidy.php CHANGED
File without changes
lib/CSSTidy/class.csstidy_optimise.php CHANGED
File without changes
lib/CSSTidy/class.csstidy_print.php CHANGED
File without changes
lib/CSSTidy/data.inc.php CHANGED
File without changes
lib/CSSTidy/index.html CHANGED
File without changes
lib/Microsoft/Exception.php CHANGED
File without changes
lib/Microsoft/Http/Client.php CHANGED
File without changes
lib/Microsoft/Http/Client/Adapter/Curl.php CHANGED
File without changes
lib/Microsoft/Http/Client/Adapter/Exception.php CHANGED
File without changes
lib/Microsoft/Http/Client/Adapter/Interface.php CHANGED
File without changes
lib/Microsoft/Http/Client/Adapter/Proxy.php CHANGED
File without changes
lib/Microsoft/Http/Client/Adapter/Socket.php CHANGED
File without changes
lib/Microsoft/Http/Client/Adapter/Stream.php CHANGED
File without changes
lib/Microsoft/Http/Client/Adapter/index.html CHANGED
File without changes
lib/Microsoft/Http/Client/Exception.php CHANGED
File without changes
lib/Microsoft/Http/Client/index.html CHANGED
File without changes
lib/Microsoft/Http/Cookie.php CHANGED
File without changes
lib/Microsoft/Http/CookieJar.php CHANGED
File without changes
lib/Microsoft/Http/Exception.php CHANGED
File without changes
lib/Microsoft/Http/Response.php CHANGED
File without changes
lib/Microsoft/Http/Response/Stream.php CHANGED
File without changes
lib/Microsoft/Http/Response/index.html CHANGED
File without changes
lib/Microsoft/Http/index.html CHANGED
File without changes
lib/Microsoft/Uri.php CHANGED
File without changes
lib/Microsoft/Uri/Exception.php CHANGED
File without changes
lib/Microsoft/Uri/Http.php CHANGED
File without changes
lib/Microsoft/Uri/index.html CHANGED
File without changes
lib/Microsoft/WindowsAzure/Credentials/CredentialsAbstract.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Credentials/Exception.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Credentials/SharedAccessSignature.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Credentials/SharedKey.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Credentials/SharedKeyLite.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Credentials/index.html CHANGED
File without changes
lib/Microsoft/WindowsAzure/Diagnostics/ConfigurationDataSources.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Diagnostics/ConfigurationDiagnosticInfrastructureLogs.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Diagnostics/ConfigurationDirectories.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Diagnostics/ConfigurationInstance.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Diagnostics/ConfigurationLogs.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Diagnostics/ConfigurationObjectBaseAbstract.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Diagnostics/ConfigurationPerformanceCounters.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Diagnostics/ConfigurationWindowsEventLog.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Diagnostics/DirectoryConfigurationSubscription.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Diagnostics/Exception.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Diagnostics/LogLevel.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Diagnostics/Manager.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Diagnostics/PerformanceCounterSubscription.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Diagnostics/index.html CHANGED
File without changes
lib/Microsoft/WindowsAzure/Exception.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/RetryPolicy/Exception.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/RetryPolicy/NoRetry.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/RetryPolicy/RetryN.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/RetryPolicy/RetryPolicyAbstract.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/RetryPolicy/index.html CHANGED
File without changes
lib/Microsoft/WindowsAzure/SessionHandler.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Storage.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Storage/Batch.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Storage/BatchStorageAbstract.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Storage/Blob.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Storage/Blob/Stream.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Storage/Blob/index.html CHANGED
File without changes
lib/Microsoft/WindowsAzure/Storage/BlobContainer.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Storage/BlobInstance.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Storage/DynamicTableEntity.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Storage/LeaseInstance.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Storage/PageRegionInstance.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Storage/Queue.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Storage/QueueInstance.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Storage/QueueMessage.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Storage/SignedIdentifier.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Storage/StorageEntityAbstract.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Storage/Table.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Storage/TableEntity.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Storage/TableEntityQuery.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Storage/TableInstance.php CHANGED
File without changes
lib/Microsoft/WindowsAzure/Storage/index.html CHANGED
File without changes
lib/Microsoft/WindowsAzure/index.html CHANGED
File without changes
lib/Microsoft/index.html CHANGED
File without changes
lib/Minify/FirePHP.php CHANGED
File without changes
lib/Minify/HTTP/ConditionalGet.php CHANGED
File without changes
lib/Minify/HTTP/Encoder.php CHANGED
File without changes
lib/Minify/HTTP/index.html CHANGED
File without changes
lib/Minify/JSMin.php CHANGED
File without changes
lib/Minify/JSMinPlus.php CHANGED
File without changes
lib/Minify/Minify.php CHANGED
File without changes
lib/Minify/Minify/Build.php CHANGED
File without changes
lib/Minify/Minify/CSS.php CHANGED
File without changes
lib/Minify/Minify/CSS/Compressor.php CHANGED
File without changes
lib/Minify/Minify/CSS/UriRewriter.php CHANGED
File without changes
lib/Minify/Minify/CSS/index.html CHANGED
File without changes
lib/Minify/Minify/CSSTidy.php CHANGED
File without changes
lib/Minify/Minify/Cache/APC.php CHANGED
File without changes
lib/Minify/Minify/Cache/Eaccelerator.php CHANGED
File without changes
lib/Minify/Minify/Cache/File.php CHANGED
File without changes
lib/Minify/Minify/Cache/Memcache.php CHANGED
File without changes
lib/Minify/Minify/Cache/Wincache.php CHANGED
File without changes
lib/Minify/Minify/Cache/XCache.php CHANGED
File without changes
lib/Minify/Minify/Cache/index.html CHANGED
File without changes
lib/Minify/Minify/ClosureCompiler.php CHANGED
File without changes
lib/Minify/Minify/CombineOnly.php CHANGED
File without changes
lib/Minify/Minify/CommentPreserver.php CHANGED
File without changes
lib/Minify/Minify/Controller/Base.php CHANGED
File without changes
lib/Minify/Minify/Controller/Files.php CHANGED
File without changes
lib/Minify/Minify/Controller/Groups.php CHANGED
File without changes
lib/Minify/Minify/Controller/MinApp.php CHANGED
File without changes
lib/Minify/Minify/Controller/Page.php CHANGED
File without changes
lib/Minify/Minify/Controller/Version1.php CHANGED
File without changes
lib/Minify/Minify/Controller/index.html CHANGED
File without changes
lib/Minify/Minify/HTML.php CHANGED
File without changes
lib/Minify/Minify/HTMLTidy.php CHANGED
File without changes
lib/Minify/Minify/IgnoredCommentPreserver.php CHANGED
File without changes
lib/Minify/Minify/ImportProcessor.php CHANGED
File without changes
lib/Minify/Minify/Inline.php CHANGED
File without changes
lib/Minify/Minify/Inline/CSS.php CHANGED
File without changes
lib/Minify/Minify/Inline/JavaScript.php CHANGED
File without changes
lib/Minify/Minify/Inline/index.html CHANGED
File without changes
lib/Minify/Minify/Lines.php CHANGED
File without changes
lib/Minify/Minify/Logger.php CHANGED
File without changes
lib/Minify/Minify/Packer.php CHANGED
File without changes
lib/Minify/Minify/Source.php CHANGED
File without changes
lib/Minify/Minify/YUICompressor.php CHANGED
File without changes
lib/Minify/Minify/index.html CHANGED
File without changes
lib/Minify/Solar/Dir.php CHANGED
File without changes
lib/Minify/Solar/index.html CHANGED
File without changes
lib/Minify/index.html CHANGED
File without changes
lib/NetDNA/CurlException.php CHANGED
File without changes
lib/NetDNA/NetDNA.php CHANGED
@@ -4,7 +4,7 @@ if (!defined('ABSPATH')) {
4
  die();
5
  }
6
 
7
- w3_require_once(W3TC_LIB_OAUTH_DIR . '/OAuth.php');
8
 
9
  require_once("CurlException.php");
10
 
@@ -30,12 +30,12 @@ class NetDNA {
30
  $this->alias = $alias;
31
  $this->key = $key;
32
  $this->secret = $secret;
33
- $consumer = new OAuthConsumer($key, $secret, NULL);
34
 
35
  }
36
 
37
  private function execute($selected_call, $method_type, $params) {
38
- $consumer = new OAuthConsumer($this->key, $this->secret, NULL);
39
 
40
  // the endpoint for your request
41
  $endpoint = "$this->netdnarws_url/$this->alias$selected_call";
@@ -48,10 +48,10 @@ class NetDNA {
48
  }
49
 
50
  //generate a request from your consumer
51
- $req_req = OAuthRequest::from_consumer_and_token($consumer, NULL, $method_type, $endpoint, $params);
52
 
53
  //sign your OAuth request using hmac_sha1
54
- $sig_method = new OAuthSignatureMethod_HMAC_SHA1();
55
  $req_req->sign_request($sig_method, $consumer, NULL);
56
 
57
  // create curl resource
@@ -69,7 +69,7 @@ class NetDNA {
69
 
70
 
71
  if ($method_type == "POST" || $method_type == "PUT" || $method_type == "DELETE") {
72
- $query_str = OAuthUtil::build_http_query($params);
73
  curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:', 'Content-Length: ' . strlen($query_str)));
74
  curl_setopt($ch, CURLOPT_POSTFIELDS, $query_str);
75
  }
4
  die();
5
  }
6
 
7
+ w3_require_once(W3TC_LIB_OAUTH_DIR . '/W3tcOAuth.php');
8
 
9
  require_once("CurlException.php");
10
 
30
  $this->alias = $alias;
31
  $this->key = $key;
32
  $this->secret = $secret;
33
+ $consumer = new W3tcOAuthConsumer($key, $secret, NULL);
34
 
35
  }
36
 
37
  private function execute($selected_call, $method_type, $params) {
38
+ $consumer = new W3tcOAuthConsumer($this->key, $this->secret, NULL);
39
 
40
  // the endpoint for your request
41
  $endpoint = "$this->netdnarws_url/$this->alias$selected_call";
48
  }
49
 
50
  //generate a request from your consumer
51
+ $req_req = W3tcOAuthRequest::from_consumer_and_token($consumer, NULL, $method_type, $endpoint, $params);
52
 
53
  //sign your OAuth request using hmac_sha1
54
+ $sig_method = new W3tcOAuthSignatureMethod_HMAC_SHA1();
55
  $req_req->sign_request($sig_method, $consumer, NULL);
56
 
57
  // create curl resource
69
 
70
 
71
  if ($method_type == "POST" || $method_type == "PUT" || $method_type == "DELETE") {
72
+ $query_str = W3tcOAuthUtil::build_http_query($params);
73
  curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:', 'Content-Length: ' . strlen($query_str)));
74
  curl_setopt($ch, CURLOPT_POSTFIELDS, $query_str);
75
  }
lib/NetDNA/NetDNAPresentation.php CHANGED
File without changes
lib/NewRelic/NewRelicAPI.php CHANGED
File without changes
lib/NewRelic/NewRelicPresentation.php CHANGED
File without changes
lib/NewRelic/NewRelicWrapper.php CHANGED
File without changes
lib/Nusoap/class.nusoap_base.php CHANGED
File without changes
lib/Nusoap/class.soap_fault.php CHANGED
File without changes
lib/Nusoap/class.soap_parser.php CHANGED
File without changes
lib/Nusoap/class.soap_transport_http.php CHANGED
File without changes
lib/Nusoap/class.soap_val.php CHANGED
File without changes
lib/Nusoap/class.soapclient.php CHANGED
File without changes
lib/Nusoap/class.wsdl.php CHANGED
File without changes
lib/Nusoap/class.wsdlcache.php CHANGED
File without changes
lib/Nusoap/class.xmlschema.php CHANGED
File without changes
lib/Nusoap/index.html CHANGED
File without changes
lib/Nusoap/nusoap.php CHANGED
File without changes
lib/OAuth/NetDNAOAuthClient.php DELETED
@@ -1,78 +0,0 @@
1
- <?php
2
- class NetDNAOAuthClient extends OAuthClientBase
3
- {
4
- /**
5
- * The NetDNA / MaxCDN url used to retrieve API ID and key
6
- *
7
- * @var string
8
- */
9
- protected $create_api_user_url;
10
-
11
- function __construct($cdn){
12
- parent::__construct($cdn);
13
- $this->create_api_user_url = W3TC_CDN_OAUTH_CREATE_API_USER;
14
- }
15
-
16
- /**
17
- * Returns the API credentials for the CDN.
18
- * Exists application and prints message on WP_Error.
19
- *
20
- * @return array
21
- */
22
- public function get_api_keys(){
23
- $token = W3_Request::get_string('token');
24
- $token_secret = W3_Request::get_string('token_secret');
25
-
26
- $consumer = new OAuthConsumer($this->key, $this->secret, NULL);
27
- $auth_token = new OAuthConsumer($token, $token_secret);
28
- $access_token_req = new OAuthRequest('GET', $this->access_token_url);
29
- $access_token_req = $access_token_req->from_consumer_and_token($consumer,
30
- $auth_token, 'GET', $this->access_token);
31
-
32
- $access_token_req->sign_request(new OAuthSignatureMethod_HMAC_SHA1(), $consumer,
33
- $auth_token);
34
-
35
- $after_access_request = wp_remote_get($access_token_req->to_url());
36
-
37
- parse_str($after_access_request['body'],$access_tokens);
38
-
39
- $access_token = new OAuthConsumer($access_tokens['oauth_token'], $access_tokens['oauth_token_secret']);
40
-
41
- $api_request = $access_token_req->from_consumer_and_token($consumer,
42
- $access_token, 'GET', $this->create_api_user_url, array('user_id' => $access_tokens['user_id']));
43
-
44
- $api_request->sign_request(new OAuthSignatureMethod_HMAC_SHA1(),$consumer,$access_token);
45
-
46
- $page = wp_remote_get($api_request->to_url());
47
-
48
- if(is_wp_error($page))
49
- $this->handle_error($page);
50
-
51
- //Get API ID and API key
52
- parse_str ($page['body'],$credentials);
53
-
54
- return $credentials;
55
- }
56
-
57
- /**
58
- * Prints the required javascript for extracting API Credentials from page and close window.
59
- */
60
- public function print_javascript(){
61
- $api_keys=$this->get_api_keys();
62
- ?>
63
- <html>
64
- <body>
65
- <script type="text/javascript">
66
- var api_keys={<?php $arr=array(); foreach($api_keys as $key => $val) $arr[] = $key . ":'$val'"; echo implode(',',$arr)?>};
67
- var cdn_netdna_apiid = window.opener.document.getElementById('cdn_netdna_apiid');
68
- cdn_netdna_apiid.value=api_keys['api_id'];
69
- var cdn_netdna_apikey = window.opener.document.getElementById('cdn_netdna_apikey');
70
- cdn_netdna_apikey.value=api_keys['api_key'];
71
- window.close();
72
- //window.parent.jQuery('#oauthContainer').dialog('close');
73
- </script>
74
- </body>
75
- </html>
76
- <?php
77
- }
78
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/OAuth/OAuthClientBase.php CHANGED
@@ -61,17 +61,17 @@ abstract class OAuthClientBase
61
  * @return array
62
  */
63
  private function _get_auth_request_tokens(){
64
- $test_consumer = new OAuthConsumer($this->key, $this->secret, NULL);
65
 
66
  //prepare to get request token
67
- $sig_method = new OAuthSignatureMethod_HMAC_SHA1();
68
  $parsed = parse_url($this->request_token_url);
69
  $params = array('callback' => $this->base_url);
70
 
71
  if (isset($parsed['query']))
72
  parse_str($parsed['query'], $params);
73
 
74
- $req_req = OAuthRequest::from_consumer_and_token($test_consumer, NULL, "GET", W3TC_CDN_OAUTH_REQUEST_TOKEN_URL, $params);
75
  $req_req->sign_request($sig_method, $test_consumer, NULL);
76
 
77
  $page = wp_remote_get($req_req->to_url());
61
  * @return array
62
  */
63
  private function _get_auth_request_tokens(){
64
+ $test_consumer = new W3tcOAuthConsumer($this->key, $this->secret, NULL);
65
 
66
  //prepare to get request token
67
+ $sig_method = new W3tcOAuthSignatureMethod_HMAC_SHA1();
68
  $parsed = parse_url($this->request_token_url);
69
  $params = array('callback' => $this->base_url);
70
 
71
  if (isset($parsed['query']))
72
  parse_str($parsed['query'], $params);
73
 
74
+ $req_req = W3tcOAuthRequest::from_consumer_and_token($test_consumer, NULL, "GET", W3TC_CDN_OAUTH_REQUEST_TOKEN_URL, $params);
75
  $req_req->sign_request($sig_method, $test_consumer, NULL);
76
 
77
  $page = wp_remote_get($req_req->to_url());
lib/OAuth/OAuthService.php CHANGED
@@ -10,19 +10,11 @@ class OAuthService{
10
  * @throws Exception
11
  */
12
  public static function get_oauth_client($type){
13
- require_once W3TC_LIB_OAUTH_DIR . '/OAuth.php';
14
  require_once W3TC_LIB_OAUTH_DIR . '/OAuthClientBase.php';
15
-
16
  switch($type){
17
- case 'netdna':
18
- case 'maxcdn':
19
- require_once W3TC_LIB_OAUTH_DIR . '/NetDNAOAuthClient.php';
20
- $client = new NetDNAOAuthClient($type);
21
- break;
22
  default:
23
  throw new Exception('The provided CDN "' . $type . '" is not supported.');
24
  }
25
-
26
- return $client;
27
  }
28
  }
10
  * @throws Exception
11
  */
12
  public static function get_oauth_client($type){
13
+ require_once W3TC_LIB_OAUTH_DIR . '/OAuthBase.php';
14
  require_once W3TC_LIB_OAUTH_DIR . '/OAuthClientBase.php';
 
15
  switch($type){
 
 
 
 
 
16
  default:
17
  throw new Exception('The provided CDN "' . $type . '" is not supported.');
18
  }
 
 
19
  }
20
  }
lib/OAuth/{OAuth.php → W3tcOAuth.php} RENAMED
@@ -3,11 +3,12 @@
3
 
4
  /* Generic exception class
5
  */
6
- class OAuthException extends Exception {
7
  // pass
8
  }
9
 
10
- class OAuthConsumer {
 
11
  public $key;
12
  public $secret;
13
 
@@ -22,7 +23,7 @@ class OAuthConsumer {
22
  }
23
  }
24
 
25
- class OAuthToken {
26
  // access tokens and request tokens
27
  public $key;
28
  public $secret;
@@ -42,9 +43,9 @@ class OAuthToken {
42
  */
43
  function to_string() {
44
  return "oauth_token=" .
45
- OAuthUtil::urlencode_rfc3986($this->key) .
46
  "&oauth_token_secret=" .
47
- OAuthUtil::urlencode_rfc3986($this->secret);
48
  }
49
 
50
  function __toString() {
@@ -56,7 +57,7 @@ class OAuthToken {
56
  * A class for implementing a Signature Method
57
  * See section 9 ("Signing Requests") in the spec
58
  */
59
- abstract class OAuthSignatureMethod {
60
  /**
61
  * Needs to return the name of the Signature Method (ie HMAC-SHA1)
62
  * @return string
@@ -68,18 +69,18 @@ abstract class OAuthSignatureMethod {
68
  * NOTE: The output of this function MUST NOT be urlencoded.
69
  * the encoding is handled in OAuthRequest when the final
70
  * request is serialized
71
- * @param OAuthRequest $request
72
- * @param OAuthConsumer $consumer
73
- * @param OAuthToken $token
74
  * @return string
75
  */
76
  abstract public function build_signature($request, $consumer, $token);
77
 
78
  /**
79
  * Verifies that a given signature is correct
80
- * @param OAuthRequest $request
81
- * @param OAuthConsumer $consumer
82
- * @param OAuthToken $token
83
  * @param string $signature
84
  * @return bool
85
  */
@@ -112,7 +113,7 @@ abstract class OAuthSignatureMethod {
112
  * character (ASCII code 38) even if empty.
113
  * - Chapter 9.2 ("HMAC-SHA1")
114
  */
115
- class OAuthSignatureMethod_HMAC_SHA1 extends OAuthSignatureMethod {
116
  function get_name() {
117
  return "HMAC-SHA1";
118
  }
@@ -126,7 +127,7 @@ class OAuthSignatureMethod_HMAC_SHA1 extends OAuthSignatureMethod {
126
  ($token) ? $token->secret : ""
127
  );
128
 
129
- $key_parts = OAuthUtil::urlencode_rfc3986($key_parts);
130
  $key = implode('&', $key_parts);
131
 
132
  return base64_encode(hash_hmac('sha1', $base_string, $key, true));
@@ -138,7 +139,7 @@ class OAuthSignatureMethod_HMAC_SHA1 extends OAuthSignatureMethod {
138
  * over a secure channel such as HTTPS. It does not use the Signature Base String.
139
  * - Chapter 9.4 ("PLAINTEXT")
140
  */
141
- class OAuthSignatureMethod_PLAINTEXT extends OAuthSignatureMethod {
142
  public function get_name() {
143
  return "PLAINTEXT";
144
  }
@@ -158,7 +159,7 @@ class OAuthSignatureMethod_PLAINTEXT extends OAuthSignatureMethod {
158
  ($token) ? $token->secret : ""
159
  );
160
 
161
- $key_parts = OAuthUtil::urlencode_rfc3986($key_parts);
162
  $key = implode('&', $key_parts);
163
  $request->base_string = $key;
164
 
@@ -174,7 +175,7 @@ class OAuthSignatureMethod_PLAINTEXT extends OAuthSignatureMethod {
174
  * specification.
175
  * - Chapter 9.3 ("RSA-SHA1")
176
  */
177
- abstract class OAuthSignatureMethod_RSA_SHA1 extends OAuthSignatureMethod {
178
  public function get_name() {
179
  return "RSA-SHA1";
180
  }
@@ -233,7 +234,7 @@ abstract class OAuthSignatureMethod_RSA_SHA1 extends OAuthSignatureMethod {
233
  }
234
  }
235
 
236
- class OAuthRequest {
237
  protected $parameters;
238
  protected $http_method;
239
  protected $http_url;
@@ -244,7 +245,7 @@ class OAuthRequest {
244
 
245
  function __construct($http_method, $http_url, $parameters=NULL) {
246
  $parameters = ($parameters) ? $parameters : array();
247
- $parameters = array_merge( OAuthUtil::parse_parameters(parse_url($http_url, PHP_URL_QUERY)), $parameters);
248
  $this->parameters = $parameters;
249
  $this->http_method = $http_method;
250
  $this->http_url = $http_url;
@@ -271,10 +272,10 @@ class OAuthRequest {
271
  // parsed parameter-list
272
  if (!$parameters) {
273
  // Find request headers
274
- $request_headers = OAuthUtil::get_headers();
275
 
276
  // Parse the query-string to find GET parameters
277
- $parameters = OAuthUtil::parse_parameters($_SERVER['QUERY_STRING']);
278
 
279
  // It's a POST request of the proper content-type, so parse POST
280
  // parameters and add those overriding any duplicates from GET
@@ -283,7 +284,7 @@ class OAuthRequest {
283
  && strstr($request_headers['Content-Type'],
284
  'application/x-www-form-urlencoded')
285
  ) {
286
- $post_data = OAuthUtil::parse_parameters(
287
  file_get_contents(self::$POST_INPUT)
288
  );
289
  $parameters = array_merge($parameters, $post_data);
@@ -292,7 +293,7 @@ class OAuthRequest {
292
  // We have a Authorization-header with OAuth data. Parse the header
293
  // and add those overriding any duplicates from GET or POST
294
  if (isset($request_headers['Authorization']) && substr($request_headers['Authorization'], 0, 6) == 'OAuth ') {
295
- $header_parameters = OAuthUtil::split_header(
296
  $request_headers['Authorization']
297
  );
298
  $parameters = array_merge($parameters, $header_parameters);
@@ -300,7 +301,7 @@ class OAuthRequest {
300
 
301
  }
302
 
303
- return new OAuthRequest($http_method, $http_url, $parameters);
304
  }
305
 
306
  /**
@@ -308,16 +309,16 @@ class OAuthRequest {
308
  */
309
  public static function from_consumer_and_token($consumer, $token, $http_method, $http_url, $parameters=NULL) {
310
  $parameters = ($parameters) ? $parameters : array();
311
- $defaults = array("oauth_version" => OAuthRequest::$version,
312
- "oauth_nonce" => OAuthRequest::generate_nonce(),
313
- "oauth_timestamp" => OAuthRequest::generate_timestamp(),
314
  "oauth_consumer_key" => $consumer->key);
315
  if ($token)
316
  $defaults['oauth_token'] = $token->key;
317
 
318
  $parameters = array_merge($defaults, $parameters);
319
 
320
- return new OAuthRequest($http_method, $http_url, $parameters);
321
  }
322
 
323
  public function set_parameter($name, $value, $allow_duplicates = true) {
@@ -361,7 +362,7 @@ class OAuthRequest {
361
  unset($params['oauth_signature']);
362
  }
363
 
364
- return OAuthUtil::build_http_query($params);
365
  }
366
 
367
  /**
@@ -378,7 +379,7 @@ class OAuthRequest {
378
  $this->get_signable_parameters()
379
  );
380
 
381
- $parts = OAuthUtil::urlencode_rfc3986($parts);
382
 
383
  return implode('&', $parts);
384
  }
@@ -425,7 +426,7 @@ class OAuthRequest {
425
  * builds the data one would send in a POST request
426
  */
427
  public function to_postdata() {
428
- return OAuthUtil::build_http_query($this->parameters);
429
  }
430
 
431
  /**
@@ -434,7 +435,7 @@ class OAuthRequest {
434
  public function to_header($realm=null) {
435
  $first = true;
436
  if($realm) {
437
- $out = 'Authorization: OAuth realm="' . OAuthUtil::urlencode_rfc3986($realm) . '"';
438
  $first = false;
439
  } else
440
  $out = 'Authorization: OAuth';
@@ -443,12 +444,12 @@ class OAuthRequest {
443
  foreach ($this->parameters as $k => $v) {
444
  if (substr($k, 0, 5) != "oauth") continue;
445
  if (is_array($v)) {
446
- throw new OAuthException('Arrays not supported in headers');
447
  }
448
  $out .= ($first) ? ' ' : ',';
449
- $out .= OAuthUtil::urlencode_rfc3986($k) .
450
  '="' .
451
- OAuthUtil::urlencode_rfc3986($v) .
452
  '"';
453
  $first = false;
454
  }
@@ -495,10 +496,10 @@ class OAuthRequest {
495
 
496
 
497
 
498
- class OAuthUtil {
499
  public static function urlencode_rfc3986($input) {
500
  if (is_array($input)) {
501
- return array_map(array('OAuthUtil', 'urlencode_rfc3986'), $input);
502
  } else if (is_scalar($input)) {
503
  return str_replace(
504
  '+',
@@ -527,7 +528,7 @@ class OAuthUtil {
527
  $params = array();
528
  if (preg_match_all('/('.($only_allow_oauth_parameters ? 'oauth_' : '').'[a-z_-]*)=(:?"([^"]*)"|([^,]*))/', $header, $matches)) {
529
  foreach ($matches[1] as $i => $h) {
530
- $params[$h] = OAuthUtil::urldecode_rfc3986(empty($matches[3][$i]) ? $matches[4][$i] : $matches[3][$i]);
531
  }
532
  if (isset($params['realm'])) {
533
  unset($params['realm']);
@@ -593,8 +594,8 @@ class OAuthUtil {
593
  $parsed_parameters = array();
594
  foreach ($pairs as $pair) {
595
  $split = explode('=', $pair, 2);
596
- $parameter = OAuthUtil::urldecode_rfc3986($split[0]);
597
- $value = isset($split[1]) ? OAuthUtil::urldecode_rfc3986($split[1]) : '';
598
 
599
  if (isset($parsed_parameters[$parameter])) {
600
  // We have already recieved parameter(s) with this name, so add to the list
@@ -618,8 +619,8 @@ class OAuthUtil {
618
  if (!$params) return '';
619
 
620
  // Urlencode both keys and values
621
- $keys = OAuthUtil::urlencode_rfc3986(array_keys($params));
622
- $values = OAuthUtil::urlencode_rfc3986(array_values($params));
623
  $params = array_combine($keys, $values);
624
 
625
  // Parameters are sorted by name, using lexicographical byte value ordering.
3
 
4
  /* Generic exception class
5
  */
6
+ class W3tcOAuthException extends Exception {
7
  // pass
8
  }
9
 
10
+
11
+ class W3tcOAuthConsumer {
12
  public $key;
13
  public $secret;
14
 
23
  }
24
  }
25
 
26
+ class W3tcOAuthToken {
27
  // access tokens and request tokens
28
  public $key;
29
  public $secret;
43
  */
44
  function to_string() {
45
  return "oauth_token=" .
46
+ W3tcOAuthUtil::urlencode_rfc3986($this->key) .
47
  "&oauth_token_secret=" .
48
+ W3tcOAuthUtil::urlencode_rfc3986($this->secret);
49
  }
50
 
51
  function __toString() {
57
  * A class for implementing a Signature Method
58
  * See section 9 ("Signing Requests") in the spec
59
  */
60
+ abstract class W3tcOAuthSignatureMethod {
61
  /**
62
  * Needs to return the name of the Signature Method (ie HMAC-SHA1)
63
  * @return string
69
  * NOTE: The output of this function MUST NOT be urlencoded.
70
  * the encoding is handled in OAuthRequest when the final
71
  * request is serialized
72
+ * @param W3tcOAuthRequest $request
73
+ * @param W3tcOAuthConsumer $consumer
74
+ * @param W3tcOAuthToken $token
75
  * @return string
76
  */
77
  abstract public function build_signature($request, $consumer, $token);
78
 
79
  /**
80
  * Verifies that a given signature is correct
81
+ * @param W3tcOAuthRequest $request
82
+ * @param W3tcOAuthConsumer $consumer
83
+ * @param W3tcOAuthToken $token
84
  * @param string $signature
85
  * @return bool
86
  */
113
  * character (ASCII code 38) even if empty.
114
  * - Chapter 9.2 ("HMAC-SHA1")
115
  */
116
+ class W3tcOAuthSignatureMethod_HMAC_SHA1 extends W3tcOAuthSignatureMethod {
117
  function get_name() {
118
  return "HMAC-SHA1";
119
  }
127
  ($token) ? $token->secret : ""
128
  );
129
 
130
+ $key_parts = W3tcOAuthUtil::urlencode_rfc3986($key_parts);
131
  $key = implode('&', $key_parts);
132
 
133
  return base64_encode(hash_hmac('sha1', $base_string, $key, true));
139
  * over a secure channel such as HTTPS. It does not use the Signature Base String.
140
  * - Chapter 9.4 ("PLAINTEXT")
141
  */
142
+ class W3tcOAuthSignatureMethod_PLAINTEXT extends W3tcOAuthSignatureMethod {
143
  public function get_name() {
144
  return "PLAINTEXT";
145
  }
159
  ($token) ? $token->secret : ""
160
  );
161
 
162
+ $key_parts = W3tcOAuthUtil::urlencode_rfc3986($key_parts);
163
  $key = implode('&', $key_parts);
164
  $request->base_string = $key;
165
 
175
  * specification.
176
  * - Chapter 9.3 ("RSA-SHA1")
177
  */
178
+ abstract class W3tcOAuthSignatureMethod_RSA_SHA1 extends W3tcOAuthSignatureMethod {
179
  public function get_name() {
180
  return "RSA-SHA1";
181
  }
234
  }
235
  }
236
 
237
+ class W3tcOAuthRequest {
238
  protected $parameters;
239
  protected $http_method;
240
  protected $http_url;
245
 
246
  function __construct($http_method, $http_url, $parameters=NULL) {
247
  $parameters = ($parameters) ? $parameters : array();
248
+ $parameters = array_merge( W3tcOAuthUtil::parse_parameters(parse_url($http_url, PHP_URL_QUERY)), $parameters);
249
  $this->parameters = $parameters;
250
  $this->http_method = $http_method;
251
  $this->http_url = $http_url;
272
  // parsed parameter-list
273
  if (!$parameters) {
274
  // Find request headers
275
+ $request_headers = W3tcOAuthUtil::get_headers();
276
 
277
  // Parse the query-string to find GET parameters
278
+ $parameters = W3tcOAuthUtil::parse_parameters($_SERVER['QUERY_STRING']);
279
 
280
  // It's a POST request of the proper content-type, so parse POST
281
  // parameters and add those overriding any duplicates from GET
284
  && strstr($request_headers['Content-Type'],
285
  'application/x-www-form-urlencoded')
286
  ) {
287
+ $post_data = W3tcOAuthUtil::parse_parameters(
288
  file_get_contents(self::$POST_INPUT)
289
  );
290
  $parameters = array_merge($parameters, $post_data);
293
  // We have a Authorization-header with OAuth data. Parse the header
294
  // and add those overriding any duplicates from GET or POST
295
  if (isset($request_headers['Authorization']) && substr($request_headers['Authorization'], 0, 6) == 'OAuth ') {
296
+ $header_parameters = W3tcOAuthUtil::split_header(
297
  $request_headers['Authorization']
298
  );
299
  $parameters = array_merge($parameters, $header_parameters);
301
 
302
  }
303
 
304
+ return new W3tcOAuthRequest($http_method, $http_url, $parameters);
305
  }
306
 
307
  /**
309
  */
310
  public static function from_consumer_and_token($consumer, $token, $http_method, $http_url, $parameters=NULL) {
311
  $parameters = ($parameters) ? $parameters : array();
312
+ $defaults = array("oauth_version" => W3tcOAuthRequest::$version,
313
+ "oauth_nonce" => W3tcOAuthRequest::generate_nonce(),
314
+ "oauth_timestamp" => W3tcOAuthRequest::generate_timestamp(),
315
  "oauth_consumer_key" => $consumer->key);
316
  if ($token)
317
  $defaults['oauth_token'] = $token->key;
318
 
319
  $parameters = array_merge($defaults, $parameters);
320
 
321
+ return new W3tcOAuthRequest($http_method, $http_url, $parameters);
322
  }
323
 
324
  public function set_parameter($name, $value, $allow_duplicates = true) {
362
  unset($params['oauth_signature']);
363
  }
364
 
365
+ return W3tcOAuthUtil::build_http_query($params);
366
  }
367
 
368
  /**
379
  $this->get_signable_parameters()
380
  );
381
 
382
+ $parts = W3tcOAuthUtil::urlencode_rfc3986($parts);
383
 
384
  return implode('&', $parts);
385
  }
426
  * builds the data one would send in a POST request
427
  */
428
  public function to_postdata() {
429
+ return W3tcOAuthUtil::build_http_query($this->parameters);
430
  }
431
 
432
  /**
435
  public function to_header($realm=null) {
436
  $first = true;
437
  if($realm) {
438
+ $out = 'Authorization: OAuth realm="' . W3tcOAuthUtil::urlencode_rfc3986($realm) . '"';
439
  $first = false;
440
  } else
441
  $out = 'Authorization: OAuth';
444
  foreach ($this->parameters as $k => $v) {
445
  if (substr($k, 0, 5) != "oauth") continue;
446
  if (is_array($v)) {
447
+ throw new W3tcOAuthException('Arrays not supported in headers');
448
  }
449
  $out .= ($first) ? ' ' : ',';
450
+ $out .= W3tcOAuthUtil::urlencode_rfc3986($k) .
451
  '="' .
452
+ W3tcOAuthUtil::urlencode_rfc3986($v) .
453
  '"';
454
  $first = false;
455
  }
496
 
497
 
498
 
499
+ class W3tcOAuthUtil {
500
  public static function urlencode_rfc3986($input) {
501
  if (is_array($input)) {
502
+ return array_map(array('W3tcOAuthUtil', 'urlencode_rfc3986'), $input);
503
  } else if (is_scalar($input)) {
504
  return str_replace(
505
  '+',
528
  $params = array();
529
  if (preg_match_all('/('.($only_allow_oauth_parameters ? 'oauth_' : '').'[a-z_-]*)=(:?"([^"]*)"|([^,]*))/', $header, $matches)) {
530
  foreach ($matches[1] as $i => $h) {
531
+ $params[$h] = W3tcOAuthUtil::urldecode_rfc3986(empty($matches[3][$i]) ? $matches[4][$i] : $matches[3][$i]);
532
  }
533
  if (isset($params['realm'])) {
534
  unset($params['realm']);
594
  $parsed_parameters = array();
595
  foreach ($pairs as $pair) {
596
  $split = explode('=', $pair, 2);
597
+ $parameter = W3tcOAuthUtil::urldecode_rfc3986($split[0]);
598
+ $value = isset($split[1]) ? W3tcOAuthUtil::urldecode_rfc3986($split[1]) : '';
599
 
600
  if (isset($parsed_parameters[$parameter])) {
601
  // We have already recieved parameter(s) with this name, so add to the list
619
  if (!$params) return '';
620
 
621
  // Urlencode both keys and values
622
+ $keys = W3tcOAuthUtil::urlencode_rfc3986(array_keys($params));
623
+ $values = W3tcOAuthUtil::urlencode_rfc3986(array_values($params));
624
  $params = array_combine($keys, $values);
625
 
626
  // Parameters are sorted by name, using lexicographical byte value ordering.
lib/OAuth/config.php DELETED
@@ -1,20 +0,0 @@
1
- <?php
2
- switch($cdn){
3
- case 'maxcdn':
4
- define('W3TC_CDN_OAUTH_KEY','9a89c45125b029d24b0f10f49f4741f604e6751b3');
5
- define('W3TC_CDN_OAUTH_SECRET','8bd80f08145acae93eae03ea1474f361');
6
- define('W3TC_CDN_OAUTH_REQUEST_TOKEN_URL','http://login.maxcdn.com/oauth/requesttoken');
7
- define('W3TC_CDN_OAUTH_AUTHORIZE_URL','http://login.maxcdn.com/oauth/authorize');
8
- define('W3TC_CDN_OAUTH_ACCESS_TOKEN','http://login.maxcdn.com/oauth/accesstoken');
9
- define('W3TC_CDN_OAUTH_CREATE_API_USER','http://login.maxcdn.com/oauth/createapiuser');
10
- break;
11
-
12
- case 'netdna':
13
- define('W3TC_CDN_OAUTH_KEY','9a89c45125b029d24b0f10f49f4741f604e6751b3');
14
- define('W3TC_CDN_OAUTH_SECRET','8bd80f08145acae93eae03ea1474f361');
15
- define('W3TC_CDN_OAUTH_REQUEST_TOKEN_URL','http://login.netdna.com/oauth/requesttoken');
16
- define('W3TC_CDN_OAUTH_AUTHORIZE_URL','http://login.netdna.com/oauth/authorize');
17
- define('W3TC_CDN_OAUTH_ACCESS_TOKEN','http://login.netdna.com/oauth/accesstoken');
18
- define('W3TC_CDN_OAUTH_CREATE_API_USER','http://login.netdna.com/oauth/createapiuser');
19
- break;
20
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/S3.php CHANGED
File without changes
lib/SNS/README.md CHANGED
File without changes
lib/SNS/lib/requestcore/LICENSE CHANGED
File without changes
lib/SNS/lib/requestcore/README.md CHANGED
File without changes
lib/SNS/lib/requestcore/cacert.pem CHANGED
File without changes
lib/SNS/lib/requestcore/requestcore.class.php CHANGED
File without changes
lib/SNS/sdk.class.php CHANGED
File without changes
lib/SNS/services/sns.class.php CHANGED
File without changes
lib/SNS/utilities/request.class.php CHANGED
File without changes
lib/SNS/utilities/response.class.php CHANGED
File without changes
lib/SNS/utilities/simplexml.class.php CHANGED
File without changes
lib/SNS/utilities/utilities.class.php CHANGED
File without changes
lib/W3/AdminCompatibility.php CHANGED
File without changes
lib/W3/AdminEnvironment.php CHANGED
File without changes
lib/W3/AdminLinks.php CHANGED
File without changes
lib/W3/BrowserCacheAdminEnvironment.php CHANGED
File without changes
lib/W3/Cache.php CHANGED
File without changes
lib/W3/Cache/Apc.php CHANGED
File without changes
lib/W3/Cache/Base.php CHANGED
File without changes
lib/W3/Cache/Eaccelerator.php CHANGED
File without changes
lib/W3/Cache/File.php CHANGED
File without changes
lib/W3/Cache/File/Cleaner.php CHANGED
File without changes
lib/W3/Cache/File/Cleaner/Generic.php CHANGED
File without changes
lib/W3/Cache/File/Cleaner/index.html CHANGED
File without changes
lib/W3/Cache/File/Generic.php CHANGED
File without changes
lib/W3/Cache/File/index.html CHANGED
File without changes
lib/W3/Cache/Memcached.php CHANGED
File without changes
lib/W3/Cache/Wincache.php CHANGED
File without changes
lib/W3/Cache/Xcache.php CHANGED
File without changes
lib/W3/Cache/index.html CHANGED
File without changes
lib/W3/CacheCase.php CHANGED
File without changes
lib/W3/CacheFlush.php CHANGED
File without changes
lib/W3/CacheFlushLocal.php CHANGED
File without changes
lib/W3/Cdn.php CHANGED
File without changes
lib/W3/Cdn/Azure.php CHANGED
File without changes
lib/W3/Cdn/Base.php CHANGED
@@ -149,12 +149,6 @@ class W3_Cdn_Base {
149
  $domain = $domains[0];
150
  break;
151
 
152
- /**
153
- * Reserved JS in head
154
- */
155
- case (isset($domains[1]) && $this->_is_js($path)):
156
- $domain = $domains[1];
157
- break;
158
 
159
  /**
160
  * Reserved JS after body
@@ -170,6 +164,13 @@ class W3_Cdn_Base {
170
  $domain = $domains[3];
171
  break;
172
 
 
 
 
 
 
 
 
173
  default:
174
  if ($count > 4) {
175
  $domain = $this->_get_domain(array_slice($domains, 4), $path);
@@ -503,7 +504,7 @@ class W3_Cdn_Base {
503
  * @return boolean
504
  */
505
  function _is_css($path) {
506
- return preg_match('~[a-z0-9\-_]+\.include\.[0-9]+\.css$~', $path);
507
  }
508
 
509
  /**
@@ -513,7 +514,8 @@ class W3_Cdn_Base {
513
  * @return boolean
514
  */
515
  function _is_js($path) {
516
- return preg_match('~[a-z0-9\-_]+\.include\.[a-z0-9]+\.js$~', $path);
 
517
  }
518
 
519
  /**
@@ -523,7 +525,7 @@ class W3_Cdn_Base {
523
  * @return boolean
524
  */
525
  function _is_js_body($path) {
526
- return preg_match('~[a-z0-9\-_]+\.include-body\.[a-z0-9]+\.js$~', $path);
527
  }
528
 
529
  /**
@@ -533,7 +535,7 @@ class W3_Cdn_Base {
533
  * @return boolean
534
  */
535
  function _is_js_footer($path) {
536
- return preg_match('~[a-z0-9\-_]+\.include-footer\.[a-z0-9]+\.js$~', $path);
537
  }
538
 
539
  /**
149
  $domain = $domains[0];
150
  break;
151
 
 
 
 
 
 
 
152
 
153
  /**
154
  * Reserved JS after body
164
  $domain = $domains[3];
165
  break;
166
 
167
+ /**
168
+ * Reserved JS in head, moved here due to greedy regex
169
+ */
170
+ case (isset($domains[1]) && $this->_is_js($path)):
171
+ $domain = $domains[1];
172
+ break;
173
+
174
  default:
175
  if ($count > 4) {
176
  $domain = $this->_get_domain(array_slice($domains, 4), $path);
504
  * @return boolean
505
  */
506
  function _is_css($path) {
507
+ return preg_match('~[a-zA-Z0-9\-_]*(\.include\.[0-9]+)?\.css$~', $path);
508
  }
509
 
510
  /**
514
  * @return boolean
515
  */
516
  function _is_js($path) {
517
+ return preg_match('~([a-z0-9\-_]+(\.include\.[a-z0-9]+)\.js)$~', $path) ||
518
+ preg_match('~[\w\d\-_]+\.js~', $path);
519
  }
520
 
521
  /**
525
  * @return boolean
526
  */
527
  function _is_js_body($path) {
528
+ return preg_match('~[a-z0-9\-_]+(\.include-body\.[a-z0-9]+)\.js$~', $path);
529
  }
530
 
531
  /**
535
  * @return boolean
536
  */
537
  function _is_js_footer($path) {
538
+ return preg_match('~[a-z0-9\-_]+(\.include-footer\.[a-z0-9]+)\.js$~', $path);
539
  }
540
 
541
  /**
lib/W3/Cdn/Ftp.php CHANGED
File without changes
lib/W3/Cdn/Mirror.php CHANGED
File without changes
lib/W3/Cdn/Mirror/Akamai.php CHANGED
File without changes
lib/W3/Cdn/Mirror/Att.php CHANGED
File without changes
lib/W3/Cdn/Mirror/Cotendo.php CHANGED
File without changes
lib/W3/Cdn/Mirror/Edgecast.php CHANGED
File without changes
lib/W3/Cdn/Mirror/MaxCDN.php CHANGED
File without changes
lib/W3/Cdn/Mirror/Netdna.php CHANGED
File without changes
lib/W3/Cdn/Mirror/index.html CHANGED
File without changes
lib/W3/Cdn/Rscf.php CHANGED
File without changes
lib/W3/Cdn/S3.php CHANGED
File without changes
lib/W3/Cdn/S3/Cf.php CHANGED
File without changes
lib/W3/Cdn/S3/Cf/Custom.php CHANGED
File without changes
lib/W3/Cdn/S3/Cf/S3.php CHANGED
File without changes
lib/W3/Cdn/S3/Cf/index.html CHANGED
File without changes
lib/W3/Cdn/S3/index.html CHANGED
File without changes
lib/W3/Cdn/index.html CHANGED
File without changes
lib/W3/CdnAdminEnvironment.php CHANGED
File without changes
lib/W3/CdnCacheFlush.php CHANGED
File without changes
lib/W3/Cli.php CHANGED
File without changes
lib/W3/CloudFlare.php CHANGED
File without changes
lib/W3/Config.php CHANGED
File without changes
lib/W3/ConfigAdmin.php CHANGED
File without changes
lib/W3/ConfigBase.php CHANGED
File without changes
lib/W3/ConfigData.php CHANGED
File without changes
lib/W3/ConfigKeys.php CHANGED
@@ -1685,6 +1685,10 @@ $keys = array(
1685
  'type' => 'integer',
1686
  'default' => 150
1687
  ),
 
 
 
 
1688
  'common.instance_id' => array(
1689
  'type' => 'integer',
1690
  'default' => 0
1685
  'type' => 'integer',
1686
  'default' => 150
1687
  ),
1688
+ 'minify.auto.disable_filename_length_test' => array(
1689
+ 'type' => 'boolean',
1690
+ 'default' => false,
1691
+ ),
1692
  'common.instance_id' => array(
1693
  'type' => 'integer',
1694
  'default' => 0
lib/W3/ConfigWriter.php CHANGED
File without changes
lib/W3/Db.php CHANGED
File without changes
lib/W3/Db/index.html CHANGED
File without changes
lib/W3/Db/mssql.php CHANGED
File without changes
lib/W3/DbCache.php CHANGED
File without changes
lib/W3/DbCacheAdminEnvironment.php CHANGED
File without changes
lib/W3/Dispatcher.php CHANGED
File without changes
lib/W3/Enterprise/DbCluster.php CHANGED
File without changes
lib/W3/Enterprise/SnsBase.php CHANGED
File without changes
lib/W3/Enterprise/SnsClient.php CHANGED
File without changes
lib/W3/Enterprise/SnsServer.php CHANGED
File without changes
lib/W3/Environment/WpLoader.php CHANGED
File without changes
lib/W3/GenericAdminEnvironment.php CHANGED
File without changes
lib/W3/Minifier.php CHANGED
File without changes
lib/W3/Minify.php CHANGED
@@ -1099,8 +1099,13 @@ class W3_Minify {
1099
  * @return array
1100
  */
1101
  private function _minify_path_replacements() {
 
 
 
 
 
1102
  return array(
1103
- ltrim(str_replace(w3_get_document_root(), '', w3_path(get_theme_root())), '/'),
1104
  ltrim(str_replace(w3_get_document_root(), '', w3_path(WP_PLUGIN_DIR)), '/'),
1105
  ltrim(str_replace(w3_get_document_root(), '', w3_path(WPMU_PLUGIN_DIR)), '/'),
1106
  WPINC . '/js/jquery',
1099
  * @return array
1100
  */
1101
  private function _minify_path_replacements() {
1102
+ if (w3_is_network())
1103
+ $theme = get_theme_root();
1104
+ else
1105
+ $theme = get_stylesheet_directory();
1106
+
1107
  return array(
1108
+ ltrim(str_replace(w3_get_document_root(), '', w3_path($theme)), '/'),
1109
  ltrim(str_replace(w3_get_document_root(), '', w3_path(WP_PLUGIN_DIR)), '/'),
1110
  ltrim(str_replace(w3_get_document_root(), '', w3_path(WPMU_PLUGIN_DIR)), '/'),
1111
  WPINC . '/js/jquery',
lib/W3/MinifyAdminEnvironment.php CHANGED
File without changes
lib/W3/Mobile.php CHANGED
File without changes
lib/W3/ModuleStatus.php CHANGED
File without changes
lib/W3/NewRelicAdminEnvironment.php CHANGED
File without changes
lib/W3/NewRelicService.php CHANGED
File without changes
lib/W3/ObjectCache.php CHANGED
File without changes
lib/W3/ObjectCacheAdminEnvironment.php CHANGED
File without changes
lib/W3/ObjectCacheBridge.php CHANGED
File without changes
lib/W3/PageSpeed.php CHANGED
File without changes
lib/W3/PgCache.php CHANGED
@@ -298,7 +298,7 @@ class W3_PgCache {
298
  /**
299
  * Append debug info
300
  */
301
- if ($this->_debug) {
302
  $time_total = w3_microtime() - $this->_time_start;
303
  $debug_info = $this->_get_debug_info(true, '', true, $time_total);
304
  $content .= "\r\n\r\n" . $debug_info;
@@ -418,7 +418,7 @@ class W3_PgCache {
418
  $this->_send_headers($is_404, $time, $etag, $compression, $headers);
419
 
420
  if ($raw) {
421
- if ($this->_debug) {
422
  /**
423
  * Set page key for debug
424
  */
@@ -441,7 +441,7 @@ class W3_PgCache {
441
  $this->_compress($buffer, $compression);
442
  }
443
  }
444
- } elseif ($this->_debug) {
445
  $mobile_group = $this->_get_mobile_group();
446
  $referrer_group = $this->_get_referrer_group();
447
  $encryption = $this->_get_encryption();
298
  /**
299
  * Append debug info
300
  */
301
+ if ($this->_debug && w3_can_print_comment($buffer)) {
302
  $time_total = w3_microtime() - $this->_time_start;
303
  $debug_info = $this->_get_debug_info(true, '', true, $time_total);
304
  $content .= "\r\n\r\n" . $debug_info;
418
  $this->_send_headers($is_404, $time, $etag, $compression, $headers);
419
 
420
  if ($raw) {
421
+ if ($this->_debug && w3_can_print_comment($buffer)) {
422
  /**
423
  * Set page key for debug
424
  */
441
  $this->_compress($buffer, $compression);
442
  }
443
  }
444
+ } elseif ($this->_debug && w3_can_print_comment($buffer)) {
445
  $mobile_group = $this->_get_mobile_group();
446
  $referrer_group = $this->_get_referrer_group();
447
  $encryption = $this->_get_encryption();
lib/W3/PgCacheAdminEnvironment.php CHANGED
File without changes
lib/W3/PgCacheFlush.php CHANGED
File without changes
lib/W3/Plugin.php CHANGED
File without changes
lib/W3/Plugin/BrowserCache.php CHANGED
File without changes
lib/W3/Plugin/Cdn.php CHANGED
File without changes
lib/W3/Plugin/CdnAdmin.php CHANGED
File without changes
lib/W3/Plugin/CdnCache.php CHANGED
File without changes
lib/W3/Plugin/CdnCommon.php CHANGED
File without changes
lib/W3/Plugin/CloudFlare.php CHANGED
File without changes
lib/W3/Plugin/CloudFlareAdmin.php CHANGED
File without changes
lib/W3/Plugin/DbCache.php CHANGED
File without changes
lib/W3/Plugin/Minify.php CHANGED
File without changes
lib/W3/Plugin/MinifyAdmin.php CHANGED
@@ -16,20 +16,22 @@ class W3_Plugin_MinifyAdmin extends W3_Plugin {
16
 
17
  function run() {
18
 
19
- if (!is_network_admin() && $this->_config->get_boolean('minify.auto') && false === get_transient('w3tc_minify_tested_filename_length')) {
20
- add_action('wp_ajax_w3tc_minify_disable_filename_test', array($this, 'disable_filename_test'));
21
- add_action('wp_ajax_w3tc_minify_change_filename_length', array($this, 'change_filename_length'));
22
- w3_require_once(W3TC_LIB_W3_DIR . '/Request.php');
23
-
24
- $page = W3_Request::get_string('page');
25
- if (strpos($page, 'w3tc_') === 0) {
26
- add_action( 'admin_print_scripts', array($this, 'print_script'),10000);
27
- add_action( 'admin_print_scripts', array($this, 'print_test_once_script'),10000);
28
-
29
- add_action('admin_notices', array(
30
- &$this,
31
- 'admin_notices_minify_auto_test'
32
- ));
 
 
33
  }
34
  }
35
  }
16
 
17
  function run() {
18
 
19
+ if (!$this->_config->get_boolean('minify.auto.disable_filename_length_test', false)) {
20
+ if (!is_network_admin() && $this->_config->get_boolean('minify.auto') && false === get_transient('w3tc_minify_tested_filename_length')) {
21
+ add_action('wp_ajax_w3tc_minify_disable_filename_test', array($this, 'disable_filename_test'));
22
+ add_action('wp_ajax_w3tc_minify_change_filename_length', array($this, 'change_filename_length'));
23
+ w3_require_once(W3TC_LIB_W3_DIR . '/Request.php');
24
+
25
+ $page = W3_Request::get_string('page');
26
+ if (strpos($page, 'w3tc_') === 0) {
27
+ add_action( 'admin_print_scripts', array($this, 'print_script'),10000);
28
+ add_action( 'admin_print_scripts', array($this, 'print_test_once_script'),10000);
29
+
30
+ add_action('admin_notices', array(
31
+ &$this,
32
+ 'admin_notices_minify_auto_test'
33
+ ));
34
+ }
35
  }
36
  }
37
  }
lib/W3/Plugin/NewRelic.php CHANGED
File without changes
lib/W3/Plugin/NewRelicAdmin.php CHANGED
File without changes
lib/W3/Plugin/ObjectCache.php CHANGED
File without changes
lib/W3/Plugin/PgCache.php CHANGED
File without changes
lib/W3/Plugin/PgCacheAdmin.php CHANGED
File without changes
lib/W3/Plugin/TotalCache.php CHANGED
@@ -547,10 +547,10 @@ class W3_Plugin_TotalCache extends W3_Plugin {
547
  function ob_callback(&$buffer) {
548
  global $wpdb;
549
 
550
- if ($buffer != '' && w3_is_xml($buffer)) {
551
  if (w3_is_database_error($buffer)) {
552
  status_header(503);
553
- } else {
554
  /**
555
  * Replace links for preview mode
556
  */
547
  function ob_callback(&$buffer) {
548
  global $wpdb;
549
 
550
+ if ($buffer != '') {
551
  if (w3_is_database_error($buffer)) {
552
  status_header(503);
553
+ } elseif (w3_can_print_comment($buffer)) {
554
  /**
555
  * Replace links for preview mode
556
  */
lib/W3/Plugin/TotalCacheAdmin.php CHANGED
File without changes
lib/W3/Plugin/Varnish.php CHANGED
File without changes
lib/W3/Plugin/index.html CHANGED
File without changes
lib/W3/Pro/FragmentCache.php CHANGED
File without changes
lib/W3/Pro/FragmentCacheAdminEnvironment.php CHANGED
File without changes
lib/W3/Pro/Plugin/FragmentCache.php CHANGED
File without changes
lib/W3/Pro/Plugin/FragmentCacheAdmin.php CHANGED
File without changes
lib/W3/Redirect.php CHANGED
File without changes
lib/W3/Referrer.php CHANGED
File without changes
lib/W3/Request.php CHANGED
File without changes
lib/W3/Root.php CHANGED
File without changes
lib/W3/RootAdminActivation.php CHANGED
File without changes
lib/W3/SharedPageUrls.php CHANGED
File without changes
lib/W3/SharedRules.php CHANGED
File without changes
lib/W3/Varnish.php CHANGED
File without changes
lib/W3/VarnishFlush.php CHANGED
File without changes
lib/W3/Widget/Forum.php CHANGED
File without changes
lib/W3/Widget/MaxCDN.php CHANGED
File without changes
lib/W3/Widget/NetDNA.php CHANGED
File without changes
lib/W3/Widget/NewRelic.php CHANGED
File without changes
lib/W3/Widget/News.php CHANGED
File without changes
lib/W3/Widget/PageSpeed.php CHANGED
File without changes
lib/W3/Widget/Services.php CHANGED
File without changes
lib/W3/Widget/SpreadTheWord.php CHANGED
File without changes
lib/W3/index.html CHANGED
File without changes
lib/index.html CHANGED
File without changes
pub/apc.php CHANGED
File without changes
pub/css/error.css CHANGED
File without changes
pub/css/index.html CHANGED
File without changes
pub/css/lightbox.css CHANGED
File without changes
pub/css/options.css CHANGED
File without changes
pub/css/popup.css CHANGED
File without changes
pub/css/widget.css CHANGED
File without changes
pub/files.php CHANGED
File without changes
pub/img/W3TC_dashboard_logo_title-retina.png CHANGED
File without changes
pub/img/W3TC_dashboard_logo_title.png CHANGED
File without changes
pub/img/button-grad-active.png CHANGED
File without changes
pub/img/button-grad.png CHANGED
File without changes
pub/img/close.png CHANGED
File without changes
pub/img/google-logo.png CHANGED
File without changes
pub/img/index.html CHANGED
File without changes
pub/img/open.png CHANGED
File without changes
pub/img/ps_bar.gif CHANGED
File without changes
pub/img/ps_grad.gif CHANGED
File without changes
pub/img/ps_scores.png CHANGED
File without changes
pub/img/sidebar-background.png CHANGED
File without changes
pub/img/w3tc-sprite-retina.png CHANGED
File without changes
pub/img/w3tc-sprite.png CHANGED
File without changes
pub/img/w3tc_google-logo-retina.png CHANGED
File without changes
pub/img/w3tc_google-logo.png CHANGED
File without changes
pub/img/w3tc_maxcdn-logo-retina.png CHANGED
File without changes
pub/img/w3tc_maxcdn-logo.png CHANGED
File without changes
pub/img/w3tc_netdna-logo-retina.png CHANGED
File without changes
pub/img/w3tc_netdna-logo.png CHANGED
File without changes
pub/img/w3tc_newrelic-logo-retina.png CHANGED
File without changes
pub/img/w3tc_newrelic-logo.png CHANGED
File without changes
pub/img/w3tc_w3edge-logo-retina.png CHANGED
File without changes
pub/img/w3tc_w3edge-logo.png CHANGED
File without changes
pub/img/w3tc_w3tc-logo-retina.png CHANGED
File without changes
pub/img/w3tc_w3tc-logo.png CHANGED
File without changes
pub/img/white-grad-active.png CHANGED
File without changes
pub/img/white-grad.png CHANGED
File without changes
pub/img/wpspin_light.gif CHANGED
File without changes
pub/index.html CHANGED
File without changes
pub/js/index.html CHANGED
File without changes
pub/js/jquery.masonry.min.js CHANGED
File without changes
pub/js/lightbox.js CHANGED
File without changes
pub/js/metadata.js CHANGED
File without changes
pub/js/options.js CHANGED
@@ -203,7 +203,7 @@ function w3tc_do_failure(testUrl,minLength, maxLength, tryLength, minTestedAndSu
203
  jQuery('#minify_auto_test_loading').toggleClass('minify_auto_test');
204
  jQuery('#minify_auto_error').html('<p>Minify Auto does not work properly. Try using Minify Manual instead ' +
205
  'or try another Minify cache method. You can also try a lower filename length value manually on ' +
206
- '<a href="admin.php?page=w3tc_minify#advanced">settings page</a></p>');
207
  return;
208
  }
209
  else {
@@ -756,6 +756,13 @@ jQuery(function() {
756
  return true;
757
  });
758
 
 
 
 
 
 
 
 
759
  // CDN
760
  jQuery('.w3tc-tab').click(function() {
761
  jQuery('.w3tc-tab-content').hide();
203
  jQuery('#minify_auto_test_loading').toggleClass('minify_auto_test');
204
  jQuery('#minify_auto_error').html('<p>Minify Auto does not work properly. Try using Minify Manual instead ' +
205
  'or try another Minify cache method. You can also try a lower filename length value manually on ' +
206
+ '<a href="admin.php?page=w3tc_minify#advanced">settings page</a> by checking "Disable the Minify Auto automatic filename test" </p>');
207
  return;
208
  }
209
  else {
756
  return true;
757
  });
758
 
759
+ jQuery('#minify_auto_disable_filename_length_test').live('click', function() {
760
+ if(jQuery(this).attr('checked'))
761
+ jQuery('#minify_auto_filename_length').removeAttr('disabled');
762
+ else
763
+ jQuery('#minify_auto_filename_length').attr('disabled','disabled');
764
+ });
765
+
766
  // CDN
767
  jQuery('.w3tc-tab').click(function() {
768
  jQuery('.w3tc-tab-content').hide();
pub/js/popup.js CHANGED
File without changes
pub/js/widget.js CHANGED
File without changes
pub/minify.php CHANGED
File without changes
pub/sns.php CHANGED
File without changes
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: fredericktownes
3
  Tags: wpo, web performance optimization, performance, availability, scaling, scalability, user experience, cache, caching, page cache, css cache, js cache, db cache, disk cache, disk caching, database cache, http compression, gzip, deflate, minify, cdn, content delivery network, media library, performance, speed, multiple hosts, css, merge, combine, unobtrusive javascript, compress, optimize, optimizer, javascript, js, cascading style sheet, plugin, yslow, yui, google, google rank, google page speed, mod_pagespeed, new relic, newrelic, aws, s3, cloudfront, sns, elasticache, rds, flash media server, amazon web services, cloud files, rackspace, akamai, max cdn, netdna, limelight, cloudflare, mod_cloudflare, microsoft, microsoft azure, iis, nginx, litespeed, apache, varnish, xcache, apc, eacclerator, wincache, mysql, w3 total cache, batcache, wp cache, wp super cache, quick cache, wp minify, bwp-minify, buddypress
4
  Requires at least: 3.2
5
  Tested up to: 3.5.1
6
- Stable tag: 0.9.2.10
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -731,6 +731,20 @@ It's quite difficult to recall all of the innovators that have shared their thou
731
  Please reach out to all of these people and support their projects if you're so inclined.
732
 
733
  == Changelog ==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
734
  = 0.9.2.10 =
735
  * Added NetDNA / MaxCDN dashboard widget
736
  * Added zone dropdown for NetDNA and MaxCDN CDNs
@@ -1284,8 +1298,11 @@ Please reach out to all of these people and support their projects if you're so
1284
 
1285
  == Upgrade Notice ==
1286
 
 
 
 
1287
  = 0.9.2.10 =
1288
  Thanks for using W3 Total Cache! As always, this update is very strongly recommended. This release includes performance improvements for every type of caching and numerous bug fixes and stability / compatbility improvements. Make sure to keep W3TC updated to ensure optimal reliability and security.
1289
 
1290
  = 0.9.2.8 =
1291
- Thanks for using W3 Total Cache! As always, this update is very strongly recommended. The recent releases attempted to use WordPress' built in support for managing files and folders and clearly has not worked. Since W3TC is a caching plugin, file management is a critical issue that will cause lots of issues if it doesn't work perfectly. This release is hopefully the last attempt to restore file management back to the reliability of previous versions (0.9.2.4 etc). We realize that having *any* problems is not acceptable, but caching means changing server behavior so while this plugin is still in pre-release we're trying to work on learning the lessons.
3
  Tags: wpo, web performance optimization, performance, availability, scaling, scalability, user experience, cache, caching, page cache, css cache, js cache, db cache, disk cache, disk caching, database cache, http compression, gzip, deflate, minify, cdn, content delivery network, media library, performance, speed, multiple hosts, css, merge, combine, unobtrusive javascript, compress, optimize, optimizer, javascript, js, cascading style sheet, plugin, yslow, yui, google, google rank, google page speed, mod_pagespeed, new relic, newrelic, aws, s3, cloudfront, sns, elasticache, rds, flash media server, amazon web services, cloud files, rackspace, akamai, max cdn, netdna, limelight, cloudflare, mod_cloudflare, microsoft, microsoft azure, iis, nginx, litespeed, apache, varnish, xcache, apc, eacclerator, wincache, mysql, w3 total cache, batcache, wp cache, wp super cache, quick cache, wp minify, bwp-minify, buddypress
4
  Requires at least: 3.2
5
  Tested up to: 3.5.1
6
+ Stable tag: 0.9.2.11
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
731
  Please reach out to all of these people and support their projects if you're so inclined.
732
 
733
  == Changelog ==
734
+
735
+ = 0.9.2.11 =
736
+ * Added option to disable the Minify Auto filename length test and specify manual value for hosting environments like Windows that require it
737
+ * Fixed NetDNA / MaxCDN authorization key issues
738
+ * Fixed OAuth name conflict for NetDNA / MaxCDN
739
+ * Fixed CDN and CNAME replacement for minify URLs
740
+ * Fixed WordPress sub-directory issue
741
+ * Fixed handling of moved / renamed wp-content and plugin directory
742
+ * Fixed Multisite issue when CDN is enabled and Minify is in auto mode and network-wide settings are applied
743
+ * Fixed late init handling
744
+ * Fixed handling of HTML debug comments being incorrectly inserted into documents
745
+ * Improved minify auto file naming for single install
746
+ * Improved page caching performance in NFS-based hosting environments
747
+
748
  = 0.9.2.10 =
749
  * Added NetDNA / MaxCDN dashboard widget
750
  * Added zone dropdown for NetDNA and MaxCDN CDNs
1298
 
1299
  == Upgrade Notice ==
1300
 
1301
+ = 0.9.2.11 =
1302
+ Thanks for using W3 Total Cache! As always, this update is very strongly recommended. This release includes various fixes for MaxCDN and minify users. As always there are general stability / compatibility improvements. Make sure to test in a sandbox or staging environment and report any issues via the bug submission form available on the support tab of the plugin.
1303
+
1304
  = 0.9.2.10 =
1305
  Thanks for using W3 Total Cache! As always, this update is very strongly recommended. This release includes performance improvements for every type of caching and numerous bug fixes and stability / compatbility improvements. Make sure to keep W3TC updated to ensure optimal reliability and security.
1306
 
1307
  = 0.9.2.8 =
1308
+ Thanks for using W3 Total Cache! As always, this update is very strongly recommended. The recent releases attempted to use WordPress' built in support for managing files and folders and clearly has not worked. Since W3TC is a caching plugin, file management is a critical issue that will cause lots of issues if it doesn't work perfectly. This release is hopefully the last attempt to restore file management back to the reliability of previous versions (0.9.2.4 etc). We realize that having *any* problems is not acceptable, but caching means changing server behavior so while this plugin is still in pre-release we're trying to work on learning the lessons.
w3-total-cache.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: W3 Total Cache
4
  Description: The highest rated and most complete WordPress performance plugin. Dramatically improve the speed and user experience of your site. Add browser, page, object and database caching as well as minify and content delivery network (CDN) to WordPress.
5
- Version: 0.9.2.10
6
  Plugin URI: http://www.w3-edge.com/wordpress-plugins/w3-total-cache/
7
  Author: Frederick Townes
8
  Author URI: http://www.linkedin.com/in/w3edge
2
  /*
3
  Plugin Name: W3 Total Cache
4
  Description: The highest rated and most complete WordPress performance plugin. Dramatically improve the speed and user experience of your site. Add browser, page, object and database caching as well as minify and content delivery network (CDN) to WordPress.
5
+ Version: 0.9.2.11
6
  Plugin URI: http://www.w3-edge.com/wordpress-plugins/w3-total-cache/
7
  Author: Frederick Townes
8
  Author URI: http://www.linkedin.com/in/w3edge
wp-content/advanced-cache.php CHANGED
File without changes
wp-content/db.php CHANGED
File without changes
wp-content/index.html CHANGED
File without changes
wp-content/object-cache.php CHANGED
File without changes