Skip to content

Importers: Use correct shortcode attribute#1125

Merged
n7studios merged 18 commits into
tests-update-actionsfrom
fix-tools-migrate-shortcode-param
Jul 2, 2026
Merged

Importers: Use correct shortcode attribute#1125
n7studios merged 18 commits into
tests-update-actionsfrom
fix-tools-migrate-shortcode-param

Conversation

@n7studios

Copy link
Copy Markdown
Contributor

Summary

When using the migration tools to migrate third party forms to Kit Forms at Settings > Kit > Tools, sets the Kit Form shortcode to use the correct form attribute, instead of the id attribute.

id is backward compatible supported by the Kit Form shortcode, but form is preferred as the attribute used across shortcodes, blocks, Elementor widgets and the Kit app's embed screen

Screenshot 2026-06-30 at 12 58 18

The migration tool should therefore use the preferred form attribute.

Testing

Existing tests pass.

Checklist

Adds an option in Settings > Kit > Tools to replace Kit form shortcodes and blocks that use a legacy form with a standard Kit form
@n7studios n7studios self-assigned this Jun 30, 2026
@n7studios n7studios added this to the 3.3.5 milestone Jun 30, 2026
@github-actions

Copy link
Copy Markdown

WordPress Playground

🚀 Your PR has been built and is ready for testing in WordPress Playground!

Click here to test your changes in WordPress Playground

@n7studios n7studios requested review from a team, ciccio-kit and noelherrick and removed request for a team June 30, 2026 08:20
@n7studios n7studios marked this pull request as ready for review June 30, 2026 08:20
n7studios added 3 commits July 2, 2026 16:55
Importers: Migrate Kit Legacy Forms: Tests
Importers: Migrate Kit Legacy Forms
…e-detection

Importers: Support Multiple Attribute Detection
@n7studios n7studios merged commit fc0c5e3 into tests-update-actions Jul 2, 2026
84 of 96 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants