first commit

This commit is contained in:
2023-09-12 21:41:04 +02:00
commit 3361a7f053
13284 changed files with 2116755 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit10a7e53e988fdcc279b8c0e97d7d08e0::getLoader();

View File

@@ -0,0 +1,445 @@
<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Autoload;
/**
* ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
*
* $loader = new \Composer\Autoload\ClassLoader();
*
* // register classes with namespaces
* $loader->add('Symfony\Component', __DIR__.'/component');
* $loader->add('Symfony', __DIR__.'/framework');
*
* // activate the autoloader
* $loader->register();
*
* // to enable searching the include path (eg. for PEAR packages)
* $loader->setUseIncludePath(true);
*
* In this example, if you try to use a class in the Symfony\Component
* namespace or one of its children (Symfony\Component\Console for instance),
* the autoloader will first look for the class under the component/
* directory, and it will then fallback to the framework/ directory if not
* found before giving up.
*
* This class is loosely based on the Symfony UniversalClassLoader.
*
* @author Fabien Potencier <fabien@symfony.com>
* @author Jordi Boggiano <j.boggiano@seld.be>
* @see http://www.php-fig.org/psr/psr-0/
* @see http://www.php-fig.org/psr/psr-4/
*/
class ClassLoader
{
// PSR-4
private $prefixLengthsPsr4 = array();
private $prefixDirsPsr4 = array();
private $fallbackDirsPsr4 = array();
// PSR-0
private $prefixesPsr0 = array();
private $fallbackDirsPsr0 = array();
private $useIncludePath = false;
private $classMap = array();
private $classMapAuthoritative = false;
private $missingClasses = array();
private $apcuPrefix;
public function getPrefixes()
{
if (!empty($this->prefixesPsr0)) {
return call_user_func_array('array_merge', $this->prefixesPsr0);
}
return array();
}
public function getPrefixesPsr4()
{
return $this->prefixDirsPsr4;
}
public function getFallbackDirs()
{
return $this->fallbackDirsPsr0;
}
public function getFallbackDirsPsr4()
{
return $this->fallbackDirsPsr4;
}
public function getClassMap()
{
return $this->classMap;
}
/**
* @param array $classMap Class to filename map
*/
public function addClassMap(array $classMap)
{
if ($this->classMap) {
$this->classMap = array_merge($this->classMap, $classMap);
} else {
$this->classMap = $classMap;
}
}
/**
* Registers a set of PSR-0 directories for a given prefix, either
* appending or prepending to the ones previously set for this prefix.
*
* @param string $prefix The prefix
* @param array|string $paths The PSR-0 root directories
* @param bool $prepend Whether to prepend the directories
*/
public function add($prefix, $paths, $prepend = false)
{
if (!$prefix) {
if ($prepend) {
$this->fallbackDirsPsr0 = array_merge(
(array) $paths,
$this->fallbackDirsPsr0
);
} else {
$this->fallbackDirsPsr0 = array_merge(
$this->fallbackDirsPsr0,
(array) $paths
);
}
return;
}
$first = $prefix[0];
if (!isset($this->prefixesPsr0[$first][$prefix])) {
$this->prefixesPsr0[$first][$prefix] = (array) $paths;
return;
}
if ($prepend) {
$this->prefixesPsr0[$first][$prefix] = array_merge(
(array) $paths,
$this->prefixesPsr0[$first][$prefix]
);
} else {
$this->prefixesPsr0[$first][$prefix] = array_merge(
$this->prefixesPsr0[$first][$prefix],
(array) $paths
);
}
}
/**
* Registers a set of PSR-4 directories for a given namespace, either
* appending or prepending to the ones previously set for this namespace.
*
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param array|string $paths The PSR-4 base directories
* @param bool $prepend Whether to prepend the directories
*
* @throws \InvalidArgumentException
*/
public function addPsr4($prefix, $paths, $prepend = false)
{
if (!$prefix) {
// Register directories for the root namespace.
if ($prepend) {
$this->fallbackDirsPsr4 = array_merge(
(array) $paths,
$this->fallbackDirsPsr4
);
} else {
$this->fallbackDirsPsr4 = array_merge(
$this->fallbackDirsPsr4,
(array) $paths
);
}
} elseif (!isset($this->prefixDirsPsr4[$prefix])) {
// Register directories for a new namespace.
$length = strlen($prefix);
if ('\\' !== $prefix[$length - 1]) {
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
}
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
$this->prefixDirsPsr4[$prefix] = (array) $paths;
} elseif ($prepend) {
// Prepend directories for an already registered namespace.
$this->prefixDirsPsr4[$prefix] = array_merge(
(array) $paths,
$this->prefixDirsPsr4[$prefix]
);
} else {
// Append directories for an already registered namespace.
$this->prefixDirsPsr4[$prefix] = array_merge(
$this->prefixDirsPsr4[$prefix],
(array) $paths
);
}
}
/**
* Registers a set of PSR-0 directories for a given prefix,
* replacing any others previously set for this prefix.
*
* @param string $prefix The prefix
* @param array|string $paths The PSR-0 base directories
*/
public function set($prefix, $paths)
{
if (!$prefix) {
$this->fallbackDirsPsr0 = (array) $paths;
} else {
$this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
}
}
/**
* Registers a set of PSR-4 directories for a given namespace,
* replacing any others previously set for this namespace.
*
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param array|string $paths The PSR-4 base directories
*
* @throws \InvalidArgumentException
*/
public function setPsr4($prefix, $paths)
{
if (!$prefix) {
$this->fallbackDirsPsr4 = (array) $paths;
} else {
$length = strlen($prefix);
if ('\\' !== $prefix[$length - 1]) {
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
}
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
$this->prefixDirsPsr4[$prefix] = (array) $paths;
}
}
/**
* Turns on searching the include path for class files.
*
* @param bool $useIncludePath
*/
public function setUseIncludePath($useIncludePath)
{
$this->useIncludePath = $useIncludePath;
}
/**
* Can be used to check if the autoloader uses the include path to check
* for classes.
*
* @return bool
*/
public function getUseIncludePath()
{
return $this->useIncludePath;
}
/**
* Turns off searching the prefix and fallback directories for classes
* that have not been registered with the class map.
*
* @param bool $classMapAuthoritative
*/
public function setClassMapAuthoritative($classMapAuthoritative)
{
$this->classMapAuthoritative = $classMapAuthoritative;
}
/**
* Should class lookup fail if not found in the current class map?
*
* @return bool
*/
public function isClassMapAuthoritative()
{
return $this->classMapAuthoritative;
}
/**
* APCu prefix to use to cache found/not-found classes, if the extension is enabled.
*
* @param string|null $apcuPrefix
*/
public function setApcuPrefix($apcuPrefix)
{
$this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;
}
/**
* The APCu prefix in use, or null if APCu caching is not enabled.
*
* @return string|null
*/
public function getApcuPrefix()
{
return $this->apcuPrefix;
}
/**
* Registers this instance as an autoloader.
*
* @param bool $prepend Whether to prepend the autoloader or not
*/
public function register($prepend = false)
{
spl_autoload_register(array($this, 'loadClass'), true, $prepend);
}
/**
* Unregisters this instance as an autoloader.
*/
public function unregister()
{
spl_autoload_unregister(array($this, 'loadClass'));
}
/**
* Loads the given class or interface.
*
* @param string $class The name of the class
* @return bool|null True if loaded, null otherwise
*/
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
includeFile($file);
return true;
}
}
/**
* Finds the path to the file where the class is defined.
*
* @param string $class The name of the class
*
* @return string|false The path if found, false otherwise
*/
public function findFile($class)
{
// class map lookup
if (isset($this->classMap[$class])) {
return $this->classMap[$class];
}
if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) {
return false;
}
if (null !== $this->apcuPrefix) {
$file = apcu_fetch($this->apcuPrefix.$class, $hit);
if ($hit) {
return $file;
}
}
$file = $this->findFileWithExtension($class, '.php');
// Search for Hack files if we are running on HHVM
if (false === $file && defined('HHVM_VERSION')) {
$file = $this->findFileWithExtension($class, '.hh');
}
if (null !== $this->apcuPrefix) {
apcu_add($this->apcuPrefix.$class, $file);
}
if (false === $file) {
// Remember that this class does not exist.
$this->missingClasses[$class] = true;
}
return $file;
}
private function findFileWithExtension($class, $ext)
{
// PSR-4 lookup
$logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
$first = $class[0];
if (isset($this->prefixLengthsPsr4[$first])) {
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) {
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
foreach ($this->prefixDirsPsr4[$search] as $dir) {
if (file_exists($file = $dir . $pathEnd)) {
return $file;
}
}
}
}
}
// PSR-4 fallback dirs
foreach ($this->fallbackDirsPsr4 as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
return $file;
}
}
// PSR-0 lookup
if (false !== $pos = strrpos($class, '\\')) {
// namespaced class name
$logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
. strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
} else {
// PEAR-like class name
$logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
}
if (isset($this->prefixesPsr0[$first])) {
foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
if (0 === strpos($class, $prefix)) {
foreach ($dirs as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
return $file;
}
}
}
}
}
// PSR-0 fallback dirs
foreach ($this->fallbackDirsPsr0 as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
return $file;
}
}
// PSR-0 include paths.
if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
return $file;
}
return false;
}
}
/**
* Scope isolated include.
*
* Prevents access to $this/self from included files.
*/
function includeFile($file)
{
include $file;
}

View File

@@ -0,0 +1,21 @@
Copyright (c) Nils Adermann, Jordi Boggiano
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@@ -0,0 +1,291 @@
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'IWPML_PB_Media_Nodes_Iterator' => $baseDir . '/classes/Shared/media/interface-iwpml-pb-media-nodes-iterator.php',
'IWPML_PB_Media_Update' => $baseDir . '/classes/Shared/media/interface-iwpml-pb-media-update.php',
'IWPML_PB_Media_Update_Factory' => $baseDir . '/classes/Shared/media/interface-iwpml-pb-media-update-factory.php',
'IWPML_PB_Strategy' => $baseDir . '/classes/Shared/st/strategy/interface-iwpml-pb-strategy.php',
'IWPML_Page_Builders_Data_Settings' => $baseDir . '/classes/Shared/st/compatibility/interface-iwpml-page-builders-data-settings.php',
'IWPML_Page_Builders_Module' => $baseDir . '/classes/Shared/st/compatibility/interface-iwpml-page-builders-module.php',
'IWPML_Page_Builders_Translatable_Nodes' => $baseDir . '/classes/Shared/st/compatibility/interface-iwpml-page-builders-translatable-nodes.php',
'WPML\\Compatibility\\BaseDynamicContent' => $baseDir . '/classes/Shared/Abstracts/BaseDynamicContent.php',
'WPML\\Compatibility\\Divi\\Builder' => $baseDir . '/classes/Integrations/Divi/builder.php',
'WPML\\Compatibility\\Divi\\DisplayConditions' => $baseDir . '/classes/Integrations/Divi/DisplayConditions.php',
'WPML\\Compatibility\\Divi\\DiviOptionsEncoding' => $baseDir . '/classes/Integrations/Divi/divi-options-encoding.php',
'WPML\\Compatibility\\Divi\\DoubleQuotes' => $baseDir . '/classes/Integrations/Divi/DoubleQuotes.php',
'WPML\\Compatibility\\Divi\\DynamicContent' => $baseDir . '/classes/Integrations/Divi/dynamic-content.php',
'WPML\\Compatibility\\Divi\\Hooks\\DomainsBackendEditor' => $baseDir . '/classes/Integrations/Divi/Hooks/DomainsBackendEditor.php',
'WPML\\Compatibility\\Divi\\Hooks\\Editor' => $baseDir . '/classes/Integrations/Divi/Hooks/Editor.php',
'WPML\\Compatibility\\Divi\\Hooks\\GutenbergUpdate' => $baseDir . '/classes/Integrations/Divi/Hooks/GutenbergUpdate.php',
'WPML\\Compatibility\\Divi\\Search' => $baseDir . '/classes/Integrations/Divi/search.php',
'WPML\\Compatibility\\Divi\\ThemeBuilder' => $baseDir . '/classes/Integrations/Divi/theme-builder.php',
'WPML\\Compatibility\\Divi\\ThemeBuilderFactory' => $baseDir . '/classes/Integrations/Divi/theme-builder-factory.php',
'WPML\\Compatibility\\Divi\\TinyMCE' => $baseDir . '/classes/Integrations/Divi/TinyMCE.php',
'WPML\\Compatibility\\Divi\\WooShortcodes' => $baseDir . '/classes/Integrations/Divi/WooShortcodes.php',
'WPML\\Compatibility\\FusionBuilder\\Backend\\Hooks' => $baseDir . '/classes/Integrations/FusionBuilder/backend/Hooks.php',
'WPML\\Compatibility\\FusionBuilder\\BaseHooks' => $baseDir . '/classes/Integrations/FusionBuilder/abstracts/BaseHooks.php',
'WPML\\Compatibility\\FusionBuilder\\DynamicContent' => $baseDir . '/classes/Integrations/FusionBuilder/DynamicContent.php',
'WPML\\Compatibility\\FusionBuilder\\FormContent' => $baseDir . '/classes/Integrations/FusionBuilder/FormContent.php',
'WPML\\Compatibility\\FusionBuilder\\Frontend\\Hooks' => $baseDir . '/classes/Integrations/FusionBuilder/frontend/Hooks.php',
'WPML\\Compatibility\\FusionBuilder\\Hooks\\Editor' => $baseDir . '/classes/Integrations/FusionBuilder/Hooks/Editor.php',
'WPML\\Compatibility\\WPBakery\\Styles' => $baseDir . '/classes/Integrations/WPBakery/Styles.php',
'WPML\\PB\\App' => $baseDir . '/classes/App.php',
'WPML\\PB\\AutoUpdate\\Hooks' => $baseDir . '/classes/Shared/AutoUpdate/Hooks.php',
'WPML\\PB\\AutoUpdate\\Settings' => $baseDir . '/classes/Shared/AutoUpdate/Settings.php',
'WPML\\PB\\AutoUpdate\\TranslationStatus' => $baseDir . '/classes/Shared/AutoUpdate/TranslationStatus.php',
'WPML\\PB\\BeaverBuilder\\Config\\Factory' => $baseDir . '/classes/Integrations/BeaverBuilder/Config/Factory.php',
'WPML\\PB\\BeaverBuilder\\Hooks\\Editor' => $baseDir . '/classes/Integrations/BeaverBuilder/Hooks/Editor.php',
'WPML\\PB\\BeaverBuilder\\Modules\\ModuleWithItemsFromConfig' => $baseDir . '/classes/Integrations/BeaverBuilder/modules/ModuleWithItemsFromConfig.php',
'WPML\\PB\\BeaverBuilder\\TranslationJob\\Hooks' => $baseDir . '/classes/Integrations/BeaverBuilder/TranslationJob/Hooks.php',
'WPML\\PB\\Config\\Factory' => $baseDir . '/classes/Shared/Config/Factory.php',
'WPML\\PB\\Config\\Hooks' => $baseDir . '/classes/Shared/Config/Hooks.php',
'WPML\\PB\\Config\\Parser' => $baseDir . '/classes/Shared/Config/Parser.php',
'WPML\\PB\\Config\\Storage' => $baseDir . '/classes/Shared/Config/Storage.php',
'WPML\\PB\\Container\\Config' => $baseDir . '/classes/Shared/Container/Config.php',
'WPML\\PB\\ConvertIds\\Helper' => $baseDir . '/classes/Shared/ConvertIds/Helper.php',
'WPML\\PB\\Cornerstone\\Config\\Factory' => $baseDir . '/classes/Integrations/Cornerstone/Config/Factory.php',
'WPML\\PB\\Cornerstone\\Hooks\\Editor' => $baseDir . '/classes/Integrations/Cornerstone/Hooks/Editor.php',
'WPML\\PB\\Cornerstone\\Modules\\ModuleWithItemsFromConfig' => $baseDir . '/classes/Integrations/Cornerstone/modules/ModuleWithItemsFromConfig.php',
'WPML\\PB\\Cornerstone\\Styles\\Hooks' => $baseDir . '/classes/Integrations/Cornerstone/Styles/Hooks.php',
'WPML\\PB\\Cornerstone\\Utils' => $baseDir . '/classes/Integrations/Cornerstone/class-wpml-cornerstone-utils.php',
'WPML\\PB\\Elementor\\Config\\DynamicElements\\EssentialAddons\\ContentTimeline' => $baseDir . '/classes/Integrations/Elementor/Config/DynamicElements/EssentialAddons/ContentTimeline.php',
'WPML\\PB\\Elementor\\Config\\DynamicElements\\FormPopup' => $baseDir . '/classes/Integrations/Elementor/Config/DynamicElements/FormPopup.php',
'WPML\\PB\\Elementor\\Config\\DynamicElements\\Hotspot' => $baseDir . '/classes/Integrations/Elementor/Config/DynamicElements/Hotspot.php',
'WPML\\PB\\Elementor\\Config\\DynamicElements\\Popup' => $baseDir . '/classes/Integrations/Elementor/Config/DynamicElements/Popup.php',
'WPML\\PB\\Elementor\\Config\\DynamicElements\\Provider' => $baseDir . '/classes/Integrations/Elementor/Config/DynamicElements/Provider.php',
'WPML\\PB\\Elementor\\Config\\DynamicElements\\WooProduct' => $baseDir . '/classes/Integrations/Elementor/Config/DynamicElements/WooProduct.php',
'WPML\\PB\\Elementor\\Config\\Factory' => $baseDir . '/classes/Integrations/Elementor/Config/Factory.php',
'WPML\\PB\\Elementor\\DataConvert' => $baseDir . '/classes/Integrations/Elementor/DataConvert.php',
'WPML\\PB\\Elementor\\DynamicContent\\Field' => $baseDir . '/classes/Integrations/Elementor/DynamicContent/Field.php',
'WPML\\PB\\Elementor\\DynamicContent\\Strings' => $baseDir . '/classes/Integrations/Elementor/DynamicContent/Strings.php',
'WPML\\PB\\Elementor\\Helper\\Node' => $baseDir . '/classes/Integrations/Elementor/Helper/Node.php',
'WPML\\PB\\Elementor\\Helper\\StringFormat' => $baseDir . '/classes/Integrations/Elementor/Helper/StringFormat.php',
'WPML\\PB\\Elementor\\Hooks\\DomainsWithMultisite' => $baseDir . '/classes/Integrations/Elementor/Hooks/DomainsWithMultisite.php',
'WPML\\PB\\Elementor\\Hooks\\DynamicElements' => $baseDir . '/classes/Integrations/Elementor/Hooks/DynamicElements.php',
'WPML\\PB\\Elementor\\Hooks\\Editor' => $baseDir . '/classes/Integrations/Elementor/Hooks/Editor.php',
'WPML\\PB\\Elementor\\Hooks\\FormPopup' => $baseDir . '/classes/Integrations/Elementor/Hooks/FormPopup.php',
'WPML\\PB\\Elementor\\Hooks\\Frontend' => $baseDir . '/classes/Integrations/Elementor/Hooks/Frontend.php',
'WPML\\PB\\Elementor\\Hooks\\GutenbergCleanup' => $baseDir . '/classes/Integrations/Elementor/Hooks/GutenbergCleanup.php',
'WPML\\PB\\Elementor\\Hooks\\LandingPages' => $baseDir . '/classes/Integrations/Elementor/Hooks/LandingPages.php',
'WPML\\PB\\Elementor\\Hooks\\Templates' => $baseDir . '/classes/Integrations/Elementor/Hooks/Templates.php',
'WPML\\PB\\Elementor\\Hooks\\WooCommerce' => $baseDir . '/classes/Integrations/Elementor/Hooks/WooCommerce.php',
'WPML\\PB\\Elementor\\Hooks\\WordPressWidgets' => $baseDir . '/classes/Integrations/Elementor/Hooks/WordPressWidgets.php',
'WPML\\PB\\Elementor\\LanguageSwitcher\\LanguageSwitcher' => $baseDir . '/classes/Integrations/Elementor/LanguageSwitcher/LanguageSwitcher.php',
'WPML\\PB\\Elementor\\LanguageSwitcher\\Widget' => $baseDir . '/classes/Integrations/Elementor/LanguageSwitcher/Widget.php',
'WPML\\PB\\Elementor\\LanguageSwitcher\\WidgetAdaptor' => $baseDir . '/classes/Integrations/Elementor/LanguageSwitcher/WidgetAdaptor.php',
'WPML\\PB\\Elementor\\Media\\Modules\\AllNodes' => $baseDir . '/classes/Integrations/Elementor/media/modules/AllNodes.php',
'WPML\\PB\\Elementor\\Media\\Modules\\Gallery' => $baseDir . '/classes/Integrations/Elementor/media/modules/Gallery.php',
'WPML\\PB\\Elementor\\Media\\Modules\\Hotspot' => $baseDir . '/classes/Integrations/Elementor/media/modules/Hotspot.php',
'WPML\\PB\\Elementor\\Media\\Modules\\Video' => $baseDir . '/classes/Integrations/Elementor/media/modules/Video.php',
'WPML\\PB\\Elementor\\Media\\Modules\\VideoPlaylist' => $baseDir . '/classes/Integrations/Elementor/media/modules/VideoPlaylist.php',
'WPML\\PB\\Elementor\\Modules\\Hotspot' => $baseDir . '/classes/Integrations/Elementor/modules/Hotspot.php',
'WPML\\PB\\Elementor\\Modules\\MediaCarousel' => $baseDir . '/classes/Integrations/Elementor/modules/MediaCarousel.php',
'WPML\\PB\\Elementor\\Modules\\ModuleWithItemsFromConfig' => $baseDir . '/classes/Integrations/Elementor/modules/ModuleWithItemsFromConfig.php',
'WPML\\PB\\Elementor\\Modules\\MultipleGallery' => $baseDir . '/classes/Integrations/Elementor/modules/MultipleGallery.php',
'WPML\\PB\\Elementor\\Modules\\Reviews' => $baseDir . '/classes/Integrations/Elementor/modules/Reviews.php',
'WPML\\PB\\GutenbergCleanup\\Package' => $baseDir . '/classes/Shared/GutenbergCleanup/Package.php',
'WPML\\PB\\GutenbergCleanup\\ShortcodeHooks' => $baseDir . '/classes/Shared/GutenbergCleanup/ShortcodeHooks.php',
'WPML\\PB\\Gutenberg\\ConvertIdsInBlock\\Base' => $baseDir . '/classes/Integrations/Gutenberg/IdsInBlock/Base.php',
'WPML\\PB\\Gutenberg\\ConvertIdsInBlock\\BlockAttributes' => $baseDir . '/classes/Integrations/Gutenberg/IdsInBlock/BlockAttributes.php',
'WPML\\PB\\Gutenberg\\ConvertIdsInBlock\\Composite' => $baseDir . '/classes/Integrations/Gutenberg/IdsInBlock/Composite.php',
'WPML\\PB\\Gutenberg\\ConvertIdsInBlock\\Hooks' => $baseDir . '/classes/Integrations/Gutenberg/IdsInBlock/Hooks.php',
'WPML\\PB\\Gutenberg\\ConvertIdsInBlock\\TagAttributes' => $baseDir . '/classes/Integrations/Gutenberg/IdsInBlock/TagAttributes.php',
'WPML\\PB\\Gutenberg\\Integration' => $baseDir . '/classes/Integrations/Gutenberg/interface-integration.php',
'WPML\\PB\\Gutenberg\\Integration_Composite' => $baseDir . '/classes/Integrations/Gutenberg/class-integration-composite.php',
'WPML\\PB\\Gutenberg\\Navigation\\Frontend' => $baseDir . '/classes/Integrations/Gutenberg/Navigation/Frontend.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\AdminIntegration' => $baseDir . '/classes/Integrations/Gutenberg/reusable-blocks/class-admin-integration.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\Basket' => $baseDir . '/classes/Integrations/Gutenberg/reusable-blocks/Basket.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\BasketElement' => $baseDir . '/classes/Integrations/Gutenberg/reusable-blocks/class-basket-element.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\Blocks' => $baseDir . '/classes/Integrations/Gutenberg/reusable-blocks/class-blocks.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\Integration' => $baseDir . '/classes/Integrations/Gutenberg/reusable-blocks/class-integration.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\JobFactory' => $baseDir . '/classes/Integrations/Gutenberg/reusable-blocks/JobFactory.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\JobLinks' => $baseDir . '/classes/Integrations/Gutenberg/reusable-blocks/class-job-links.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\Manage' => $baseDir . '/classes/Integrations/Gutenberg/reusable-blocks/class-manage.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\ManageBasket' => $baseDir . '/classes/Integrations/Gutenberg/reusable-blocks/class-manage-basket.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\ManageBatch' => $baseDir . '/classes/Integrations/Gutenberg/reusable-blocks/class-manage-batch.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\Notice' => $baseDir . '/classes/Integrations/Gutenberg/reusable-blocks/class-notice.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\Translation' => $baseDir . '/classes/Integrations/Gutenberg/reusable-blocks/class-translation.php',
'WPML\\PB\\Gutenberg\\StringsInBlock\\Attributes' => $baseDir . '/classes/Integrations/Gutenberg/strings-in-block/class-attributes.php',
'WPML\\PB\\Gutenberg\\StringsInBlock\\Base' => $baseDir . '/classes/Integrations/Gutenberg/strings-in-block/class-base.php',
'WPML\\PB\\Gutenberg\\StringsInBlock\\Collection' => $baseDir . '/classes/Integrations/Gutenberg/strings-in-block/class-collection.php',
'WPML\\PB\\Gutenberg\\StringsInBlock\\DOMHandler\\DOMHandle' => $baseDir . '/classes/Integrations/Gutenberg/strings-in-block/dom-handler/dom-handle.php',
'WPML\\PB\\Gutenberg\\StringsInBlock\\DOMHandler\\HtmlBlock' => $baseDir . '/classes/Integrations/Gutenberg/strings-in-block/dom-handler/html-block.php',
'WPML\\PB\\Gutenberg\\StringsInBlock\\DOMHandler\\ListBlock' => $baseDir . '/classes/Integrations/Gutenberg/strings-in-block/dom-handler/list-block.php',
'WPML\\PB\\Gutenberg\\StringsInBlock\\DOMHandler\\ListItemBlock' => $baseDir . '/classes/Integrations/Gutenberg/strings-in-block/dom-handler/list-item-block.php',
'WPML\\PB\\Gutenberg\\StringsInBlock\\DOMHandler\\StandardBlock' => $baseDir . '/classes/Integrations/Gutenberg/strings-in-block/dom-handler/standard-block.php',
'WPML\\PB\\Gutenberg\\StringsInBlock\\HTML' => $baseDir . '/classes/Integrations/Gutenberg/strings-in-block/class-html.php',
'WPML\\PB\\Gutenberg\\StringsInBlock\\StringsInBlock' => $baseDir . '/classes/Integrations/Gutenberg/strings-in-block/interface-strings-in-block.php',
'WPML\\PB\\Gutenberg\\Widgets\\Block\\DisplayTranslation' => $baseDir . '/classes/Integrations/Gutenberg/Widgets/Block/DisplayTranslation.php',
'WPML\\PB\\Gutenberg\\Widgets\\Block\\RegisterStrings' => $baseDir . '/classes/Integrations/Gutenberg/Widgets/Block/RegisterStrings.php',
'WPML\\PB\\Gutenberg\\Widgets\\Block\\Search' => $baseDir . '/classes/Integrations/Gutenberg/Widgets/Block/Search.php',
'WPML\\PB\\Gutenberg\\Widgets\\Block\\Strings' => $baseDir . '/classes/Integrations/Gutenberg/Widgets/Block/Strings.php',
'WPML\\PB\\Gutenberg\\XPath' => $baseDir . '/classes/Integrations/Gutenberg/XPath.php',
'WPML\\PB\\Helper\\LanguageNegotiation' => $baseDir . '/classes/Shared/Helper/LanguageNegotiation.php',
'WPML\\PB\\LegacyIntegration' => $baseDir . '/classes/LegacyIntegration.php',
'WPML\\PB\\OldPlugin' => $baseDir . '/classes/OldPlugin.php',
'WPML\\PB\\ShortCodesInGutenbergBlocks' => $baseDir . '/classes/Shared/st/ShortCodesInGutenbergBlocks.php',
'WPML\\PB\\Shortcode\\AdjustIdsHooks' => $baseDir . '/classes/Shared/Shortcode/AdjustIdsHooks.php',
'WPML\\PB\\Shortcode\\StringCleanUp' => $baseDir . '/classes/Shared/st/strategy/shortcode/StringCleanUp.php',
'WPML\\PB\\Shutdown\\Hooks' => $baseDir . '/classes/Shared/Shutdown/Hooks.php',
'WPML\\PB\\SiteOrigin\\Config\\Factory' => $baseDir . '/classes/Integrations/SiteOrigin/Config/Factory.php',
'WPML\\PB\\SiteOrigin\\DataSettings' => $baseDir . '/classes/Integrations/SiteOrigin/DataSettings.php',
'WPML\\PB\\SiteOrigin\\Factory' => $baseDir . '/classes/Integrations/SiteOrigin/Factory.php',
'WPML\\PB\\SiteOrigin\\HandleCustomFieldsFactory' => $baseDir . '/classes/Integrations/SiteOrigin/HandleCustomFieldsFactory.php',
'WPML\\PB\\SiteOrigin\\Modules\\ModuleWithItems' => $baseDir . '/classes/Integrations/SiteOrigin/Modules/ModuleWithItems.php',
'WPML\\PB\\SiteOrigin\\Modules\\ModuleWithItemsFromConfig' => $baseDir . '/classes/Integrations/SiteOrigin/Modules/ModuleWithItemsFromConfig.php',
'WPML\\PB\\SiteOrigin\\RegisterStrings' => $baseDir . '/classes/Integrations/SiteOrigin/RegisterStrings.php',
'WPML\\PB\\SiteOrigin\\TranslatableNodes' => $baseDir . '/classes/Integrations/SiteOrigin/TranslatableNodes.php',
'WPML\\PB\\SiteOrigin\\UpdateTranslation' => $baseDir . '/classes/Integrations/SiteOrigin/UpdateTranslation.php',
'WPML\\PB\\TranslateLinks' => $baseDir . '/classes/Shared/st/TranslateLinks.php',
'WPML_Beaver_Builder_Accordion' => $baseDir . '/classes/Integrations/BeaverBuilder/modules/class-wpml-beaver-builder-accordion.php',
'WPML_Beaver_Builder_Content_Slider' => $baseDir . '/classes/Integrations/BeaverBuilder/modules/class-wpml-beaver-builder-content-slider.php',
'WPML_Beaver_Builder_Data_Settings' => $baseDir . '/classes/Integrations/BeaverBuilder/class-wpml-beaver-builder-data-settings.php',
'WPML_Beaver_Builder_Data_Settings_For_Media' => $baseDir . '/classes/Integrations/BeaverBuilder/class-wpml-beaver-builder-data-settings-for-media.php',
'WPML_Beaver_Builder_Icon_Group' => $baseDir . '/classes/Integrations/BeaverBuilder/modules/class-wpml-beaver-builder-icon-group.php',
'WPML_Beaver_Builder_Integration_Factory' => $baseDir . '/classes/Integrations/BeaverBuilder/class-wpml-beaver-builder-integration-factory.php',
'WPML_Beaver_Builder_Media_Hooks_Factory' => $baseDir . '/classes/Integrations/BeaverBuilder/media/class-wpml-beaver-builder-media-hooks-factory.php',
'WPML_Beaver_Builder_Media_Node' => $baseDir . '/classes/Integrations/BeaverBuilder/media/modules/class-wpml-beaver-builder-media-node.php',
'WPML_Beaver_Builder_Media_Node_Content_Slider' => $baseDir . '/classes/Integrations/BeaverBuilder/media/modules/class-wpml-beaver-builder-media-node-content-slider.php',
'WPML_Beaver_Builder_Media_Node_Gallery' => $baseDir . '/classes/Integrations/BeaverBuilder/media/modules/class-wpml-beaver-builder-media-node-gallery.php',
'WPML_Beaver_Builder_Media_Node_Photo' => $baseDir . '/classes/Integrations/BeaverBuilder/media/modules/class-wpml-beaver-builder-media-node-photo.php',
'WPML_Beaver_Builder_Media_Node_Provider' => $baseDir . '/classes/Integrations/BeaverBuilder/media/class-wpml-beaver-builder-media-node-provider.php',
'WPML_Beaver_Builder_Media_Node_Slideshow' => $baseDir . '/classes/Integrations/BeaverBuilder/media/modules/class-wpml-beaver-builder-media-node-slideshow.php',
'WPML_Beaver_Builder_Media_Nodes_Iterator' => $baseDir . '/classes/Integrations/BeaverBuilder/media/class-wpml-beaver-builder-media-nodes-iterator.php',
'WPML_Beaver_Builder_Module_With_Items' => $baseDir . '/classes/Integrations/BeaverBuilder/modules/class-wpml-beaver-builder-module-with-items.php',
'WPML_Beaver_Builder_Pricing_Table' => $baseDir . '/classes/Integrations/BeaverBuilder/modules/class-wpml-beaver-builder-pricing-table.php',
'WPML_Beaver_Builder_Register_Strings' => $baseDir . '/classes/Integrations/BeaverBuilder/class-wpml-beaver-builder-register-strings.php',
'WPML_Beaver_Builder_Tab' => $baseDir . '/classes/Integrations/BeaverBuilder/modules/class-wpml-beaver-builder-tab.php',
'WPML_Beaver_Builder_Testimonials' => $baseDir . '/classes/Integrations/BeaverBuilder/modules/class-wpml-beaver-builder-testimonials.php',
'WPML_Beaver_Builder_Translatable_Nodes' => $baseDir . '/classes/Integrations/BeaverBuilder/class-wpml-beaver-builder-translatable-nodes.php',
'WPML_Beaver_Builder_Update_Media_Factory' => $baseDir . '/classes/Integrations/BeaverBuilder/media/class-wpml-beaver-builder-update-media-factory.php',
'WPML_Beaver_Builder_Update_Translation' => $baseDir . '/classes/Integrations/BeaverBuilder/class-wpml-beaver-builder-update-translation.php',
'WPML_Compatibility_Divi' => $baseDir . '/classes/Integrations/Divi/class-wpml-compatibility-divi.php',
'WPML_Compatibility_Divi_Notice' => $baseDir . '/classes/Integrations/Divi/class-wpml-compatiblity-divi-notice.php',
'WPML_Compatibility_Plugin_Fusion_Global_Element_Hooks' => $baseDir . '/classes/Integrations/FusionBuilder/wpml-compatibility-plugin-fusion-global-element-hooks.php',
'WPML_Compatibility_Plugin_Fusion_Hooks_Factory' => $baseDir . '/classes/Integrations/FusionBuilder/wpml-compatibility-plugin-fusion-hooks-factory.php',
'WPML_Compatibility_Plugin_Visual_Composer' => $baseDir . '/classes/Integrations/WPBakery/class-wpml-compatibility-plugin-visual-composer.php',
'WPML_Compatibility_Plugin_Visual_Composer_Grid_Hooks' => $baseDir . '/classes/Integrations/WPBakery/class-wpml-compatibility-plugin-visual-composer-grid-hooks.php',
'WPML_Compatibility_Theme_Enfold' => $baseDir . '/classes/Integrations/Enfold/class-wpml-compatibility-theme-enfold.php',
'WPML_Core_Version_Check' => $vendorDir . '/wpml-shared/wpml-lib-dependencies/src/dependencies/class-wpml-core-version-check.php',
'WPML_Cornerstone_Accordion' => $baseDir . '/classes/Integrations/Cornerstone/modules/class-wpml-cornerstone-accordion.php',
'WPML_Cornerstone_Data_Settings' => $baseDir . '/classes/Integrations/Cornerstone/class-wpml-cornerstone-data-settings.php',
'WPML_Cornerstone_Integration_Factory' => $baseDir . '/classes/Integrations/Cornerstone/class-wpml-cornerstone-integration-factory.php',
'WPML_Cornerstone_Media_Hooks_Factory' => $baseDir . '/classes/Integrations/Cornerstone/media/class-wpml-cornerstone-media-hooks-factory.php',
'WPML_Cornerstone_Media_Node' => $baseDir . '/classes/Integrations/Cornerstone/media/modules/abstract/class-wpml-cornerstone-media-node.php',
'WPML_Cornerstone_Media_Node_Classic_Card' => $baseDir . '/classes/Integrations/Cornerstone/media/modules/class-wpml-cornerstone-media-node-classic-card.php',
'WPML_Cornerstone_Media_Node_Classic_Creative_CTA' => $baseDir . '/classes/Integrations/Cornerstone/media/modules/class-wpml-cornerstone-media-node-classic-creative-cta.php',
'WPML_Cornerstone_Media_Node_Classic_Feature_Box' => $baseDir . '/classes/Integrations/Cornerstone/media/modules/class-wpml-cornerstone-media-node-classic-feature-box.php',
'WPML_Cornerstone_Media_Node_Classic_Image' => $baseDir . '/classes/Integrations/Cornerstone/media/modules/class-wpml-cornerstone-media-node-classic-image.php',
'WPML_Cornerstone_Media_Node_Classic_Promo' => $baseDir . '/classes/Integrations/Cornerstone/media/modules/class-wpml-cornerstone-media-node-classic-promo.php',
'WPML_Cornerstone_Media_Node_Image' => $baseDir . '/classes/Integrations/Cornerstone/media/modules/class-wpml-cornerstone-media-node-image.php',
'WPML_Cornerstone_Media_Node_Provider' => $baseDir . '/classes/Integrations/Cornerstone/media/class-wpml-cornerstone-media-node-provider.php',
'WPML_Cornerstone_Media_Node_With_URLs' => $baseDir . '/classes/Integrations/Cornerstone/media/modules/abstract/class-wpml-cornerstone-media-node-with-urls.php',
'WPML_Cornerstone_Media_Nodes_Iterator' => $baseDir . '/classes/Integrations/Cornerstone/media/class-wpml-cornerstone-media-nodes-iterator.php',
'WPML_Cornerstone_Module_With_Items' => $baseDir . '/classes/Integrations/Cornerstone/modules/class-wpml-cornerstone-module-with-items.php',
'WPML_Cornerstone_Register_Strings' => $baseDir . '/classes/Integrations/Cornerstone/class-wpml-cornerstone-register-strings.php',
'WPML_Cornerstone_Tabs' => $baseDir . '/classes/Integrations/Cornerstone/modules/class-wpml-cornerstone-tabs.php',
'WPML_Cornerstone_Translatable_Nodes' => $baseDir . '/classes/Integrations/Cornerstone/class-wpml-cornerstone-translatable-nodes.php',
'WPML_Cornerstone_Update_Media_Factory' => $baseDir . '/classes/Integrations/Cornerstone/media/class-wpml-cornerstone-update-media-factory.php',
'WPML_Cornerstone_Update_Translation' => $baseDir . '/classes/Integrations/Cornerstone/class-wpml-cornerstone-update-translation.php',
'WPML_Dependencies' => $vendorDir . '/wpml-shared/wpml-lib-dependencies/src/dependencies/class-wpml-dependencies.php',
'WPML_Elementor_Accordion' => $baseDir . '/classes/Integrations/Elementor/modules/class-wpml-elementor-accordion.php',
'WPML_Elementor_Adjust_Global_Widget_ID' => $baseDir . '/classes/Integrations/Elementor/class-wpml-elementor-adjust-global-widget-id.php',
'WPML_Elementor_Adjust_Global_Widget_ID_Factory' => $baseDir . '/classes/Integrations/Elementor/class-wpml-elementor-adjust-global-widget-id-factory.php',
'WPML_Elementor_DB' => $baseDir . '/classes/Integrations/Elementor/class-wpml-elementor-db.php',
'WPML_Elementor_DB_Factory' => $baseDir . '/classes/Integrations/Elementor/class-wpml-elementor-db-factory.php',
'WPML_Elementor_Data_Settings' => $baseDir . '/classes/Integrations/Elementor/class-wpml-elementor-data-settings.php',
'WPML_Elementor_Form' => $baseDir . '/classes/Integrations/Elementor/modules/class-wpml-elementor-form.php',
'WPML_Elementor_Icon_List' => $baseDir . '/classes/Integrations/Elementor/modules/class-wpml-elementor-icon-list.php',
'WPML_Elementor_Integration_Factory' => $baseDir . '/classes/Integrations/Elementor/class-wpml-elementor-integration-factory.php',
'WPML_Elementor_Media_Hooks_Factory' => $baseDir . '/classes/Integrations/Elementor/media/class-wpml-elementor-media-hooks-factory.php',
'WPML_Elementor_Media_Node' => $baseDir . '/classes/Integrations/Elementor/media/modules/abstract/class-wpml-elementor-media-node.php',
'WPML_Elementor_Media_Node_Call_To_Action' => $baseDir . '/classes/Integrations/Elementor/media/modules/class-wpml-elementor-media-node-call-to-action.php',
'WPML_Elementor_Media_Node_Image' => $baseDir . '/classes/Integrations/Elementor/media/modules/class-wpml-elementor-media-node-image.php',
'WPML_Elementor_Media_Node_Image_Box' => $baseDir . '/classes/Integrations/Elementor/media/modules/class-wpml-elementor-media-node-image-box.php',
'WPML_Elementor_Media_Node_Image_Carousel' => $baseDir . '/classes/Integrations/Elementor/media/modules/class-wpml-elementor-media-node-image-carousel.php',
'WPML_Elementor_Media_Node_Image_Gallery' => $baseDir . '/classes/Integrations/Elementor/media/modules/class-wpml-elementor-media-node-image-gallery.php',
'WPML_Elementor_Media_Node_Media_Carousel' => $baseDir . '/classes/Integrations/Elementor/media/modules/class-wpml-elementor-media-node-media-carousel.php',
'WPML_Elementor_Media_Node_Provider' => $baseDir . '/classes/Integrations/Elementor/media/class-wpml-elementor-media-node-provider.php',
'WPML_Elementor_Media_Node_Slides' => $baseDir . '/classes/Integrations/Elementor/media/modules/class-wpml-elementor-media-node-slides.php',
'WPML_Elementor_Media_Node_WP_Widget_Media_Gallery' => $baseDir . '/classes/Integrations/Elementor/media/modules/class-wpml-elementor-media-node-wp-widget-media-gallery.php',
'WPML_Elementor_Media_Node_WP_Widget_Media_Image' => $baseDir . '/classes/Integrations/Elementor/media/modules/class-wpml-elementor-media-node-wp-widget-media-image.php',
'WPML_Elementor_Media_Node_With_Image_Property' => $baseDir . '/classes/Integrations/Elementor/media/modules/abstract/class-wpml-elementor-media-node-with-image-property.php',
'WPML_Elementor_Media_Node_With_Images_Property' => $baseDir . '/classes/Integrations/Elementor/media/modules/abstract/class-wpml-elementor-media-node-with-images-property.php',
'WPML_Elementor_Media_Node_With_Slides' => $baseDir . '/classes/Integrations/Elementor/media/modules/abstract/class-wpml-elementor-media-node-with-slides.php',
'WPML_Elementor_Media_Nodes_Iterator' => $baseDir . '/classes/Integrations/Elementor/media/class-wpml-elementor-media-nodes-iterator.php',
'WPML_Elementor_Module_With_Items' => $baseDir . '/classes/Integrations/Elementor/modules/class-wpml-elementor-module-with-items.php',
'WPML_Elementor_Price_List' => $baseDir . '/classes/Integrations/Elementor/modules/class-wpml-elementor-price-list.php',
'WPML_Elementor_Price_Table' => $baseDir . '/classes/Integrations/Elementor/modules/class-wpml-elementor-price-table.php',
'WPML_Elementor_Register_Strings' => $baseDir . '/classes/Integrations/Elementor/class-wpml-elementor-register-strings.php',
'WPML_Elementor_Slides' => $baseDir . '/classes/Integrations/Elementor/modules/class-wpml-elementor-slides.php',
'WPML_Elementor_Tabs' => $baseDir . '/classes/Integrations/Elementor/modules/class-wpml-elementor-tabs.php',
'WPML_Elementor_Testimonial_Carousel' => $baseDir . '/classes/Integrations/Elementor/modules/class-wpml-elementor-testimonial-carousel.php',
'WPML_Elementor_Toggle' => $baseDir . '/classes/Integrations/Elementor/modules/class-wpml-elementor-toggle.php',
'WPML_Elementor_Translatable_Nodes' => $baseDir . '/classes/Integrations/Elementor/class-wpml-elementor-translatable-nodes.php',
'WPML_Elementor_Translate_IDs' => $baseDir . '/classes/Integrations/Elementor/class-wpml-elementor-translate-ids.php',
'WPML_Elementor_Translate_IDs_Factory' => $baseDir . '/classes/Integrations/Elementor/class-wpml-elementor-translate-ids-factory.php',
'WPML_Elementor_URLs' => $baseDir . '/classes/Integrations/Elementor/class-wpml-elementor-urls.php',
'WPML_Elementor_URLs_Factory' => $baseDir . '/classes/Integrations/Elementor/class-wpml-elementor-urls-factory.php',
'WPML_Elementor_Update_Media_Factory' => $baseDir . '/classes/Integrations/Elementor/media/class-wpml-elementor-update-media-factory.php',
'WPML_Elementor_Update_Translation' => $baseDir . '/classes/Integrations/Elementor/class-wpml-elementor-update-translation.php',
'WPML_Elementor_WooCommerce_Hooks' => $baseDir . '/classes/Integrations/Elementor/class-wpml-elementor-woocommerce-hooks.php',
'WPML_Elementor_WooCommerce_Hooks_Factory' => $baseDir . '/classes/Integrations/Elementor/class-wpml-elementor-woocommerce-hooks-factory.php',
'WPML_Gutenberg_Config_Option' => $baseDir . '/classes/Integrations/Gutenberg/class-wpml-gutenberg-config-option.php',
'WPML_Gutenberg_Integration' => $baseDir . '/classes/Integrations/Gutenberg/class-wpml-gutenberg-integration.php',
'WPML_Gutenberg_Integration_Factory' => $baseDir . '/classes/Integrations/Gutenberg/class-wpml-gutenberg-integration-factory.php',
'WPML_Gutenberg_Strings_Registration' => $baseDir . '/classes/Integrations/Gutenberg/class-wpml-gutenberg-strings-registration.php',
'WPML_PB_API_Hooks_Strategy' => $baseDir . '/classes/Shared/st/strategy/api-hooks/class-wpml-pb-api-hooks-strategy.php',
'WPML_PB_Beaver_Builder_Handle_Custom_Fields_Factory' => $baseDir . '/classes/Integrations/BeaverBuilder/class-wpml-beaver-builder-handle-custom-fields-factory.php',
'WPML_PB_Config_Import_Shortcode' => $baseDir . '/classes/Shared/st/strategy/shortcode/class-wpml-pb-config-import-shortcode.php',
'WPML_PB_Cornerstone_Handle_Custom_Fields_Factory' => $baseDir . '/classes/Integrations/Cornerstone/class-wpml-cornerstone-handle-custom-fields-factory.php',
'WPML_PB_Elementor_Handle_Custom_Fields_Factory' => $baseDir . '/classes/Integrations/Elementor/class-wpml-elementor-pb-handle-custom-fields-factory.php',
'WPML_PB_Factory' => $baseDir . '/classes/Shared/st/class-wpml-pb-factory.php',
'WPML_PB_Fix_Maintenance_Query' => $baseDir . '/classes/Integrations/Elementor/class-wpml-pb-fix-maintenance-query.php',
'WPML_PB_Handle_Custom_Fields' => $baseDir . '/classes/Shared/tm/class-wpml-pb-handle-custom-fields.php',
'WPML_PB_Handle_Post_Body' => $baseDir . '/classes/Shared/tm/class-wpml-pb-handle-post-body.php',
'WPML_PB_Integration' => $baseDir . '/classes/Shared/st/class-wpml-pb-integration.php',
'WPML_PB_Integration_Rescan' => $baseDir . '/classes/Shared/st/class-wpml-pb-rescan.php',
'WPML_PB_Last_Translation_Edit_Mode' => $baseDir . '/classes/Shared/st/class-wpml-pb-last-translation-edit-mode.php',
'WPML_PB_Loader' => $baseDir . '/classes/Shared/st/class-wpml-pb-loader.php',
'WPML_PB_Package_Strings_Resave' => $baseDir . '/classes/Shared/st/class-wpml-pb-package-strings-resave.php',
'WPML_PB_Register_Shortcodes' => $baseDir . '/classes/Shared/st/strategy/shortcode/class-wpml-pb-register-shortcodes.php',
'WPML_PB_Reuse_Translations' => $baseDir . '/classes/Shared/st/class-wpml-pb-reuse-translations.php',
'WPML_PB_Reuse_Translations_By_Strategy' => $baseDir . '/classes/Shared/st/class-wpml-pb-reuse-translations-by-strategy.php',
'WPML_PB_Shortcode_Content_Wrapper' => $baseDir . '/classes/Shared/st/strategy/shortcode/class-wpml-pb-shortcode-content-wrapper.php',
'WPML_PB_Shortcode_Encoding' => $baseDir . '/classes/Shared/st/strategy/shortcode/class-wpml-pb-shortcode-encoding.php',
'WPML_PB_Shortcode_Strategy' => $baseDir . '/classes/Shared/st/strategy/shortcode/class-wpml-pb-shortcode-strategy.php',
'WPML_PB_Shortcodes' => $baseDir . '/classes/Shared/st/strategy/shortcode/class-wpml-pb-shortcodes.php',
'WPML_PB_String' => $baseDir . '/classes/Shared/st/class-wpml-pb-string.php',
'WPML_PB_String_Registration' => $baseDir . '/classes/Shared/st/class-wpml-pb-string-registration.php',
'WPML_PB_String_Translation' => $baseDir . '/classes/Shared/st/class-wpml-pb-string-translation.php',
'WPML_PB_String_Translation_By_Strategy' => $baseDir . '/classes/Shared/st/class-wpml-pb-string-translation-by-strategy.php',
'WPML_PB_Update_API_Hooks_In_Content' => $baseDir . '/classes/Shared/st/strategy/api-hooks/class-wpml-pb-update-api-hooks-in-content.php',
'WPML_PB_Update_Post' => $baseDir . '/classes/Shared/st/class-wpml-pb-update-post.php',
'WPML_PB_Update_Shortcodes_In_Content' => $baseDir . '/classes/Shared/st/strategy/shortcode/class-wpml-pb-update-shortcodes-in-content.php',
'WPML_PHP_Version_Check' => $vendorDir . '/wpml-shared/wpml-lib-dependencies/src/dependencies/class-wpml-php-version-check.php',
'WPML_Page_Builders_App' => $baseDir . '/classes/Shared/st/class-wpml-page-builders-app.php',
'WPML_Page_Builders_Defined' => $baseDir . '/classes/Shared/st/compatibility/class-wpml-page-builders-defined.php',
'WPML_Page_Builders_Integration' => $baseDir . '/classes/Shared/st/class-page-builder-integration.php',
'WPML_Page_Builders_Media_Hooks' => $baseDir . '/classes/Shared/media/class-wpml-page-builders-media-hooks.php',
'WPML_Page_Builders_Media_Shortcodes' => $baseDir . '/classes/Shared/media/shortcodes/class-wpml-page-builders-media-shortcodes.php',
'WPML_Page_Builders_Media_Shortcodes_Update' => $baseDir . '/classes/Shared/media/shortcodes/class-wpml-page-builders-media-shortcodes-update.php',
'WPML_Page_Builders_Media_Shortcodes_Update_Factory' => $baseDir . '/classes/Shared/media/shortcodes/class-wpml-page-builders-media-shortcodes-update-factory.php',
'WPML_Page_Builders_Media_Translate' => $baseDir . '/classes/Shared/media/class-wpml-page-builders-media-translate.php',
'WPML_Page_Builders_Media_Usage' => $baseDir . '/classes/Shared/media/class-wpml-page-builders-media-usage.php',
'WPML_Page_Builders_Page_Built' => $baseDir . '/classes/Shared/utilities/class-wpml-page-builders-page-built-with-built.php',
'WPML_Page_Builders_Register_Strings' => $baseDir . '/classes/Shared/st/compatibility/class-wpml-page-builders-register-strings.php',
'WPML_Page_Builders_Update' => $baseDir . '/classes/Shared/st/compatibility/class-wpml-page-builders-update.php',
'WPML_Page_Builders_Update_Media' => $baseDir . '/classes/Shared/media/class-wpml-page-builders-update-media.php',
'WPML_Page_Builders_Update_Translation' => $baseDir . '/classes/Shared/st/compatibility/class-wpml-page-builders-update-translation.php',
'WPML_ST_Diff' => $baseDir . '/classes/Shared/utilities/class-wpml-st-diff.php',
'WPML_ST_PB_Plugin' => $baseDir . '/classes/Shared/st/class-wpml-st-pb-plugin.php',
'WPML_String_Registration_Factory' => $baseDir . '/classes/Shared/st/class-wpml-string-registration-factory.php',
'WPML_TM_Page_Builders' => $baseDir . '/classes/Shared/tm/class-wpml-tm-page-builders.php',
'WPML_TM_Page_Builders_Field_Wrapper' => $baseDir . '/classes/Shared/tm/class-wpml-tm-page-builders-field-wrapper.php',
'WPML_TM_Page_Builders_Hooks' => $baseDir . '/classes/Shared/tm/class-wpml-tm-page-builders-hooks.php',
);

View File

@@ -0,0 +1,10 @@
<?php
// autoload_files.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'b45b351e6b6f7487d819961fef2fda77' => $vendorDir . '/jakeasmith/http_build_url/src/http_build_url.php',
);

View File

@@ -0,0 +1,9 @@
<?php
// autoload_namespaces.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
);

View File

@@ -0,0 +1,9 @@
<?php
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
);

View File

@@ -0,0 +1,73 @@
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit10a7e53e988fdcc279b8c0e97d7d08e0
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
}
/**
* @return \Composer\Autoload\ClassLoader
*/
public static function getLoader()
{
if (null !== self::$loader) {
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit10a7e53e988fdcc279b8c0e97d7d08e0', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInit10a7e53e988fdcc279b8c0e97d7d08e0', 'loadClassLoader'));
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require_once __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit10a7e53e988fdcc279b8c0e97d7d08e0::getInitializer($loader));
} else {
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
$loader->set($namespace, $path);
}
$map = require __DIR__ . '/autoload_psr4.php';
foreach ($map as $namespace => $path) {
$loader->setPsr4($namespace, $path);
}
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
$loader->addClassMap($classMap);
}
}
$loader->register(true);
if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInit10a7e53e988fdcc279b8c0e97d7d08e0::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire10a7e53e988fdcc279b8c0e97d7d08e0($fileIdentifier, $file);
}
return $loader;
}
}
function composerRequire10a7e53e988fdcc279b8c0e97d7d08e0($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
}
}

View File

@@ -0,0 +1,305 @@
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit10a7e53e988fdcc279b8c0e97d7d08e0
{
public static $files = array (
'b45b351e6b6f7487d819961fef2fda77' => __DIR__ . '/..' . '/jakeasmith/http_build_url/src/http_build_url.php',
);
public static $classMap = array (
'IWPML_PB_Media_Nodes_Iterator' => __DIR__ . '/../..' . '/classes/Shared/media/interface-iwpml-pb-media-nodes-iterator.php',
'IWPML_PB_Media_Update' => __DIR__ . '/../..' . '/classes/Shared/media/interface-iwpml-pb-media-update.php',
'IWPML_PB_Media_Update_Factory' => __DIR__ . '/../..' . '/classes/Shared/media/interface-iwpml-pb-media-update-factory.php',
'IWPML_PB_Strategy' => __DIR__ . '/../..' . '/classes/Shared/st/strategy/interface-iwpml-pb-strategy.php',
'IWPML_Page_Builders_Data_Settings' => __DIR__ . '/../..' . '/classes/Shared/st/compatibility/interface-iwpml-page-builders-data-settings.php',
'IWPML_Page_Builders_Module' => __DIR__ . '/../..' . '/classes/Shared/st/compatibility/interface-iwpml-page-builders-module.php',
'IWPML_Page_Builders_Translatable_Nodes' => __DIR__ . '/../..' . '/classes/Shared/st/compatibility/interface-iwpml-page-builders-translatable-nodes.php',
'WPML\\Compatibility\\BaseDynamicContent' => __DIR__ . '/../..' . '/classes/Shared/Abstracts/BaseDynamicContent.php',
'WPML\\Compatibility\\Divi\\Builder' => __DIR__ . '/../..' . '/classes/Integrations/Divi/builder.php',
'WPML\\Compatibility\\Divi\\DisplayConditions' => __DIR__ . '/../..' . '/classes/Integrations/Divi/DisplayConditions.php',
'WPML\\Compatibility\\Divi\\DiviOptionsEncoding' => __DIR__ . '/../..' . '/classes/Integrations/Divi/divi-options-encoding.php',
'WPML\\Compatibility\\Divi\\DoubleQuotes' => __DIR__ . '/../..' . '/classes/Integrations/Divi/DoubleQuotes.php',
'WPML\\Compatibility\\Divi\\DynamicContent' => __DIR__ . '/../..' . '/classes/Integrations/Divi/dynamic-content.php',
'WPML\\Compatibility\\Divi\\Hooks\\DomainsBackendEditor' => __DIR__ . '/../..' . '/classes/Integrations/Divi/Hooks/DomainsBackendEditor.php',
'WPML\\Compatibility\\Divi\\Hooks\\Editor' => __DIR__ . '/../..' . '/classes/Integrations/Divi/Hooks/Editor.php',
'WPML\\Compatibility\\Divi\\Hooks\\GutenbergUpdate' => __DIR__ . '/../..' . '/classes/Integrations/Divi/Hooks/GutenbergUpdate.php',
'WPML\\Compatibility\\Divi\\Search' => __DIR__ . '/../..' . '/classes/Integrations/Divi/search.php',
'WPML\\Compatibility\\Divi\\ThemeBuilder' => __DIR__ . '/../..' . '/classes/Integrations/Divi/theme-builder.php',
'WPML\\Compatibility\\Divi\\ThemeBuilderFactory' => __DIR__ . '/../..' . '/classes/Integrations/Divi/theme-builder-factory.php',
'WPML\\Compatibility\\Divi\\TinyMCE' => __DIR__ . '/../..' . '/classes/Integrations/Divi/TinyMCE.php',
'WPML\\Compatibility\\Divi\\WooShortcodes' => __DIR__ . '/../..' . '/classes/Integrations/Divi/WooShortcodes.php',
'WPML\\Compatibility\\FusionBuilder\\Backend\\Hooks' => __DIR__ . '/../..' . '/classes/Integrations/FusionBuilder/backend/Hooks.php',
'WPML\\Compatibility\\FusionBuilder\\BaseHooks' => __DIR__ . '/../..' . '/classes/Integrations/FusionBuilder/abstracts/BaseHooks.php',
'WPML\\Compatibility\\FusionBuilder\\DynamicContent' => __DIR__ . '/../..' . '/classes/Integrations/FusionBuilder/DynamicContent.php',
'WPML\\Compatibility\\FusionBuilder\\FormContent' => __DIR__ . '/../..' . '/classes/Integrations/FusionBuilder/FormContent.php',
'WPML\\Compatibility\\FusionBuilder\\Frontend\\Hooks' => __DIR__ . '/../..' . '/classes/Integrations/FusionBuilder/frontend/Hooks.php',
'WPML\\Compatibility\\FusionBuilder\\Hooks\\Editor' => __DIR__ . '/../..' . '/classes/Integrations/FusionBuilder/Hooks/Editor.php',
'WPML\\Compatibility\\WPBakery\\Styles' => __DIR__ . '/../..' . '/classes/Integrations/WPBakery/Styles.php',
'WPML\\PB\\App' => __DIR__ . '/../..' . '/classes/App.php',
'WPML\\PB\\AutoUpdate\\Hooks' => __DIR__ . '/../..' . '/classes/Shared/AutoUpdate/Hooks.php',
'WPML\\PB\\AutoUpdate\\Settings' => __DIR__ . '/../..' . '/classes/Shared/AutoUpdate/Settings.php',
'WPML\\PB\\AutoUpdate\\TranslationStatus' => __DIR__ . '/../..' . '/classes/Shared/AutoUpdate/TranslationStatus.php',
'WPML\\PB\\BeaverBuilder\\Config\\Factory' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/Config/Factory.php',
'WPML\\PB\\BeaverBuilder\\Hooks\\Editor' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/Hooks/Editor.php',
'WPML\\PB\\BeaverBuilder\\Modules\\ModuleWithItemsFromConfig' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/modules/ModuleWithItemsFromConfig.php',
'WPML\\PB\\BeaverBuilder\\TranslationJob\\Hooks' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/TranslationJob/Hooks.php',
'WPML\\PB\\Config\\Factory' => __DIR__ . '/../..' . '/classes/Shared/Config/Factory.php',
'WPML\\PB\\Config\\Hooks' => __DIR__ . '/../..' . '/classes/Shared/Config/Hooks.php',
'WPML\\PB\\Config\\Parser' => __DIR__ . '/../..' . '/classes/Shared/Config/Parser.php',
'WPML\\PB\\Config\\Storage' => __DIR__ . '/../..' . '/classes/Shared/Config/Storage.php',
'WPML\\PB\\Container\\Config' => __DIR__ . '/../..' . '/classes/Shared/Container/Config.php',
'WPML\\PB\\ConvertIds\\Helper' => __DIR__ . '/../..' . '/classes/Shared/ConvertIds/Helper.php',
'WPML\\PB\\Cornerstone\\Config\\Factory' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/Config/Factory.php',
'WPML\\PB\\Cornerstone\\Hooks\\Editor' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/Hooks/Editor.php',
'WPML\\PB\\Cornerstone\\Modules\\ModuleWithItemsFromConfig' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/modules/ModuleWithItemsFromConfig.php',
'WPML\\PB\\Cornerstone\\Styles\\Hooks' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/Styles/Hooks.php',
'WPML\\PB\\Cornerstone\\Utils' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/class-wpml-cornerstone-utils.php',
'WPML\\PB\\Elementor\\Config\\DynamicElements\\EssentialAddons\\ContentTimeline' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/Config/DynamicElements/EssentialAddons/ContentTimeline.php',
'WPML\\PB\\Elementor\\Config\\DynamicElements\\FormPopup' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/Config/DynamicElements/FormPopup.php',
'WPML\\PB\\Elementor\\Config\\DynamicElements\\Hotspot' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/Config/DynamicElements/Hotspot.php',
'WPML\\PB\\Elementor\\Config\\DynamicElements\\Popup' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/Config/DynamicElements/Popup.php',
'WPML\\PB\\Elementor\\Config\\DynamicElements\\Provider' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/Config/DynamicElements/Provider.php',
'WPML\\PB\\Elementor\\Config\\DynamicElements\\WooProduct' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/Config/DynamicElements/WooProduct.php',
'WPML\\PB\\Elementor\\Config\\Factory' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/Config/Factory.php',
'WPML\\PB\\Elementor\\DataConvert' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/DataConvert.php',
'WPML\\PB\\Elementor\\DynamicContent\\Field' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/DynamicContent/Field.php',
'WPML\\PB\\Elementor\\DynamicContent\\Strings' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/DynamicContent/Strings.php',
'WPML\\PB\\Elementor\\Helper\\Node' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/Helper/Node.php',
'WPML\\PB\\Elementor\\Helper\\StringFormat' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/Helper/StringFormat.php',
'WPML\\PB\\Elementor\\Hooks\\DomainsWithMultisite' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/Hooks/DomainsWithMultisite.php',
'WPML\\PB\\Elementor\\Hooks\\DynamicElements' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/Hooks/DynamicElements.php',
'WPML\\PB\\Elementor\\Hooks\\Editor' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/Hooks/Editor.php',
'WPML\\PB\\Elementor\\Hooks\\FormPopup' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/Hooks/FormPopup.php',
'WPML\\PB\\Elementor\\Hooks\\Frontend' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/Hooks/Frontend.php',
'WPML\\PB\\Elementor\\Hooks\\GutenbergCleanup' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/Hooks/GutenbergCleanup.php',
'WPML\\PB\\Elementor\\Hooks\\LandingPages' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/Hooks/LandingPages.php',
'WPML\\PB\\Elementor\\Hooks\\Templates' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/Hooks/Templates.php',
'WPML\\PB\\Elementor\\Hooks\\WooCommerce' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/Hooks/WooCommerce.php',
'WPML\\PB\\Elementor\\Hooks\\WordPressWidgets' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/Hooks/WordPressWidgets.php',
'WPML\\PB\\Elementor\\LanguageSwitcher\\LanguageSwitcher' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/LanguageSwitcher/LanguageSwitcher.php',
'WPML\\PB\\Elementor\\LanguageSwitcher\\Widget' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/LanguageSwitcher/Widget.php',
'WPML\\PB\\Elementor\\LanguageSwitcher\\WidgetAdaptor' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/LanguageSwitcher/WidgetAdaptor.php',
'WPML\\PB\\Elementor\\Media\\Modules\\AllNodes' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/modules/AllNodes.php',
'WPML\\PB\\Elementor\\Media\\Modules\\Gallery' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/modules/Gallery.php',
'WPML\\PB\\Elementor\\Media\\Modules\\Hotspot' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/modules/Hotspot.php',
'WPML\\PB\\Elementor\\Media\\Modules\\Video' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/modules/Video.php',
'WPML\\PB\\Elementor\\Media\\Modules\\VideoPlaylist' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/modules/VideoPlaylist.php',
'WPML\\PB\\Elementor\\Modules\\Hotspot' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/modules/Hotspot.php',
'WPML\\PB\\Elementor\\Modules\\MediaCarousel' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/modules/MediaCarousel.php',
'WPML\\PB\\Elementor\\Modules\\ModuleWithItemsFromConfig' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/modules/ModuleWithItemsFromConfig.php',
'WPML\\PB\\Elementor\\Modules\\MultipleGallery' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/modules/MultipleGallery.php',
'WPML\\PB\\Elementor\\Modules\\Reviews' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/modules/Reviews.php',
'WPML\\PB\\GutenbergCleanup\\Package' => __DIR__ . '/../..' . '/classes/Shared/GutenbergCleanup/Package.php',
'WPML\\PB\\GutenbergCleanup\\ShortcodeHooks' => __DIR__ . '/../..' . '/classes/Shared/GutenbergCleanup/ShortcodeHooks.php',
'WPML\\PB\\Gutenberg\\ConvertIdsInBlock\\Base' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/IdsInBlock/Base.php',
'WPML\\PB\\Gutenberg\\ConvertIdsInBlock\\BlockAttributes' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/IdsInBlock/BlockAttributes.php',
'WPML\\PB\\Gutenberg\\ConvertIdsInBlock\\Composite' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/IdsInBlock/Composite.php',
'WPML\\PB\\Gutenberg\\ConvertIdsInBlock\\Hooks' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/IdsInBlock/Hooks.php',
'WPML\\PB\\Gutenberg\\ConvertIdsInBlock\\TagAttributes' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/IdsInBlock/TagAttributes.php',
'WPML\\PB\\Gutenberg\\Integration' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/interface-integration.php',
'WPML\\PB\\Gutenberg\\Integration_Composite' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/class-integration-composite.php',
'WPML\\PB\\Gutenberg\\Navigation\\Frontend' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/Navigation/Frontend.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\AdminIntegration' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/reusable-blocks/class-admin-integration.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\Basket' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/reusable-blocks/Basket.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\BasketElement' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/reusable-blocks/class-basket-element.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\Blocks' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/reusable-blocks/class-blocks.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\Integration' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/reusable-blocks/class-integration.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\JobFactory' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/reusable-blocks/JobFactory.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\JobLinks' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/reusable-blocks/class-job-links.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\Manage' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/reusable-blocks/class-manage.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\ManageBasket' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/reusable-blocks/class-manage-basket.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\ManageBatch' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/reusable-blocks/class-manage-batch.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\Notice' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/reusable-blocks/class-notice.php',
'WPML\\PB\\Gutenberg\\ReusableBlocks\\Translation' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/reusable-blocks/class-translation.php',
'WPML\\PB\\Gutenberg\\StringsInBlock\\Attributes' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/strings-in-block/class-attributes.php',
'WPML\\PB\\Gutenberg\\StringsInBlock\\Base' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/strings-in-block/class-base.php',
'WPML\\PB\\Gutenberg\\StringsInBlock\\Collection' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/strings-in-block/class-collection.php',
'WPML\\PB\\Gutenberg\\StringsInBlock\\DOMHandler\\DOMHandle' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/strings-in-block/dom-handler/dom-handle.php',
'WPML\\PB\\Gutenberg\\StringsInBlock\\DOMHandler\\HtmlBlock' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/strings-in-block/dom-handler/html-block.php',
'WPML\\PB\\Gutenberg\\StringsInBlock\\DOMHandler\\ListBlock' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/strings-in-block/dom-handler/list-block.php',
'WPML\\PB\\Gutenberg\\StringsInBlock\\DOMHandler\\ListItemBlock' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/strings-in-block/dom-handler/list-item-block.php',
'WPML\\PB\\Gutenberg\\StringsInBlock\\DOMHandler\\StandardBlock' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/strings-in-block/dom-handler/standard-block.php',
'WPML\\PB\\Gutenberg\\StringsInBlock\\HTML' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/strings-in-block/class-html.php',
'WPML\\PB\\Gutenberg\\StringsInBlock\\StringsInBlock' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/strings-in-block/interface-strings-in-block.php',
'WPML\\PB\\Gutenberg\\Widgets\\Block\\DisplayTranslation' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/Widgets/Block/DisplayTranslation.php',
'WPML\\PB\\Gutenberg\\Widgets\\Block\\RegisterStrings' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/Widgets/Block/RegisterStrings.php',
'WPML\\PB\\Gutenberg\\Widgets\\Block\\Search' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/Widgets/Block/Search.php',
'WPML\\PB\\Gutenberg\\Widgets\\Block\\Strings' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/Widgets/Block/Strings.php',
'WPML\\PB\\Gutenberg\\XPath' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/XPath.php',
'WPML\\PB\\Helper\\LanguageNegotiation' => __DIR__ . '/../..' . '/classes/Shared/Helper/LanguageNegotiation.php',
'WPML\\PB\\LegacyIntegration' => __DIR__ . '/../..' . '/classes/LegacyIntegration.php',
'WPML\\PB\\OldPlugin' => __DIR__ . '/../..' . '/classes/OldPlugin.php',
'WPML\\PB\\ShortCodesInGutenbergBlocks' => __DIR__ . '/../..' . '/classes/Shared/st/ShortCodesInGutenbergBlocks.php',
'WPML\\PB\\Shortcode\\AdjustIdsHooks' => __DIR__ . '/../..' . '/classes/Shared/Shortcode/AdjustIdsHooks.php',
'WPML\\PB\\Shortcode\\StringCleanUp' => __DIR__ . '/../..' . '/classes/Shared/st/strategy/shortcode/StringCleanUp.php',
'WPML\\PB\\Shutdown\\Hooks' => __DIR__ . '/../..' . '/classes/Shared/Shutdown/Hooks.php',
'WPML\\PB\\SiteOrigin\\Config\\Factory' => __DIR__ . '/../..' . '/classes/Integrations/SiteOrigin/Config/Factory.php',
'WPML\\PB\\SiteOrigin\\DataSettings' => __DIR__ . '/../..' . '/classes/Integrations/SiteOrigin/DataSettings.php',
'WPML\\PB\\SiteOrigin\\Factory' => __DIR__ . '/../..' . '/classes/Integrations/SiteOrigin/Factory.php',
'WPML\\PB\\SiteOrigin\\HandleCustomFieldsFactory' => __DIR__ . '/../..' . '/classes/Integrations/SiteOrigin/HandleCustomFieldsFactory.php',
'WPML\\PB\\SiteOrigin\\Modules\\ModuleWithItems' => __DIR__ . '/../..' . '/classes/Integrations/SiteOrigin/Modules/ModuleWithItems.php',
'WPML\\PB\\SiteOrigin\\Modules\\ModuleWithItemsFromConfig' => __DIR__ . '/../..' . '/classes/Integrations/SiteOrigin/Modules/ModuleWithItemsFromConfig.php',
'WPML\\PB\\SiteOrigin\\RegisterStrings' => __DIR__ . '/../..' . '/classes/Integrations/SiteOrigin/RegisterStrings.php',
'WPML\\PB\\SiteOrigin\\TranslatableNodes' => __DIR__ . '/../..' . '/classes/Integrations/SiteOrigin/TranslatableNodes.php',
'WPML\\PB\\SiteOrigin\\UpdateTranslation' => __DIR__ . '/../..' . '/classes/Integrations/SiteOrigin/UpdateTranslation.php',
'WPML\\PB\\TranslateLinks' => __DIR__ . '/../..' . '/classes/Shared/st/TranslateLinks.php',
'WPML_Beaver_Builder_Accordion' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/modules/class-wpml-beaver-builder-accordion.php',
'WPML_Beaver_Builder_Content_Slider' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/modules/class-wpml-beaver-builder-content-slider.php',
'WPML_Beaver_Builder_Data_Settings' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/class-wpml-beaver-builder-data-settings.php',
'WPML_Beaver_Builder_Data_Settings_For_Media' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/class-wpml-beaver-builder-data-settings-for-media.php',
'WPML_Beaver_Builder_Icon_Group' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/modules/class-wpml-beaver-builder-icon-group.php',
'WPML_Beaver_Builder_Integration_Factory' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/class-wpml-beaver-builder-integration-factory.php',
'WPML_Beaver_Builder_Media_Hooks_Factory' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/media/class-wpml-beaver-builder-media-hooks-factory.php',
'WPML_Beaver_Builder_Media_Node' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/media/modules/class-wpml-beaver-builder-media-node.php',
'WPML_Beaver_Builder_Media_Node_Content_Slider' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/media/modules/class-wpml-beaver-builder-media-node-content-slider.php',
'WPML_Beaver_Builder_Media_Node_Gallery' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/media/modules/class-wpml-beaver-builder-media-node-gallery.php',
'WPML_Beaver_Builder_Media_Node_Photo' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/media/modules/class-wpml-beaver-builder-media-node-photo.php',
'WPML_Beaver_Builder_Media_Node_Provider' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/media/class-wpml-beaver-builder-media-node-provider.php',
'WPML_Beaver_Builder_Media_Node_Slideshow' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/media/modules/class-wpml-beaver-builder-media-node-slideshow.php',
'WPML_Beaver_Builder_Media_Nodes_Iterator' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/media/class-wpml-beaver-builder-media-nodes-iterator.php',
'WPML_Beaver_Builder_Module_With_Items' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/modules/class-wpml-beaver-builder-module-with-items.php',
'WPML_Beaver_Builder_Pricing_Table' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/modules/class-wpml-beaver-builder-pricing-table.php',
'WPML_Beaver_Builder_Register_Strings' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/class-wpml-beaver-builder-register-strings.php',
'WPML_Beaver_Builder_Tab' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/modules/class-wpml-beaver-builder-tab.php',
'WPML_Beaver_Builder_Testimonials' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/modules/class-wpml-beaver-builder-testimonials.php',
'WPML_Beaver_Builder_Translatable_Nodes' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/class-wpml-beaver-builder-translatable-nodes.php',
'WPML_Beaver_Builder_Update_Media_Factory' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/media/class-wpml-beaver-builder-update-media-factory.php',
'WPML_Beaver_Builder_Update_Translation' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/class-wpml-beaver-builder-update-translation.php',
'WPML_Compatibility_Divi' => __DIR__ . '/../..' . '/classes/Integrations/Divi/class-wpml-compatibility-divi.php',
'WPML_Compatibility_Divi_Notice' => __DIR__ . '/../..' . '/classes/Integrations/Divi/class-wpml-compatiblity-divi-notice.php',
'WPML_Compatibility_Plugin_Fusion_Global_Element_Hooks' => __DIR__ . '/../..' . '/classes/Integrations/FusionBuilder/wpml-compatibility-plugin-fusion-global-element-hooks.php',
'WPML_Compatibility_Plugin_Fusion_Hooks_Factory' => __DIR__ . '/../..' . '/classes/Integrations/FusionBuilder/wpml-compatibility-plugin-fusion-hooks-factory.php',
'WPML_Compatibility_Plugin_Visual_Composer' => __DIR__ . '/../..' . '/classes/Integrations/WPBakery/class-wpml-compatibility-plugin-visual-composer.php',
'WPML_Compatibility_Plugin_Visual_Composer_Grid_Hooks' => __DIR__ . '/../..' . '/classes/Integrations/WPBakery/class-wpml-compatibility-plugin-visual-composer-grid-hooks.php',
'WPML_Compatibility_Theme_Enfold' => __DIR__ . '/../..' . '/classes/Integrations/Enfold/class-wpml-compatibility-theme-enfold.php',
'WPML_Core_Version_Check' => __DIR__ . '/..' . '/wpml-shared/wpml-lib-dependencies/src/dependencies/class-wpml-core-version-check.php',
'WPML_Cornerstone_Accordion' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/modules/class-wpml-cornerstone-accordion.php',
'WPML_Cornerstone_Data_Settings' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/class-wpml-cornerstone-data-settings.php',
'WPML_Cornerstone_Integration_Factory' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/class-wpml-cornerstone-integration-factory.php',
'WPML_Cornerstone_Media_Hooks_Factory' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/media/class-wpml-cornerstone-media-hooks-factory.php',
'WPML_Cornerstone_Media_Node' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/media/modules/abstract/class-wpml-cornerstone-media-node.php',
'WPML_Cornerstone_Media_Node_Classic_Card' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/media/modules/class-wpml-cornerstone-media-node-classic-card.php',
'WPML_Cornerstone_Media_Node_Classic_Creative_CTA' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/media/modules/class-wpml-cornerstone-media-node-classic-creative-cta.php',
'WPML_Cornerstone_Media_Node_Classic_Feature_Box' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/media/modules/class-wpml-cornerstone-media-node-classic-feature-box.php',
'WPML_Cornerstone_Media_Node_Classic_Image' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/media/modules/class-wpml-cornerstone-media-node-classic-image.php',
'WPML_Cornerstone_Media_Node_Classic_Promo' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/media/modules/class-wpml-cornerstone-media-node-classic-promo.php',
'WPML_Cornerstone_Media_Node_Image' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/media/modules/class-wpml-cornerstone-media-node-image.php',
'WPML_Cornerstone_Media_Node_Provider' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/media/class-wpml-cornerstone-media-node-provider.php',
'WPML_Cornerstone_Media_Node_With_URLs' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/media/modules/abstract/class-wpml-cornerstone-media-node-with-urls.php',
'WPML_Cornerstone_Media_Nodes_Iterator' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/media/class-wpml-cornerstone-media-nodes-iterator.php',
'WPML_Cornerstone_Module_With_Items' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/modules/class-wpml-cornerstone-module-with-items.php',
'WPML_Cornerstone_Register_Strings' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/class-wpml-cornerstone-register-strings.php',
'WPML_Cornerstone_Tabs' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/modules/class-wpml-cornerstone-tabs.php',
'WPML_Cornerstone_Translatable_Nodes' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/class-wpml-cornerstone-translatable-nodes.php',
'WPML_Cornerstone_Update_Media_Factory' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/media/class-wpml-cornerstone-update-media-factory.php',
'WPML_Cornerstone_Update_Translation' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/class-wpml-cornerstone-update-translation.php',
'WPML_Dependencies' => __DIR__ . '/..' . '/wpml-shared/wpml-lib-dependencies/src/dependencies/class-wpml-dependencies.php',
'WPML_Elementor_Accordion' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/modules/class-wpml-elementor-accordion.php',
'WPML_Elementor_Adjust_Global_Widget_ID' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/class-wpml-elementor-adjust-global-widget-id.php',
'WPML_Elementor_Adjust_Global_Widget_ID_Factory' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/class-wpml-elementor-adjust-global-widget-id-factory.php',
'WPML_Elementor_DB' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/class-wpml-elementor-db.php',
'WPML_Elementor_DB_Factory' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/class-wpml-elementor-db-factory.php',
'WPML_Elementor_Data_Settings' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/class-wpml-elementor-data-settings.php',
'WPML_Elementor_Form' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/modules/class-wpml-elementor-form.php',
'WPML_Elementor_Icon_List' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/modules/class-wpml-elementor-icon-list.php',
'WPML_Elementor_Integration_Factory' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/class-wpml-elementor-integration-factory.php',
'WPML_Elementor_Media_Hooks_Factory' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/class-wpml-elementor-media-hooks-factory.php',
'WPML_Elementor_Media_Node' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/modules/abstract/class-wpml-elementor-media-node.php',
'WPML_Elementor_Media_Node_Call_To_Action' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/modules/class-wpml-elementor-media-node-call-to-action.php',
'WPML_Elementor_Media_Node_Image' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/modules/class-wpml-elementor-media-node-image.php',
'WPML_Elementor_Media_Node_Image_Box' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/modules/class-wpml-elementor-media-node-image-box.php',
'WPML_Elementor_Media_Node_Image_Carousel' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/modules/class-wpml-elementor-media-node-image-carousel.php',
'WPML_Elementor_Media_Node_Image_Gallery' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/modules/class-wpml-elementor-media-node-image-gallery.php',
'WPML_Elementor_Media_Node_Media_Carousel' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/modules/class-wpml-elementor-media-node-media-carousel.php',
'WPML_Elementor_Media_Node_Provider' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/class-wpml-elementor-media-node-provider.php',
'WPML_Elementor_Media_Node_Slides' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/modules/class-wpml-elementor-media-node-slides.php',
'WPML_Elementor_Media_Node_WP_Widget_Media_Gallery' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/modules/class-wpml-elementor-media-node-wp-widget-media-gallery.php',
'WPML_Elementor_Media_Node_WP_Widget_Media_Image' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/modules/class-wpml-elementor-media-node-wp-widget-media-image.php',
'WPML_Elementor_Media_Node_With_Image_Property' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/modules/abstract/class-wpml-elementor-media-node-with-image-property.php',
'WPML_Elementor_Media_Node_With_Images_Property' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/modules/abstract/class-wpml-elementor-media-node-with-images-property.php',
'WPML_Elementor_Media_Node_With_Slides' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/modules/abstract/class-wpml-elementor-media-node-with-slides.php',
'WPML_Elementor_Media_Nodes_Iterator' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/class-wpml-elementor-media-nodes-iterator.php',
'WPML_Elementor_Module_With_Items' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/modules/class-wpml-elementor-module-with-items.php',
'WPML_Elementor_Price_List' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/modules/class-wpml-elementor-price-list.php',
'WPML_Elementor_Price_Table' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/modules/class-wpml-elementor-price-table.php',
'WPML_Elementor_Register_Strings' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/class-wpml-elementor-register-strings.php',
'WPML_Elementor_Slides' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/modules/class-wpml-elementor-slides.php',
'WPML_Elementor_Tabs' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/modules/class-wpml-elementor-tabs.php',
'WPML_Elementor_Testimonial_Carousel' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/modules/class-wpml-elementor-testimonial-carousel.php',
'WPML_Elementor_Toggle' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/modules/class-wpml-elementor-toggle.php',
'WPML_Elementor_Translatable_Nodes' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/class-wpml-elementor-translatable-nodes.php',
'WPML_Elementor_Translate_IDs' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/class-wpml-elementor-translate-ids.php',
'WPML_Elementor_Translate_IDs_Factory' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/class-wpml-elementor-translate-ids-factory.php',
'WPML_Elementor_URLs' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/class-wpml-elementor-urls.php',
'WPML_Elementor_URLs_Factory' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/class-wpml-elementor-urls-factory.php',
'WPML_Elementor_Update_Media_Factory' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/media/class-wpml-elementor-update-media-factory.php',
'WPML_Elementor_Update_Translation' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/class-wpml-elementor-update-translation.php',
'WPML_Elementor_WooCommerce_Hooks' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/class-wpml-elementor-woocommerce-hooks.php',
'WPML_Elementor_WooCommerce_Hooks_Factory' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/class-wpml-elementor-woocommerce-hooks-factory.php',
'WPML_Gutenberg_Config_Option' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/class-wpml-gutenberg-config-option.php',
'WPML_Gutenberg_Integration' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/class-wpml-gutenberg-integration.php',
'WPML_Gutenberg_Integration_Factory' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/class-wpml-gutenberg-integration-factory.php',
'WPML_Gutenberg_Strings_Registration' => __DIR__ . '/../..' . '/classes/Integrations/Gutenberg/class-wpml-gutenberg-strings-registration.php',
'WPML_PB_API_Hooks_Strategy' => __DIR__ . '/../..' . '/classes/Shared/st/strategy/api-hooks/class-wpml-pb-api-hooks-strategy.php',
'WPML_PB_Beaver_Builder_Handle_Custom_Fields_Factory' => __DIR__ . '/../..' . '/classes/Integrations/BeaverBuilder/class-wpml-beaver-builder-handle-custom-fields-factory.php',
'WPML_PB_Config_Import_Shortcode' => __DIR__ . '/../..' . '/classes/Shared/st/strategy/shortcode/class-wpml-pb-config-import-shortcode.php',
'WPML_PB_Cornerstone_Handle_Custom_Fields_Factory' => __DIR__ . '/../..' . '/classes/Integrations/Cornerstone/class-wpml-cornerstone-handle-custom-fields-factory.php',
'WPML_PB_Elementor_Handle_Custom_Fields_Factory' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/class-wpml-elementor-pb-handle-custom-fields-factory.php',
'WPML_PB_Factory' => __DIR__ . '/../..' . '/classes/Shared/st/class-wpml-pb-factory.php',
'WPML_PB_Fix_Maintenance_Query' => __DIR__ . '/../..' . '/classes/Integrations/Elementor/class-wpml-pb-fix-maintenance-query.php',
'WPML_PB_Handle_Custom_Fields' => __DIR__ . '/../..' . '/classes/Shared/tm/class-wpml-pb-handle-custom-fields.php',
'WPML_PB_Handle_Post_Body' => __DIR__ . '/../..' . '/classes/Shared/tm/class-wpml-pb-handle-post-body.php',
'WPML_PB_Integration' => __DIR__ . '/../..' . '/classes/Shared/st/class-wpml-pb-integration.php',
'WPML_PB_Integration_Rescan' => __DIR__ . '/../..' . '/classes/Shared/st/class-wpml-pb-rescan.php',
'WPML_PB_Last_Translation_Edit_Mode' => __DIR__ . '/../..' . '/classes/Shared/st/class-wpml-pb-last-translation-edit-mode.php',
'WPML_PB_Loader' => __DIR__ . '/../..' . '/classes/Shared/st/class-wpml-pb-loader.php',
'WPML_PB_Package_Strings_Resave' => __DIR__ . '/../..' . '/classes/Shared/st/class-wpml-pb-package-strings-resave.php',
'WPML_PB_Register_Shortcodes' => __DIR__ . '/../..' . '/classes/Shared/st/strategy/shortcode/class-wpml-pb-register-shortcodes.php',
'WPML_PB_Reuse_Translations' => __DIR__ . '/../..' . '/classes/Shared/st/class-wpml-pb-reuse-translations.php',
'WPML_PB_Reuse_Translations_By_Strategy' => __DIR__ . '/../..' . '/classes/Shared/st/class-wpml-pb-reuse-translations-by-strategy.php',
'WPML_PB_Shortcode_Content_Wrapper' => __DIR__ . '/../..' . '/classes/Shared/st/strategy/shortcode/class-wpml-pb-shortcode-content-wrapper.php',
'WPML_PB_Shortcode_Encoding' => __DIR__ . '/../..' . '/classes/Shared/st/strategy/shortcode/class-wpml-pb-shortcode-encoding.php',
'WPML_PB_Shortcode_Strategy' => __DIR__ . '/../..' . '/classes/Shared/st/strategy/shortcode/class-wpml-pb-shortcode-strategy.php',
'WPML_PB_Shortcodes' => __DIR__ . '/../..' . '/classes/Shared/st/strategy/shortcode/class-wpml-pb-shortcodes.php',
'WPML_PB_String' => __DIR__ . '/../..' . '/classes/Shared/st/class-wpml-pb-string.php',
'WPML_PB_String_Registration' => __DIR__ . '/../..' . '/classes/Shared/st/class-wpml-pb-string-registration.php',
'WPML_PB_String_Translation' => __DIR__ . '/../..' . '/classes/Shared/st/class-wpml-pb-string-translation.php',
'WPML_PB_String_Translation_By_Strategy' => __DIR__ . '/../..' . '/classes/Shared/st/class-wpml-pb-string-translation-by-strategy.php',
'WPML_PB_Update_API_Hooks_In_Content' => __DIR__ . '/../..' . '/classes/Shared/st/strategy/api-hooks/class-wpml-pb-update-api-hooks-in-content.php',
'WPML_PB_Update_Post' => __DIR__ . '/../..' . '/classes/Shared/st/class-wpml-pb-update-post.php',
'WPML_PB_Update_Shortcodes_In_Content' => __DIR__ . '/../..' . '/classes/Shared/st/strategy/shortcode/class-wpml-pb-update-shortcodes-in-content.php',
'WPML_PHP_Version_Check' => __DIR__ . '/..' . '/wpml-shared/wpml-lib-dependencies/src/dependencies/class-wpml-php-version-check.php',
'WPML_Page_Builders_App' => __DIR__ . '/../..' . '/classes/Shared/st/class-wpml-page-builders-app.php',
'WPML_Page_Builders_Defined' => __DIR__ . '/../..' . '/classes/Shared/st/compatibility/class-wpml-page-builders-defined.php',
'WPML_Page_Builders_Integration' => __DIR__ . '/../..' . '/classes/Shared/st/class-page-builder-integration.php',
'WPML_Page_Builders_Media_Hooks' => __DIR__ . '/../..' . '/classes/Shared/media/class-wpml-page-builders-media-hooks.php',
'WPML_Page_Builders_Media_Shortcodes' => __DIR__ . '/../..' . '/classes/Shared/media/shortcodes/class-wpml-page-builders-media-shortcodes.php',
'WPML_Page_Builders_Media_Shortcodes_Update' => __DIR__ . '/../..' . '/classes/Shared/media/shortcodes/class-wpml-page-builders-media-shortcodes-update.php',
'WPML_Page_Builders_Media_Shortcodes_Update_Factory' => __DIR__ . '/../..' . '/classes/Shared/media/shortcodes/class-wpml-page-builders-media-shortcodes-update-factory.php',
'WPML_Page_Builders_Media_Translate' => __DIR__ . '/../..' . '/classes/Shared/media/class-wpml-page-builders-media-translate.php',
'WPML_Page_Builders_Media_Usage' => __DIR__ . '/../..' . '/classes/Shared/media/class-wpml-page-builders-media-usage.php',
'WPML_Page_Builders_Page_Built' => __DIR__ . '/../..' . '/classes/Shared/utilities/class-wpml-page-builders-page-built-with-built.php',
'WPML_Page_Builders_Register_Strings' => __DIR__ . '/../..' . '/classes/Shared/st/compatibility/class-wpml-page-builders-register-strings.php',
'WPML_Page_Builders_Update' => __DIR__ . '/../..' . '/classes/Shared/st/compatibility/class-wpml-page-builders-update.php',
'WPML_Page_Builders_Update_Media' => __DIR__ . '/../..' . '/classes/Shared/media/class-wpml-page-builders-update-media.php',
'WPML_Page_Builders_Update_Translation' => __DIR__ . '/../..' . '/classes/Shared/st/compatibility/class-wpml-page-builders-update-translation.php',
'WPML_ST_Diff' => __DIR__ . '/../..' . '/classes/Shared/utilities/class-wpml-st-diff.php',
'WPML_ST_PB_Plugin' => __DIR__ . '/../..' . '/classes/Shared/st/class-wpml-st-pb-plugin.php',
'WPML_String_Registration_Factory' => __DIR__ . '/../..' . '/classes/Shared/st/class-wpml-string-registration-factory.php',
'WPML_TM_Page_Builders' => __DIR__ . '/../..' . '/classes/Shared/tm/class-wpml-tm-page-builders.php',
'WPML_TM_Page_Builders_Field_Wrapper' => __DIR__ . '/../..' . '/classes/Shared/tm/class-wpml-tm-page-builders-field-wrapper.php',
'WPML_TM_Page_Builders_Hooks' => __DIR__ . '/../..' . '/classes/Shared/tm/class-wpml-tm-page-builders-hooks.php',
);
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->classMap = ComposerStaticInit10a7e53e988fdcc279b8c0e97d7d08e0::$classMap;
}, null, ClassLoader::class);
}
}

View File

@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2015 Jake A. Smith
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1,174 @@
<?php
/**
* URL constants as defined in the PHP Manual under "Constants usable with
* http_build_url()".
*
* @see http://us2.php.net/manual/en/http.constants.php#http.constants.url
*/
if (!defined('HTTP_URL_REPLACE')) {
define('HTTP_URL_REPLACE', 1);
}
if (!defined('HTTP_URL_JOIN_PATH')) {
define('HTTP_URL_JOIN_PATH', 2);
}
if (!defined('HTTP_URL_JOIN_QUERY')) {
define('HTTP_URL_JOIN_QUERY', 4);
}
if (!defined('HTTP_URL_STRIP_USER')) {
define('HTTP_URL_STRIP_USER', 8);
}
if (!defined('HTTP_URL_STRIP_PASS')) {
define('HTTP_URL_STRIP_PASS', 16);
}
if (!defined('HTTP_URL_STRIP_AUTH')) {
define('HTTP_URL_STRIP_AUTH', 32);
}
if (!defined('HTTP_URL_STRIP_PORT')) {
define('HTTP_URL_STRIP_PORT', 64);
}
if (!defined('HTTP_URL_STRIP_PATH')) {
define('HTTP_URL_STRIP_PATH', 128);
}
if (!defined('HTTP_URL_STRIP_QUERY')) {
define('HTTP_URL_STRIP_QUERY', 256);
}
if (!defined('HTTP_URL_STRIP_FRAGMENT')) {
define('HTTP_URL_STRIP_FRAGMENT', 512);
}
if (!defined('HTTP_URL_STRIP_ALL')) {
define('HTTP_URL_STRIP_ALL', 1024);
}
if (!function_exists('http_build_url')) {
/**
* Build a URL.
*
* The parts of the second URL will be merged into the first according to
* the flags argument.
*
* @param mixed $url (part(s) of) an URL in form of a string or
* associative array like parse_url() returns
* @param mixed $parts same as the first argument
* @param int $flags a bitmask of binary or'ed HTTP_URL constants;
* HTTP_URL_REPLACE is the default
* @param array $new_url if set, it will be filled with the parts of the
* composed url like parse_url() would return
* @return string
*/
function http_build_url($url, $parts = array(), $flags = HTTP_URL_REPLACE, &$new_url = array())
{
is_array($url) || $url = parse_url($url);
is_array($parts) || $parts = parse_url($parts);
isset($url['query']) && is_string($url['query']) || $url['query'] = null;
isset($parts['query']) && is_string($parts['query']) || $parts['query'] = null;
$keys = array('user', 'pass', 'port', 'path', 'query', 'fragment');
// HTTP_URL_STRIP_ALL and HTTP_URL_STRIP_AUTH cover several other flags.
if ($flags & HTTP_URL_STRIP_ALL) {
$flags |= HTTP_URL_STRIP_USER | HTTP_URL_STRIP_PASS
| HTTP_URL_STRIP_PORT | HTTP_URL_STRIP_PATH
| HTTP_URL_STRIP_QUERY | HTTP_URL_STRIP_FRAGMENT;
} elseif ($flags & HTTP_URL_STRIP_AUTH) {
$flags |= HTTP_URL_STRIP_USER | HTTP_URL_STRIP_PASS;
}
// Schema and host are alwasy replaced
foreach (array('scheme', 'host') as $part) {
if (isset($parts[$part])) {
$url[$part] = $parts[$part];
}
}
if ($flags & HTTP_URL_REPLACE) {
foreach ($keys as $key) {
if (isset($parts[$key])) {
$url[$key] = $parts[$key];
}
}
} else {
if (isset($parts['path']) && ($flags & HTTP_URL_JOIN_PATH)) {
if (isset($url['path']) && substr($parts['path'], 0, 1) !== '/') {
// Workaround for trailing slashes
$url['path'] .= 'a';
$url['path'] = rtrim(
str_replace(basename($url['path']), '', $url['path']),
'/'
) . '/' . ltrim($parts['path'], '/');
} else {
$url['path'] = $parts['path'];
}
}
if (isset($parts['query']) && ($flags & HTTP_URL_JOIN_QUERY)) {
if (isset($url['query'])) {
parse_str($url['query'], $url_query);
parse_str($parts['query'], $parts_query);
$url['query'] = http_build_query(
array_replace_recursive(
$url_query,
$parts_query
)
);
} else {
$url['query'] = $parts['query'];
}
}
}
if (isset($url['path']) && $url['path'] !== '' && substr($url['path'], 0, 1) !== '/') {
$url['path'] = '/' . $url['path'];
}
foreach ($keys as $key) {
$strip = 'HTTP_URL_STRIP_' . strtoupper($key);
if ($flags & constant($strip)) {
unset($url[$key]);
}
}
$parsed_string = '';
if (!empty($url['scheme'])) {
$parsed_string .= $url['scheme'] . '://';
}
if (!empty($url['user'])) {
$parsed_string .= $url['user'];
if (isset($url['pass'])) {
$parsed_string .= ':' . $url['pass'];
}
$parsed_string .= '@';
}
if (!empty($url['host'])) {
$parsed_string .= $url['host'];
}
if (!empty($url['port'])) {
$parsed_string .= ':' . $url['port'];
}
if (!empty($url['path'])) {
$parsed_string .= $url['path'];
}
if (!empty($url['query'])) {
$parsed_string .= '?' . $url['query'];
}
if (!empty($url['fragment'])) {
$parsed_string .= '#' . $url['fragment'];
}
$new_url = $url;
return $parsed_string;
}
}

View File

@@ -0,0 +1,24 @@
<?php
class WPML_Core_Version_Check {
public static function is_ok( $package_file_path ) {
$is_ok = false;
/** @var array $bundle */
$bundle = json_decode( file_get_contents( $package_file_path ), true );
if ( defined( 'ICL_SITEPRESS_VERSION' ) && is_array( $bundle ) ) {
$core_version_stripped = ICL_SITEPRESS_VERSION;
$dev_or_beta_pos = strpos( ICL_SITEPRESS_VERSION, '-' );
if ( $dev_or_beta_pos > 0 ) {
$core_version_stripped = substr( ICL_SITEPRESS_VERSION, 0, $dev_or_beta_pos );
}
if ( version_compare( $core_version_stripped, $bundle['sitepress-multilingual-cms'], '>=' ) ) {
$is_ok = true;
}
}
return $is_ok;
}
}

View File

@@ -0,0 +1,357 @@
<?php
/*
Module Name: WPML Dependency Check Module
Description: This is not a plugin! This module must be included in other plugins (WPML and add-ons) to handle compatibility checks
Author: OnTheGoSystems
Author URI: http://www.onthegosystems.com/
Version: 2.1
*/
/** @noinspection PhpUndefinedClassInspection */
class WPML_Dependencies {
protected static $instance;
private $admin_notice;
private $current_product;
private $current_version = array();
private $expected_versions = array();
private $installed_plugins = array();
private $invalid_plugins = array();
private $valid_plugins = array();
private $validation_results = array();
public $data_key = 'wpml_dependencies:';
public $needs_validation_key = 'wpml_dependencies:needs_validation';
private function __construct() {
if ( null === self::$instance ) {
$this->remove_old_admin_notices();
$this->init_hooks();
}
}
private function collect_data() {
$active_plugins = wp_get_active_and_valid_plugins();
$this->init_bundle( $active_plugins );
foreach ( $active_plugins as $plugin ) {
$this->add_installed_plugin( $plugin );
}
}
protected function remove_old_admin_notices() {
if ( class_exists( 'WPML_Bundle_Check' ) ) {
global $WPML_Bundle_Check;
remove_action( 'admin_notices', array( $WPML_Bundle_Check, 'admin_notices_action' ) );
}
}
private function init_hooks() {
add_action( 'init', array( $this, 'init_plugins_action' ) );
add_action( 'extra_plugin_headers', array( $this, 'extra_plugin_headers_action' ) );
add_action( 'admin_notices', array( $this, 'admin_notices_action' ) );
add_action( 'activated_plugin', array( $this, 'activated_plugin_action' ) );
add_action( 'deactivated_plugin', array( $this, 'deactivated_plugin_action' ) );
add_action( 'upgrader_process_complete', array( $this, 'upgrader_process_complete_action' ), 10, 2 );
add_action( 'load-plugins.php', array( $this, 'run_validation_on_plugins_page' ) );
}
public function run_validation_on_plugins_page() {
$this->reset_validation();
}
public function activated_plugin_action() {
$this->reset_validation();
}
public function deactivated_plugin_action() {
$this->reset_validation();
}
public function upgrader_process_complete_action( $upgrader_object, $options ) {
if ( 'update' === $options['action'] && 'plugin' === $options['type'] ) {
$this->reset_validation();
}
}
private function reset_validation() {
update_option( $this->needs_validation_key, true );
$this->validate_plugins();
}
private function flag_as_validated() {
update_option( $this->needs_validation_key, false );
}
private function needs_validation() {
return get_option( $this->needs_validation_key );
}
public function admin_notices_action() {
$this->maybe_init_admin_notice();
if ( $this->admin_notice && ( is_admin() && ! $this->is_doing_ajax_cron_or_xmlrpc() ) ) {
echo $this->admin_notice;
}
}
private function is_doing_ajax_cron_or_xmlrpc() {
return ( $this->is_doing_ajax() || $this->is_doing_cron() || $this->is_doing_xmlrpc() );
}
private function is_doing_ajax() {
return ( defined( 'DOING_AJAX' ) && DOING_AJAX );
}
private function is_doing_cron() {
return ( defined( 'DOING_CRON' ) && DOING_CRON );
}
private function is_doing_xmlrpc() {
return ( defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST );
}
public function extra_plugin_headers_action( array $extra_headers = array() ) {
$new_extra_header = array(
'PluginSlug' => 'Plugin Slug',
);
return array_merge( $new_extra_header, (array) $extra_headers );
}
/**
* @return WPML_Dependencies
*/
public static function get_instance() {
if ( null === self::$instance ) {
self::$instance = new WPML_Dependencies();
}
return self::$instance;
}
public function get_plugins() {
return $this->installed_plugins;
}
public function init_plugins_action() {
if ( $this->needs_validation() && is_admin() && ! $this->is_doing_ajax_cron_or_xmlrpc() ) {
$this->init_plugins();
$this->validate_plugins();
$this->flag_as_validated();
}
}
private function init_plugins() {
if ( ! $this->installed_plugins ) {
if ( ! function_exists( 'get_plugin_data' ) ) {
/** @noinspection PhpIncludeInspection */
include_once ABSPATH . '/wp-admin/includes/plugin.php';
}
if ( function_exists( 'get_plugin_data' ) ) {
$this->collect_data();
}
}
update_option( $this->data_key . 'installed_plugins', $this->installed_plugins );
}
private function init_bundle( array $active_plugins ) {
foreach ( $active_plugins as $plugin_file ) {
$filename = dirname( $plugin_file ) . '/wpml-dependencies.json';
if ( file_exists( $filename ) ) {
$data = file_get_contents( $filename );
$bundle = json_decode( $data, true );
$this->set_expected_versions( $bundle );
}
}
}
private function add_installed_plugin( $plugin ) {
$data = get_plugin_data( $plugin );
$plugin_dir = realpath( dirname( $plugin ) );
$wp_plugin_dir = realpath( WP_PLUGIN_DIR ) . DIRECTORY_SEPARATOR;
if ( false !== $plugin_dir && $wp_plugin_dir !== $plugin_dir ) {
$plugin_folder = str_replace( $wp_plugin_dir, '', $plugin_dir );
$plugin_slug = $this->guess_plugin_slug( $data, $plugin_folder );
if ( $this->is_valid_plugin( $plugin_slug ) ) {
$this->installed_plugins[ $plugin_slug ] = $data['Version'];
}
}
}
private function set_expected_versions( array $bundle ) {
foreach ( $bundle as $plugin => $version ) {
if ( ! array_key_exists( $plugin, $this->expected_versions ) ) {
$this->expected_versions[ $plugin ] = $version;
} else {
if ( version_compare( $this->expected_versions[ $plugin ], $version, '<' ) ) {
$this->expected_versions[ $plugin ] = $version;
}
}
}
}
private function guess_plugin_slug( $plugin_data, $plugin_folder ) {
$plugin_slug = null;
$plugin_slug = $plugin_folder;
if ( array_key_exists( 'Plugin Slug', $plugin_data ) && $plugin_data['Plugin Slug'] ) {
$plugin_slug = $plugin_data['Plugin Slug'];
}
return $plugin_slug;
}
private function validate_plugins() {
$validation_results = $this->get_plugins_validation();
$this->valid_plugins = array();
$this->invalid_plugins = array();
foreach ( $validation_results as $plugin => $validation_result ) {
if ( true === $validation_result ) {
$this->valid_plugins[] = $plugin;
} else {
$this->invalid_plugins[] = $plugin;
}
}
update_option( $this->data_key . 'valid_plugins', $this->valid_plugins );
update_option( $this->data_key . 'invalid_plugins', $this->invalid_plugins );
update_option( $this->data_key . 'expected_versions', $this->expected_versions );
}
public function get_plugins_validation() {
foreach ( $this->installed_plugins as $plugin => $version ) {
$this->current_product = $plugin;
if ( $this->is_valid_plugin() ) {
$this->current_version = $version;
$validation_result = $this->is_plugin_version_valid();
$this->validation_results[ $plugin ] = $validation_result;
}
}
return $this->validation_results;
}
private function is_valid_plugin( $product = false ) {
$result = false;
if ( ! $product ) {
$product = $this->current_product;
}
if ( $product ) {
$versions = $this->get_expected_versions();
$result = array_key_exists( $product, $versions );
}
return $result;
}
public function is_plugin_version_valid() {
$expected_version = $this->filter_version( $this->get_expected_product_version() );
return $expected_version ? version_compare( $this->filter_version( $this->current_version ), $expected_version, '>=' ) : null;
}
private function filter_version( $version ) {
return preg_replace( '#[^\d.].*#', '', $version );
}
public function get_expected_versions() {
return $this->expected_versions;
}
private function get_expected_product_version( $product = false ) {
$result = null;
if ( ! $product ) {
$product = $this->current_product;
}
if ( $product ) {
$versions = $this->get_expected_versions();
$result = isset( $versions[ $product ] ) ? $versions[ $product ] : null;
}
return $result;
}
private function maybe_init_admin_notice() {
$this->admin_notice = null;
$this->installed_plugins = get_option( $this->data_key . 'installed_plugins', [] );
$this->invalid_plugins = get_option( $this->data_key . 'invalid_plugins', [] );
$this->expected_versions = get_option( $this->data_key . 'expected_versions', [] );
$this->valid_plugins = get_option( $this->data_key . 'valid_plugins', [] );
if ( $this->has_invalid_plugins() ) {
$notice_paragraphs = array();
$notice_paragraphs[] = $this->get_invalid_plugins_report_header();
$notice_paragraphs[] = $this->get_invalid_plugins_report_list();
$notice_paragraphs[] = $this->get_invalid_plugins_report_footer();
$this->admin_notice = '<div class="error wpml-admin-notice">';
$this->admin_notice .= '<h3>' . __( 'WPML Update is Incomplete', 'sitepress' ) . '</h3>';
$this->admin_notice .= '<p>' . implode( '</p><p>', $notice_paragraphs ) . '</p>';
$this->admin_notice .= '</div>';
}
}
public function has_invalid_plugins() {
return count( $this->invalid_plugins );
}
private function get_invalid_plugins_report_header() {
if ( $this->has_valid_plugins() ) {
if ( count( $this->valid_plugins ) === 1 ) {
$paragraph = __( 'You are running updated %s, but the following component is not updated:', 'sitepress' );
$paragraph = sprintf( $paragraph, '<strong>' . $this->valid_plugins[0] . '</strong>' );
} else {
$paragraph = __( 'You are running updated %s and %s, but the following components are not updated:', 'sitepress' );
$first_valid_plugins = implode( ', ', array_slice( $this->valid_plugins, 0, - 1 ) );
$last_valid_plugin = array_slice( $this->valid_plugins, - 1 );
$paragraph = sprintf( $paragraph, '<strong>' . $first_valid_plugins . '</strong>', '<strong>' . $last_valid_plugin[0] . '</strong>' );
}
} else {
$paragraph = __( 'The following components are not updated:', 'sitepress' );
}
return $paragraph;
}
private function get_invalid_plugins_report_list() {
/* translators: %s: Version number */
$required_version = __( 'required version: %s', 'sitepress' );
$invalid_plugins_list = '<ul class="ul-disc">';
foreach ( $this->invalid_plugins as $invalid_plugin ) {
$plugin_name_html = '<li data-installed-version="' . $this->installed_plugins[ $invalid_plugin ] . '">';
$required_version_string = '';
if ( isset( $this->expected_versions[ $invalid_plugin ] ) ) {
$required_version_string = ' (' . sprintf( $required_version, $this->expected_versions[ $invalid_plugin ] ) . ')';
}
$plugin_name_html .= $invalid_plugin . $required_version_string;
$plugin_name_html .= '</li>';
$invalid_plugins_list .= $plugin_name_html;
}
$invalid_plugins_list .= '</ul>';
return $invalid_plugins_list;
}
private function get_invalid_plugins_report_footer() {
$wpml_org_url = '<a href="https://wpml.org/account/" title="WPML.org account">' . __( 'WPML.org account', 'sitepress' ) . '</a>';
$notice_paragraph = __( 'Your site will not work as it should in this configuration', 'sitepress' );
$notice_paragraph .= ' ';
$notice_paragraph .= __( 'Please update all components which you are using.', 'sitepress' );
$notice_paragraph .= ' ';
$notice_paragraph .= sprintf( __( 'For WPML components you can receive updates from your %s or automatically, after you register WPML.', 'sitepress' ), $wpml_org_url );
return $notice_paragraph;
}
private function has_valid_plugins() {
return $this->valid_plugins && count( $this->valid_plugins );
}
}

View File

@@ -0,0 +1,98 @@
<?php
/**
* WPML_PHP_Version_Check class file.
*
* @package WPML\LibDependencies
*/
if ( ! class_exists( 'WPML_PHP_Version_Check' ) ) {
/**
* Class WPML_PHP_Version_Check
*/
class WPML_PHP_Version_Check {
/**
* Required php version.
*
* @var string
*/
private $required_php_version;
/**
* Plugin name.
*
* @var string
*/
private $plugin_name;
/**
* Plugin file.
*
* @var string
*/
private $plugin_file;
/**
* Text domain.
*
* @var string
*/
private $text_domain;
/**
* WPML_PHP_Version_Check constructor.
*
* @param string $required_version Required php version.
* @param string $plugin_name Plugin name.
* @param string $plugin_file Plugin file.
* @param string $text_domain Text domain.
*/
public function __construct( $required_version, $plugin_name, $plugin_file, $text_domain ) {
$this->required_php_version = $required_version;
$this->plugin_name = $plugin_name;
$this->plugin_file = $plugin_file;
$this->text_domain = $text_domain;
}
/**
* Check php version.
*
* @return bool
*/
public function is_ok() {
if ( version_compare( $this->required_php_version, phpversion(), '>' ) ) {
add_action( 'admin_notices', array( $this, 'php_requirement_message' ) );
return false;
}
return true;
}
/**
* Show notice with php requirement.
*/
public function php_requirement_message() {
load_plugin_textdomain( $this->text_domain, false, dirname( plugin_basename( $this->plugin_file ) ) . '/locale' );
$errata_page_link = 'https://wpml.org/errata/parse-error-syntax-error-unexpected-t_class-and-other-errors-when-using-php-versions-older-than-5-6/';
// phpcs:disable WordPress.WP.I18n.NonSingularStringLiteralDomain
/* translators: 1: Current PHP version number, 2: Plugin version, 3: Minimum required PHP version number */
$message = sprintf( __( 'Your server is running PHP version %1$s but %2$s requires at least %3$s.', $this->text_domain ), phpversion(), $this->plugin_name, $this->required_php_version );
$message .= '<br>';
/* translators: Link to errata page */
$message .= sprintf( __( 'You can find version of the plugin suitable for your environment <a href="%s">here</a>.', $this->text_domain ), $errata_page_link );
// phpcs:enable WordPress.WP.I18n.NonSingularStringLiteralDomain
?>
<div class="message error">
<p>
<?php echo wp_kses_post( $message ); ?>
</p>
</div>
<?php
}
}
}