PluginProbe
Visual Composer Website Builder / 45.16.4
Visual Composer Website Builder v45.16.4
45.16.4 45.16.3 45.16.2 45.16.1 45.2-beta.1 45.2-beta.2 45.2.0 45.3-beta.1 45.3.0 45.4-beta.1 45.4.0 45.4.1 45.4.1-beta.2 45.5-beta.1 45.5.0 45.6-beta.1 45.6.0 45.7-beta.1 45.7.0 45.8-beta.1 45.8.0 45.9.0 trunk 45.0 45.0-beta.1 All 42 releases
← All changes | visualcomposer/Modules/Hub/DownloadController.php +6 -1 45.0 → 45.16.4 View file →
@@ -84,12 +84,13 @@
84 84 $mdOriginalFile = md5_file($archive);
85 85 if ($mdOriginalFile !== $payload['checksum']) {
86 86 $loggerHelper->log(
87 87 sprintf(
88 + // translators: %1$s: link to support, %2$s: </a>
88 89 __(
89 90 'A .zip file of the Visual Composer is broken - the checksum check failed. Check your Internet connection, initiate reset under Visual Composer Settings, and try again.
90 91
91 -If the problem still occurs, visit %smy.visualcomposer.com/support%s for technical assistance.
92 +If the problem still occurs, visit %1$smy.visualcomposer.com/support%2$s for technical assistance.
92 93 ',
93 94 'visualcomposer'
94 95 ),
95 96 sprintf(
@@ -115,8 +116,12 @@
115 116 * @return array
116 117 */
117 118 protected function sendAgreeHubTerms(Options $optionsHelper)
118 119 {
120 + if (!vchelper('HubDownload')->hasAccess()) {
121 + return ['status' => false];
122 + }
123 +
119 124 $optionsHelper->set('agreeHubTerms', time());
120 125 $optionsHelper->deleteTransient('lastBundleUpdate');
121 126
122 127 return ['status' => true];