rollback: wp multilang - #159
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Critical block build artifacts are missing, and several frontend and feedback behaviors remain broken.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 2
Open (6)
Language switcher package is excluded from the build pipeline · New Missing generated editor bundle for language switcher block · New Wrapper guard does not match saved block markup · New Template insertion duplicates switchers and element IDs · New Upgrade note contains an unclosed anchor element · New Feedback form posts to an unimplemented AJAX action · New
What changed in this PR
Rolls back portions of the WP Multilang update while retaining language-switcher functionality.
Changes:
- Removes selected integrations and translation configurations.
- Restores or removes related scripts, styles, templates, and vendor metadata.
- Adds language-switcher block sources and updates frontend behavior.
| File | Summary |
|---|---|
plugins/wp-react-custom-multilang/wpm-config.json |
Removes plugin configuration. |
plugins/wp-react-custom-multilang/vendor/composer/LICENSE |
Restores vendor license formatting. |
plugins/wp-react-custom-multilang/vendor/composer/installed.json |
Restores Composer metadata formatting. |
plugins/wp-react-custom-multilang/vendor/composer/autoload_real.php |
Restores generated autoloader formatting. |
plugins/wp-react-custom-multilang/vendor/composer/autoload_real_52.php |
Restores PHP 5.2 autoloader formatting. |
plugins/wp-react-custom-multilang/vendor/composer/autoload_psr4.php |
Restores generated autoloader formatting. |
plugins/wp-react-custom-multilang/vendor/composer/autoload_namespaces.php |
Restores generated autoloader formatting. |
plugins/wp-react-custom-multilang/vendor/autoload.php |
Restores generated autoloader formatting. |
plugins/wp-react-custom-multilang/vendor/autoload_52.php |
Restores generated autoloader formatting. |
plugins/wp-react-custom-multilang/uninstall.php |
Restores uninstall script formatting. |
plugins/wp-react-custom-multilang/templates/language-switcher-select.php |
Restores template formatting. |
plugins/wp-react-custom-multilang/templates/language-switcher-list.php |
Restores template formatting. |
plugins/wp-react-custom-multilang/templates/language-switcher-dropdown.php |
Restores template formatting. |
plugins/wp-react-custom-multilang/templates/admin-language-switcher.php |
Restores template formatting. |
plugins/wp-react-custom-multilang/templates/admin-language-switcher-customizer.php |
Restores template formatting. |
plugins/wp-react-custom-multilang/includes/wpm-widget-functions.php |
Restores widget function formatting. |
plugins/wp-react-custom-multilang/includes/wpm-widget-block-editor.php |
Restores widget editor formatting. |
plugins/wp-react-custom-multilang/includes/integrations/class-wpm-yoast-seo-presenters.php |
Restores Yoast integration formatting. |
plugins/wp-react-custom-multilang/includes/integrations/class-wpm-ux4g-theme.php |
Removes UX4G integration. |
plugins/wp-react-custom-multilang/includes/integrations/class-wpm-tablepress.php |
Restores TablePress integration formatting. |
plugins/wp-react-custom-multilang/includes/integrations/class-wpm-strong-testimonials.php |
Removes Strong Testimonials integration. |
plugins/wp-react-custom-multilang/includes/integrations/class-wpm-megamenu.php |
Restores Mega Menu integration formatting. |
plugins/wp-react-custom-multilang/includes/integrations/class-wpm-mailchimp-for-wp.php |
Restores Mailchimp integration formatting. |
plugins/wp-react-custom-multilang/includes/integrations/class-wpm-gravityforms.php |
Removes Gravity Forms integration. |
plugins/wp-react-custom-multilang/includes/integrations/class-wpm-bylaw-plus.php |
Restores Bylaw Plus integration formatting. |
plugins/wp-react-custom-multilang/includes/integrations/class-wpm-better-search.php |
Restores Better Search integration formatting. |
plugins/wp-react-custom-multilang/includes/class-wpm-wp-block-parser.php |
Removes custom block parser. |
plugins/wp-react-custom-multilang/includes/class-wpm-widgets.php |
Restores widget class formatting. |
plugins/wp-react-custom-multilang/includes/class-wpm-users.php |
Restores user class formatting. |
plugins/wp-react-custom-multilang/includes/class-wpm-shortcodes.php |
Restores shortcode class formatting. |
plugins/wp-react-custom-multilang/includes/class-wpm-custom-types.php |
Removes custom post type support. |
plugins/wp-react-custom-multilang/includes/admin/views/html-notice-updating.php |
Restores notice formatting. |
plugins/wp-react-custom-multilang/includes/admin/views/html-notice-updated.php |
Restores notice formatting. |
plugins/wp-react-custom-multilang/includes/admin/views/html-notice-update.php |
Restores notice formatting. |
plugins/wp-react-custom-multilang/includes/admin/views/html-notice-custom.php |
Restores notice formatting. |
plugins/wp-react-custom-multilang/includes/admin/views/bulk-translate/template-bulk-translate.php |
Removes bulk translation template. |
plugins/wp-react-custom-multilang/includes/admin/settings/class-wpm-settings-upgradepro.php |
Restores settings formatting. |
plugins/wp-react-custom-multilang/includes/admin/settings/class-wpm-settings-support.php |
Removes support page output. |
plugins/wp-react-custom-multilang/includes/admin/meta-boxes/class-wpm-meta-box-post-languages.php |
Restores meta box formatting. |
plugins/wp-react-custom-multilang/includes/admin/class-wpm-admin-widgets.php |
Restores admin widget formatting. |
plugins/wp-react-custom-multilang/includes/admin/class-wpm-admin-qtranslate.php |
Restores qTranslate formatting. |
plugins/wp-react-custom-multilang/includes/admin/class-wpm-admin-customizer.php |
Restores customizer formatting. |
plugins/wp-react-custom-multilang/core-config.json |
Removes newer translation targets. |
plugins/wp-react-custom-multilang/configs/plugins/ymc-smart-filter.json |
Removes plugin translation configuration. |
plugins/wp-react-custom-multilang/configs/plugins/wp-seopress.json |
Removes plugin translation configuration. |
plugins/wp-react-custom-multilang/configs/plugins/wp-pagenavi.json |
Restores configuration formatting. |
plugins/wp-react-custom-multilang/configs/plugins/woocommerce-customizer.json |
Restores configuration formatting. |
plugins/wp-react-custom-multilang/configs/plugins/ultimate-member.json |
Removes plugin translation configuration. |
plugins/wp-react-custom-multilang/configs/plugins/tlp-team.json |
Restores configuration formatting. |
plugins/wp-react-custom-multilang/configs/plugins/tablepress.json |
Restores configuration formatting. |
plugins/wp-react-custom-multilang/configs/plugins/strong-testimonials.json |
Removes plugin translation configuration. |
plugins/wp-react-custom-multilang/configs/plugins/smart-custom-fields.json |
Restores configuration formatting. |
plugins/wp-react-custom-multilang/configs/plugins/schema-and-structured-data-for-wp.json |
Removes selected translation fields. |
plugins/wp-react-custom-multilang/configs/plugins/publishpress-authors.json |
Removes plugin translation configuration. |
plugins/wp-react-custom-multilang/configs/plugins/nextgen-gallery.json |
Restores configuration formatting. |
plugins/wp-react-custom-multilang/configs/plugins/newsletter.json |
Restores configuration formatting. |
plugins/wp-react-custom-multilang/configs/plugins/ml-slider.json |
Restores configuration formatting. |
plugins/wp-react-custom-multilang/configs/plugins/megamenu.json |
Restores configuration formatting. |
plugins/wp-react-custom-multilang/configs/plugins/mailchimp-for-wp.json |
Restores configuration formatting. |
plugins/wp-react-custom-multilang/configs/plugins/js_composer.json |
Restores configuration formatting. |
plugins/wp-react-custom-multilang/configs/plugins/internal-links.json |
Removes plugin translation configuration. |
plugins/wp-react-custom-multilang/configs/plugins/gravityforms.json |
Removes plugin translation configuration. |
plugins/wp-react-custom-multilang/configs/plugins/google-maps-builder.json |
Restores configuration formatting. |
plugins/wp-react-custom-multilang/configs/plugins/gamipress.json |
Removes plugin translation configuration. |
plugins/wp-react-custom-multilang/configs/plugins/frontend-post-submission-manager-lite.json |
Removes plugin translation configuration. |
plugins/wp-react-custom-multilang/configs/plugins/forminator.json |
Restores configuration formatting. |
plugins/wp-react-custom-multilang/configs/plugins/fluentform.json |
Removes plugin translation configuration. |
plugins/wp-react-custom-multilang/configs/plugins/download-monitor.json |
Restores configuration formatting. |
plugins/wp-react-custom-multilang/configs/plugins/daext-autolinks-manager.json |
Removes plugin translation configuration. |
plugins/wp-react-custom-multilang/configs/plugins/contact-form-7.json |
Restores configuration formatting. |
plugins/wp-react-custom-multilang/configs/plugins/bylaw-plus.json |
Restores configuration formatting. |
plugins/wp-react-custom-multilang/configs/plugins/buddypress.json |
Restores configuration formatting. |
plugins/wp-react-custom-multilang/configs/plugins/betterdocs.json |
Removes plugin translation configuration. |
plugins/wp-react-custom-multilang/configs/plugins/better-search.json |
Restores configuration formatting. |
plugins/wp-react-custom-multilang/configs/plugins/bbpress.json |
Removes plugin translation configuration. |
plugins/wp-react-custom-multilang/configs/plugins/basepress.json |
Removes plugin translation configuration. |
plugins/wp-react-custom-multilang/configs/plugins/all-in-one-seo-pack.json |
Restores configuration formatting. |
plugins/wp-react-custom-multilang/configs/plugins/advanced-ads.json |
Removes plugin translation configuration. |
plugins/wp-react-custom-multilang/assets/styles/notices/_core.scss |
Restores stylesheet formatting. |
plugins/wp-react-custom-multilang/assets/styles/notices.scss |
Restores stylesheet formatting. |
plugins/wp-react-custom-multilang/assets/styles/notices.css.map |
Restores source map formatting. |
plugins/wp-react-custom-multilang/assets/styles/notices.css |
Restores generated CSS formatting. |
plugins/wp-react-custom-multilang/assets/styles/main.scss |
Restores stylesheet formatting. |
plugins/wp-react-custom-multilang/assets/styles/main.css |
Restores generated CSS formatting. |
plugins/wp-react-custom-multilang/assets/styles/components/_menu.scss |
Restores stylesheet formatting. |
plugins/wp-react-custom-multilang/assets/styles/components/_lang-switcher.scss |
Restores stylesheet formatting. |
plugins/wp-react-custom-multilang/assets/styles/common/_variables.scss |
Restores stylesheet formatting. |
plugins/wp-react-custom-multilang/assets/styles/admin/wpmpro-autotranslate-singular.min.css |
Removes autotranslation styles. |
plugins/wp-react-custom-multilang/assets/styles/admin/wpmpro-autotranslate-singular.css |
Removes autotranslation styles. |
plugins/wp-react-custom-multilang/assets/styles/admin/wpm-openai.min.css |
Removes OpenAI styles. |
plugins/wp-react-custom-multilang/assets/styles/admin/wpm-openai.css |
Removes OpenAI styles. |
plugins/wp-react-custom-multilang/assets/styles/admin/wpm-forminator.css |
Restores stylesheet formatting. |
plugins/wp-react-custom-multilang/assets/styles/admin/wpm-feedback-style.css |
Restores stylesheet formatting. |
plugins/wp-react-custom-multilang/assets/styles/admin/wpm-bulk-translate.min.css |
Removes bulk translation styles. |
plugins/wp-react-custom-multilang/assets/styles/admin/wpm-bulk-translate.css |
Removes bulk translation styles. |
plugins/wp-react-custom-multilang/assets/styles/admin/layouts/_table.scss |
Restores stylesheet formatting. |
plugins/wp-react-custom-multilang/assets/styles/admin/layouts/_settings.scss |
Restores stylesheet formatting. |
plugins/wp-react-custom-multilang/assets/styles/admin/layouts/_gutenberg.scss |
Restores stylesheet formatting. |
plugins/wp-react-custom-multilang/assets/styles/admin/layouts/_customizer.scss |
Restores stylesheet formatting. |
plugins/wp-react-custom-multilang/assets/styles/admin/components/_languages-list.scss |
Restores stylesheet formatting. |
plugins/wp-react-custom-multilang/assets/styles/admin/components/_language-metabox.scss |
Restores stylesheet formatting. |
plugins/wp-react-custom-multilang/assets/styles/admin/common/_variables.scss |
Restores stylesheet formatting. |
plugins/wp-react-custom-multilang/assets/styles/admin/admin.scss |
Restores stylesheet formatting. |
plugins/wp-react-custom-multilang/assets/scripts/wpmpro-autotranslate-singular.min.js |
Removes autotranslation script. |
plugins/wp-react-custom-multilang/assets/scripts/wpm-yoast-seo.min.js |
Removes Yoast script. |
plugins/wp-react-custom-multilang/assets/scripts/wpm-yoast-seo.js |
Removes Yoast script. |
plugins/wp-react-custom-multilang/assets/scripts/wpm-forminator.js |
Restores script formatting. |
plugins/wp-react-custom-multilang/assets/scripts/wpm-fluentform.min.js |
Removes Fluent Forms script. |
plugins/wp-react-custom-multilang/assets/scripts/wpm-fluentform.js |
Removes Fluent Forms script. |
plugins/wp-react-custom-multilang/assets/scripts/wpm-feedback-script.min.js |
Updates minified feedback behavior. |
plugins/wp-react-custom-multilang/assets/scripts/wpm-feedback-script.js |
Updates feedback submission behavior. |
plugins/wp-react-custom-multilang/assets/scripts/wpm-daext-autolinks.min.js |
Removes Autolinks script. |
plugins/wp-react-custom-multilang/assets/scripts/wpm-daext-autolinks.js |
Removes Autolinks script. |
plugins/wp-react-custom-multilang/assets/scripts/wpm-bulk-translate.min.js |
Removes bulk translation script. |
plugins/wp-react-custom-multilang/assets/scripts/wpm-bulk-translate.js |
Removes bulk translation script. |
plugins/wp-react-custom-multilang/assets/scripts/wpm-autotranslation-script.min.js |
Updates minified autotranslation behavior. |
plugins/wp-react-custom-multilang/assets/scripts/wpm-autotranslation-script.js |
Updates autotranslation behavior. |
plugins/wp-react-custom-multilang/assets/scripts/support-settings.js |
Restores script formatting. |
plugins/wp-react-custom-multilang/assets/scripts/settings.js |
Restores script formatting. |
plugins/wp-react-custom-multilang/assets/scripts/reset-settings.js |
Restores script formatting. |
plugins/wp-react-custom-multilang/assets/scripts/premium-settings.js |
Restores script formatting. |
plugins/wp-react-custom-multilang/assets/scripts/languages.js |
Restores script formatting. |
plugins/wp-react-custom-multilang/assets/scripts/language-switcher.min.js |
Changes switcher insertion behavior. |
plugins/wp-react-custom-multilang/assets/scripts/language-switcher.js |
Changes switcher insertion behavior. |
plugins/wp-react-custom-multilang/assets/scripts/customizer.js |
Restores script formatting. |
plugins/wp-react-custom-multilang/assets/scripts/admin-openai.min.js |
Removes OpenAI script. |
plugins/wp-react-custom-multilang/assets/scripts/admin-openai.js |
Removes OpenAI script. |
plugins/wp-react-custom-multilang/assets/scripts/additional-settings.js |
Restores script formatting. |
plugins/wp-react-custom-multilang/assets/scripts/add-lang-to-customizer.js |
Restores script formatting. |
plugins/wp-react-custom-multilang/assets/blocks/language-switcher/src/view.js |
Adds block view source. |
plugins/wp-react-custom-multilang/assets/blocks/language-switcher/src/style.scss |
Adds block style source. |
plugins/wp-react-custom-multilang/assets/blocks/language-switcher/src/save.js |
Adds block save source. |
plugins/wp-react-custom-multilang/assets/blocks/language-switcher/src/index.css |
Adds editor styles. |
plugins/wp-react-custom-multilang/assets/blocks/language-switcher/src/edit.js |
Adds block editor source. |
plugins/wp-react-custom-multilang/assets/blocks/language-switcher/src/block.json |
Adds block metadata. |
plugins/wp-react-custom-multilang/assets/blocks/language-switcher/package.json |
Adds block build configuration. |
plugins/wp-react-custom-multilang/assets/blocks/language-switcher/js/switcher-block.min.js |
Updates block frontend script. |
plugins/wp-react-custom-multilang/assets/blocks/language-switcher/js/switcher-block.js |
Updates block URL handling. |
plugins/wp-react-custom-multilang/assets/blocks/language-switcher/css/wpm-editor-style.css |
Restores editor CSS formatting. |
plugins/wp-react-custom-multilang/assets/blocks/language-switcher/css/wpm-block-style.css |
Reduces block editor CSS. |
plugins/wp-react-custom-multilang/assets/blocks/language-switcher/.editorconfig |
Restores editor configuration formatting. |
plugins/wp-react-custom-multilang/.gitignore |
Ignores block dependencies. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| "license": "GPL-2.0-or-later", | ||
| "main": "build/index.js", | ||
| "scripts": { | ||
| "build": "wp-scripts build", |
| "html": false | ||
| }, | ||
| "textdomain": "language-switcher", | ||
| "editorScript": "file:./index.js", |
Comment on lines
+2
to
+3
| if($('.wp-block-wpm-language-switcher').length > 0 && $('.wp-block-wpm-language-switcher .wpm-language-switcher').length > 0){ | ||
| let switcherDiv = $('.wp-block-wpm-language-switcher') |
| $(function () { | ||
| if ($('#wpm-language-switcher').length === 0) { | ||
| var language_switcher = wp.template('wpm-ls'); | ||
| $('#wpbody-content > .wrap').prepend(language_switcher); |
| * */ | ||
| jQuery(document).ready(function($){ | ||
|
|
||
| let proBtn = '<span class="wpm-upgrade-to-pro-note" style="margin-left: 50px; font-weight: 500;"> This Feature requires the <a href="https://wp-multilang.com/pricing/#pricings" target="__blank">Premium Version</span>'; |
| url: ajaxurl, | ||
| dataType: 'json', | ||
| data: { | ||
| action: 'wpm_send_feedback', |
ralvarez-dg
approved these changes
Sep 25, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Description
Rollback wp-multilang update
Type of change
fix:)feat:)BREAKING CHANGE:)refactor:/chore:)docs:)Affected package(s)
@devgateway/dvz-wp-commons@devgateway/create-wp-customizer@devgateway/upgrade-wp-customizerplugins/wp-react-blocks-pluginplugins/wp-react-custom-apiplugins/wp-react-custom-rest-menuChecklist
pnpm buildpasses locally