Skip to content

Commit 1dc54ee

Browse files
OlegApanovichcagdasdag
authored andcommitted
VC-3519 fix fatal error with wpml
1 parent 54c3042 commit 1dc54ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visualcomposer/Modules/Vendors/Plugins/WpmlController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ protected function blockBodyTranslations($isBodyTranslate, $post)
638638
*
639639
* @return array
640640
*/
641-
protected function blockPackageTranslation($packageTranslate, $post_id)
641+
public function blockPackageTranslation($packageTranslate, $post_id)
642642
{
643643
$frontendHelper = vchelper('Frontend');
644644
if (empty($post_id) || ! $frontendHelper->isVcvPost($post_id)) {

0 commit comments

Comments
 (0)