Created
October 9, 2025 18:13
-
-
Save drzraf/076858e44c72265efd81a7f7a47bb0f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/polylang.php b/polylang.php | |
| index 030a4e0..5c1f2d5 100644 | |
| --- a/polylang.php | |
| +++ b/polylang.php | |
| @@ -67,7 +67,7 @@ if ( defined( 'POLYLANG_BASENAME' ) ) { | |
| } | |
| require __DIR__ . '/vendor/autoload.php'; | |
| -require __DIR__ . '/vendor/wpsyntex/polylang/polylang.php'; | |
| +// require __DIR__ . '/vendor/wpsyntex/polylang/polylang.php'; | |
| if ( empty( $_GET['deactivate-polylang'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification | |
| add_action( 'pll_init_options_for_blog', array( Options_Registry::class, 'register' ), 15 ); // After Polylang. | |
| diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php | |
| index c032fa5..2510938 100644 | |
| --- a/vendor/composer/autoload_classmap.php | |
| +++ b/vendor/composer/autoload_classmap.php | |
| @@ -311,31 +311,31 @@ return array( | |
| 'WP_Syntex\\Polylang_Pro\\Editors\\Screens\\Post' => $baseDir . '/modules/Editors/Screens/Post.php', | |
| 'WP_Syntex\\Polylang_Pro\\Editors\\Screens\\Site' => $baseDir . '/modules/Editors/Screens/Site.php', | |
| 'WP_Syntex\\Polylang_Pro\\Editors\\Screens\\Widget' => $baseDir . '/modules/Editors/Screens/Widget.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Ajax_Lang_Choice' => $baseDir . '/integrations/ACF/Ajax_Lang_Choice.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Dispatcher' => $baseDir . '/integrations/ACF/Dispatcher.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Abstract_Object' => $baseDir . '/integrations/ACF/Entity/Abstract_Object.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Blocks' => $baseDir . '/integrations/ACF/Entity/Blocks.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Media' => $baseDir . '/integrations/ACF/Entity/Media.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Post' => $baseDir . '/integrations/ACF/Entity/Post.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Term' => $baseDir . '/integrations/ACF/Entity/Term.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Translatable_Entity_Interface' => $baseDir . '/integrations/ACF/Entity/Translatable_Entity_Interface.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Field_Settings' => $baseDir . '/integrations/ACF/Field_Settings.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Labels\\Abstract_Object_Type' => $baseDir . '/integrations/ACF/Labels/Abstract_Object_Type.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Labels\\Field_Groups' => $baseDir . '/integrations/ACF/Labels/Field_Groups.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Labels\\Post_Type' => $baseDir . '/integrations/ACF/Labels/Post_Type.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Labels\\Taxonomy' => $baseDir . '/integrations/ACF/Labels/Taxonomy.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Location_Language' => $baseDir . '/integrations/ACF/Location_Language.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Main' => $baseDir . '/integrations/ACF/Main.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Abstract_Collect_Ids' => $baseDir . '/integrations/ACF/Strategy/Abstract_Collect_Ids.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Abstract_Strategy' => $baseDir . '/integrations/ACF/Strategy/Abstract_Strategy.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Collect_Post_Ids' => $baseDir . '/integrations/ACF/Strategy/Collect_Post_Ids.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Collect_Term_Ids' => $baseDir . '/integrations/ACF/Strategy/Collect_Term_Ids.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Copy' => $baseDir . '/integrations/ACF/Strategy/Copy.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Copy_All' => $baseDir . '/integrations/ACF/Strategy/Copy_All.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Export' => $baseDir . '/integrations/ACF/Strategy/Export.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Import' => $baseDir . '/integrations/ACF/Strategy/Import.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Synchronize' => $baseDir . '/integrations/ACF/Strategy/Synchronize.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Translation_Instructions' => $baseDir . '/integrations/ACF/Translation_Instructions.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Ajax_Lang_Choice' => $baseDir . '/integrations/acf/Ajax_Lang_Choice.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Dispatcher' => $baseDir . '/integrations/acf/Dispatcher.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Abstract_Object' => $baseDir . '/integrations/acf/Entity/Abstract_Object.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Blocks' => $baseDir . '/integrations/acf/Entity/Blocks.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Media' => $baseDir . '/integrations/acf/Entity/Media.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Post' => $baseDir . '/integrations/acf/Entity/Post.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Term' => $baseDir . '/integrations/acf/Entity/Term.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Translatable_Entity_Interface' => $baseDir . '/integrations/acf/Entity/Translatable_Entity_Interface.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Field_Settings' => $baseDir . '/integrations/acf/Field_Settings.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Labels\\Abstract_Object_Type' => $baseDir . '/integrations/acf/Labels/Abstract_Object_Type.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Labels\\Field_Groups' => $baseDir . '/integrations/acf/Labels/Field_Groups.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Labels\\Post_Type' => $baseDir . '/integrations/acf/Labels/Post_Type.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Labels\\Taxonomy' => $baseDir . '/integrations/acf/Labels/Taxonomy.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Location_Language' => $baseDir . '/integrations/acf/Location_Language.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Main' => $baseDir . '/integrations/acf/Main.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Abstract_Collect_Ids' => $baseDir . '/integrations/acf/Strategy/Abstract_Collect_Ids.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Abstract_Strategy' => $baseDir . '/integrations/acf/Strategy/Abstract_Strategy.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Collect_Post_Ids' => $baseDir . '/integrations/acf/Strategy/Collect_Post_Ids.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Collect_Term_Ids' => $baseDir . '/integrations/acf/Strategy/Collect_Term_Ids.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Copy' => $baseDir . '/integrations/acf/Strategy/Copy.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Copy_All' => $baseDir . '/integrations/acf/Strategy/Copy_All.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Export' => $baseDir . '/integrations/acf/Strategy/Export.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Import' => $baseDir . '/integrations/acf/Strategy/Import.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Synchronize' => $baseDir . '/integrations/acf/Strategy/Synchronize.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Translation_Instructions' => $baseDir . '/integrations/acf/Translation_Instructions.php', | |
| 'WP_Syntex\\Polylang_Pro\\Modules\\Import_Export\\Services\\Context' => $baseDir . '/services/context.php', | |
| 'WP_Syntex\\Polylang_Pro\\Modules\\Machine_Translation\\Clients\\Client_Interface' => $baseDir . '/modules/Machine_Translation/Clients/Client_Interface.php', | |
| 'WP_Syntex\\Polylang_Pro\\Modules\\Machine_Translation\\Clients\\Deepl' => $baseDir . '/modules/Machine_Translation/Clients/Deepl.php', | |
| diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php | |
| index 95ade26..163ad3e 100644 | |
| --- a/vendor/composer/autoload_static.php | |
| +++ b/vendor/composer/autoload_static.php | |
| @@ -312,31 +312,31 @@ class ComposerStaticInitf6e760fa5c7092d8f4480c7854f539ee | |
| 'WP_Syntex\\Polylang_Pro\\Editors\\Screens\\Post' => __DIR__ . '/../..' . '/modules/Editors/Screens/Post.php', | |
| 'WP_Syntex\\Polylang_Pro\\Editors\\Screens\\Site' => __DIR__ . '/../..' . '/modules/Editors/Screens/Site.php', | |
| 'WP_Syntex\\Polylang_Pro\\Editors\\Screens\\Widget' => __DIR__ . '/../..' . '/modules/Editors/Screens/Widget.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Ajax_Lang_Choice' => __DIR__ . '/../..' . '/integrations/ACF/Ajax_Lang_Choice.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Dispatcher' => __DIR__ . '/../..' . '/integrations/ACF/Dispatcher.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Abstract_Object' => __DIR__ . '/../..' . '/integrations/ACF/Entity/Abstract_Object.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Blocks' => __DIR__ . '/../..' . '/integrations/ACF/Entity/Blocks.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Media' => __DIR__ . '/../..' . '/integrations/ACF/Entity/Media.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Post' => __DIR__ . '/../..' . '/integrations/ACF/Entity/Post.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Term' => __DIR__ . '/../..' . '/integrations/ACF/Entity/Term.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Translatable_Entity_Interface' => __DIR__ . '/../..' . '/integrations/ACF/Entity/Translatable_Entity_Interface.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Field_Settings' => __DIR__ . '/../..' . '/integrations/ACF/Field_Settings.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Labels\\Abstract_Object_Type' => __DIR__ . '/../..' . '/integrations/ACF/Labels/Abstract_Object_Type.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Labels\\Field_Groups' => __DIR__ . '/../..' . '/integrations/ACF/Labels/Field_Groups.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Labels\\Post_Type' => __DIR__ . '/../..' . '/integrations/ACF/Labels/Post_Type.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Labels\\Taxonomy' => __DIR__ . '/../..' . '/integrations/ACF/Labels/Taxonomy.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Location_Language' => __DIR__ . '/../..' . '/integrations/ACF/Location_Language.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Main' => __DIR__ . '/../..' . '/integrations/ACF/Main.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Abstract_Collect_Ids' => __DIR__ . '/../..' . '/integrations/ACF/Strategy/Abstract_Collect_Ids.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Abstract_Strategy' => __DIR__ . '/../..' . '/integrations/ACF/Strategy/Abstract_Strategy.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Collect_Post_Ids' => __DIR__ . '/../..' . '/integrations/ACF/Strategy/Collect_Post_Ids.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Collect_Term_Ids' => __DIR__ . '/../..' . '/integrations/ACF/Strategy/Collect_Term_Ids.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Copy' => __DIR__ . '/../..' . '/integrations/ACF/Strategy/Copy.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Copy_All' => __DIR__ . '/../..' . '/integrations/ACF/Strategy/Copy_All.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Export' => __DIR__ . '/../..' . '/integrations/ACF/Strategy/Export.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Import' => __DIR__ . '/../..' . '/integrations/ACF/Strategy/Import.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Synchronize' => __DIR__ . '/../..' . '/integrations/ACF/Strategy/Synchronize.php', | |
| - 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Translation_Instructions' => __DIR__ . '/../..' . '/integrations/ACF/Translation_Instructions.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Ajax_Lang_Choice' => __DIR__ . '/../..' . '/integrations/acf/Ajax_Lang_Choice.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Dispatcher' => __DIR__ . '/../..' . '/integrations/acf/Dispatcher.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Abstract_Object' => __DIR__ . '/../..' . '/integrations/acf/Entity/Abstract_Object.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Blocks' => __DIR__ . '/../..' . '/integrations/acf/Entity/Blocks.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Media' => __DIR__ . '/../..' . '/integrations/acf/Entity/Media.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Post' => __DIR__ . '/../..' . '/integrations/acf/Entity/Post.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Term' => __DIR__ . '/../..' . '/integrations/acf/Entity/Term.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Entity\\Translatable_Entity_Interface' => __DIR__ . '/../..' . '/integrations/acf/Entity/Translatable_Entity_Interface.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Field_Settings' => __DIR__ . '/../..' . '/integrations/acf/Field_Settings.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Labels\\Abstract_Object_Type' => __DIR__ . '/../..' . '/integrations/acf/Labels/Abstract_Object_Type.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Labels\\Field_Groups' => __DIR__ . '/../..' . '/integrations/acf/Labels/Field_Groups.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Labels\\Post_Type' => __DIR__ . '/../..' . '/integrations/acf/Labels/Post_Type.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Labels\\Taxonomy' => __DIR__ . '/../..' . '/integrations/acf/Labels/Taxonomy.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Location_Language' => __DIR__ . '/../..' . '/integrations/acf/Location_Language.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Main' => __DIR__ . '/../..' . '/integrations/acf/Main.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Abstract_Collect_Ids' => __DIR__ . '/../..' . '/integrations/acf/Strategy/Abstract_Collect_Ids.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Abstract_Strategy' => __DIR__ . '/../..' . '/integrations/acf/Strategy/Abstract_Strategy.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Collect_Post_Ids' => __DIR__ . '/../..' . '/integrations/acf/Strategy/Collect_Post_Ids.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Collect_Term_Ids' => __DIR__ . '/../..' . '/integrations/acf/Strategy/Collect_Term_Ids.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Copy' => __DIR__ . '/../..' . '/integrations/acf/Strategy/Copy.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Copy_All' => __DIR__ . '/../..' . '/integrations/acf/Strategy/Copy_All.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Export' => __DIR__ . '/../..' . '/integrations/acf/Strategy/Export.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Import' => __DIR__ . '/../..' . '/integrations/acf/Strategy/Import.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Strategy\\Synchronize' => __DIR__ . '/../..' . '/integrations/acf/Strategy/Synchronize.php', | |
| + 'WP_Syntex\\Polylang_Pro\\Integrations\\ACF\\Translation_Instructions' => __DIR__ . '/../..' . '/integrations/acf/Translation_Instructions.php', | |
| 'WP_Syntex\\Polylang_Pro\\Modules\\Import_Export\\Services\\Context' => __DIR__ . '/../..' . '/services/context.php', | |
| 'WP_Syntex\\Polylang_Pro\\Modules\\Machine_Translation\\Clients\\Client_Interface' => __DIR__ . '/../..' . '/modules/Machine_Translation/Clients/Client_Interface.php', | |
| 'WP_Syntex\\Polylang_Pro\\Modules\\Machine_Translation\\Clients\\Deepl' => __DIR__ . '/../..' . '/modules/Machine_Translation/Clients/Deepl.php', |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment