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
- }