feat(integrations): add WordPress action integration and action maps#153
feat(integrations): add WordPress action integration and action maps#153RishadAlam wants to merge 12 commits intomainfrom
Conversation
✅ WordPress Plugin Check Report
📊 ReportAll checks passed! No errors or warnings found. 🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check |
There was a problem hiding this comment.
Code Review
This pull request introduces a new WordPress integration and expands the 'WP Post Creation' and 'WP User Registration' actions to support updates, deletions, and metadata management. It also refactors the frontend TutorialLink component across various modules to use a standardized linkKey system. Feedback highlights critical backend bugs, specifically a potential fatal error in PostCreationController due to inconsistent variable type handling and a missing integration ID in RegistrationController that will result in logging failures.
There was a problem hiding this comment.
Pull request overview
Adds a new WordPress action integration flow (create/edit/info) and standardizes tutorial/documentation link resolution via linkKey lookups, while expanding WP Post Creation and WP User Registration to support additional (Pro) action types with action-specific required-field mappings.
Changes:
- Introduces a new “WordPress” action integration UI + backend execution dispatch via hook-based actions.
- Extends WP Post Creation and WP User Registration with additional action types and per-action required field mapping generation.
- Refactors tutorial link usage across triggers and many integration authorization screens to use
linkKey/maps instead of direct link props.
Reviewed changes
Copilot reviewed 204 out of 207 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| frontend/src/resource/img/integ/registration.webp | Adds registration logo asset used in action selection. |
| frontend/src/components/Utilities/TutorialLink.jsx | Switches TutorialLink to linkKey + map-based link resolution and AI summary dropdown. |
| frontend/src/components/Triggers/Webhook.jsx | Uses linkKey/linksMap for trigger tutorial links. |
| frontend/src/components/Triggers/FormPlugin.jsx | Uses linkKey/linksMap for trigger tutorial links. |
| frontend/src/components/Triggers/CustomTrigger.jsx | Uses linkKey/linksMap for trigger tutorial links. |
| frontend/src/components/Triggers/CustomFormSubmission.jsx | Uses linkKey/linksMap for trigger tutorial links. |
| frontend/src/components/Triggers/ActionHook.jsx | Replaces hardcoded tutorial URLs with linkKey/map-based TutorialLink. |
| frontend/src/components/Flow/New/SelectAction.jsx | Adds WordPress action integration option and sets WP User Registration logo. |
| frontend/src/components/AllIntegrations/ZoomWebinar/ZoomWebinarAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Zoom/ZoomAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/ZohoSheet/ZohoSheetAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/ZohoRecruit/ZohoRecruitAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/ZohoMarketingHub/ZohoMarketingHubAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/ZohoFlow/ZohoFlow.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/ZohoDesk/ZohoDeskAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/ZohoCreator/ZohoCreatorAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/ZohoCampaigns/ZohoCampaignsAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/ZohoCRM/ZohoCRMAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/ZohoBigin/ZohoBiginAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/ZohoAnalytics/ZohoAnalyticsAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Zendesk/ZendeskAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Zapier/Zapier.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/ZagoMail/ZagoMailAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/WordPress/WordPressIntegLayout.jsx | Adds main WordPress action selection + field mapping UI. |
| frontend/src/components/AllIntegrations/WordPress/WordPressFieldMap.jsx | Adds WordPress field mapping row UI with required-field locking. |
| frontend/src/components/AllIntegrations/WordPress/WordPressCommonFunc.js | Adds action→fields lookup + required mapping generation + mapping validation. |
| frontend/src/components/AllIntegrations/WordPress/WordPressAuthorization.jsx | Adds WordPress “connect” step (calls wordpress_authorize). |
| frontend/src/components/AllIntegrations/WordPress/WordPressActions.jsx | Adds WordPress action-specific utility options (append/force delete/register options). |
| frontend/src/components/AllIntegrations/WordPress/WordPress.jsx | Adds WordPress create flow (3-step) with mapping validation before save. |
| frontend/src/components/AllIntegrations/WordPress/EditWordPress.jsx | Adds WordPress edit flow with mapping validation and save wiring. |
| frontend/src/components/AllIntegrations/Woodpecker/WoodpeckerAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/WooCommerce/WooCommerceAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/WishlistMember/WishlistMemberAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/WhatsApp/WhatsAppAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/WebHooks/WebHooks.jsx | Removes local tutorial link (now handled by shared WebHooksIntegration component). |
| frontend/src/components/AllIntegrations/WeDocs/WeDocsAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/WPWebhooks/WPWebhooks.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/WPFusion/WPFusion.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/WPForo/WPForoAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/WPCourseware/WPCoursewareAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/WPCafe/WPCafeAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Voxel/VoxelAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Vbout/VboutAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/UserRegistrationMembership/UserRegistrationMembershipAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/UncannyAutomator/UncannyAutomator.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/UltimateAffiliatePro/UltimateAffiliateProAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Twilio/TwilioAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/TutorLms/TutorLmsAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Trello/TrelloAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/ThriveAutomator/ThriveAutomator.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/TheEventsCalendar/TheEventsCalendarAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Telegram/TelegramAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/TeamsForWooCommerceMemberships/TeamsForWooCommerceMembershipsAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/SystemeIO/SystemeIOAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/SyncSpider/SyncSpider.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/SureTriggers/SureTriggers.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/SureMembers/SureMembersAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/SureCart/SureCartAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/SuiteDash/SuiteDashAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/SperseIO/SperseIO.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/SmartSuite/SmartSuiteAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/SliceWp/SliceWpAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Smaily/SmailyAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Slack/SlackAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/SeoPress/SeoPressAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Sendy/SendyAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/SendinBlue/SendinBlueAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/SendPulse/SendPulseAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/SendGrid/SendGridAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/SendFox/SendFoxAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Selzy/SelzyAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Salesmate/SalesmateAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Salesforce/SalesforceAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Salesflare/SalesflareAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/RestrictContent/RestrictContentAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Registration/UserMetaField.jsx | Removes unused local metaFields state in registration meta mapping UI. |
| frontend/src/components/AllIntegrations/Registration/UserHelperFunction.js | Adds action type list + per-action field definitions + field-map generation helpers. |
| frontend/src/components/AllIntegrations/Registration/UserFieldMap.jsx | Updates registration field map component props to align with new per-action fields. |
| frontend/src/components/AllIntegrations/Registration/Registration.jsx | Adds action type selection + Pro gating + dynamic required-field mapping per action. |
| frontend/src/components/AllIntegrations/Registration/EditRegistration.jsx | Adds edit-flow action type selection + Pro gating + dynamic required-field mapping per action. |
| frontend/src/components/AllIntegrations/Rapidmail/RapidmailAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/PropovoiceCRM/PropovoiceCrmAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/PostCreation/PostHelperFunction.js | Adds extra post actions + per-action field definitions + field-map generation helpers. |
| frontend/src/components/AllIntegrations/Pods/Pods.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/PipeDrive/PipeDriveAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/PerfexCRM/PerfexCRMAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/PaidMembershipPro/PaidMembershipProAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Pabbly/Pabbly.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/PCloud/PCloudAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/OneHashCRM/OneHashCRMAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/OneDrive/OneDriveAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/OmniSend/OmniSendAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/NutshellCRM/NutshellCRMAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Notion/NotionAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/NotificationX/NotificationXAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/NinjaTables/NinjaTablesAuthorization.jsx | Removes direct tutorialLinks import (part of TutorialLink refactor). |
| frontend/src/components/AllIntegrations/Nimble/NimbleAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Newsletter/NewsletterAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/N8n/N8n.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/NewInteg.jsx | Adds lazy-loaded WordPress integration entry and routing. |
| frontend/src/components/AllIntegrations/Integrately/Integrately.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/IntegrationHelpers/WebHook/WebHooksIntegration.jsx | Centralizes Web Hooks tutorial links via linkKey. |
| frontend/src/components/AllIntegrations/Integromat/Integromat.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/IntegInfo.jsx | Adds WordPress info screen routing (authorization view). |
| frontend/src/components/AllIntegrations/Insightly/InsightlyAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/IFTTT/IFTTT.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Hubspot/HubspotAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/HighLevel/HighLevelAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Groundhogg/GroundhoggAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Gravitec/GravitecAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/GoogleSheet/GoogleSheetAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/GoogleDrive/GoogleDriveAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/GoogleContacts/GoogleContactsAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/GoogleCalendar/GoogleCalendarAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/GiveWp/GiveWpAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Getgist/GetgistAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/GetResponse/GetResponseAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/GamiPress/GamiPressAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Freshdesk/FreshdeskAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/FreshSales/FreshSalesAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Flowlu/FlowluAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/FlowMattic/FlowMattic.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Fabman/FabmanAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Encharge/EnchargeAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/EmailOctopus/EmailOctopusAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/ElasticEmail/ElasticEmailAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Dropbox/DropboxAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Drip/DripAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Dokan/DokanAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Discord/DiscordAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/DirectIq/DirectIqAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Demio/DemioAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/CustomApi/CustomApiAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/CustomAction/EditCustomAction.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/CustomAction/CustomAction.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/CreatorLms/CreatorLmsAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/CopperCRM/CopperCRMAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/ConvertKit/ConvertKitAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/ConstantContact/ConstantContactAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/CompanyHub/CompanyHubAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/ClinchPad/ClinchPadAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Clickup/ClickupAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/CapsuleCRM/CapsuleCRMAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/CampaignMonitor/CampaignMonitorAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/BuddyBoss/BuddyBossAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/BitForm/BitFormAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Bento/BentoAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/BenchMark/BenchMarkAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Autonami/AutonamiAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/AutomatorWP/AutomatorWP.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Asana/AsanaAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/AntApps/AntApps.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Albato/Albato.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Airtable/AirtableAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/AgiledCRM/AgiledAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Affiliate/AffiliateAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/AdvancedFormIntegration/AdvancedFormIntegration.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/Acumbamail/AcumbamailAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/components/AllIntegrations/ActiveCampaign/ActiveCampaignAuthorization.jsx | Migrates TutorialLink usage to linkKey. |
| frontend/src/Utils/StaticData/webhookIntegrations.js | Adds Registration/Post to custom form integration list. |
| backend/Core/Util/AllTriggersName.php | Adds WordPress as a trigger entry (Pro/inactive). |
| backend/Actions/WordPress/WordPressController.php | Adds WordPress authorize endpoint + execute dispatcher. |
| backend/Actions/WordPress/Routes.php | Registers wordpress_authorize route. |
| backend/Actions/WordPress/RecordApiHelper.php | Adds hook-based dispatcher/logging for WordPress actions and field-map payload building. |
| backend/Actions/Registration/RegistrationController.php | Routes non-legacy registration actions through hook execution with mapped payload building. |
| backend/Actions/PostCreation/PostCreationController.php | Improves metabox file mapping safety; routes non-legacy post actions through hooks with mapped payload building. |
| frontend/src/components/AllIntegrations/EditInteg.jsx | Adds WordPress edit routing. |
Files not reviewed (1)
- frontend/src/components/AllIntegrations/Pods/Pods.jsx: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| foreach ($fieldMap as $item) { | ||
| $triggerValue = $item->formField; | ||
| $actionValue = $item->wordPressField; | ||
|
|
||
| $dataFinal[$actionValue] = $triggerValue === 'custom' && isset($item->customValue) | ||
| ? Common::replaceFieldWithValue($item->customValue, $fieldValues) | ||
| : ($fieldValues[$triggerValue] ?? ''); | ||
| } |
There was a problem hiding this comment.
generateReqDataFromFieldMap() unconditionally writes $dataFinal[$actionValue] even when formField / wordPressField is empty. If a user leaves an optional mapping row blank, this can create an empty-string key in $dataFinal (and potentially overwrite data), or map from an empty trigger key. Consider skipping items where either side of the mapping is empty (similar to how other controllers build request data).
Description
This PR adds a new WordPress action integration flow and wires it into create/edit/info screens. It also expands WP Post Creation and WP User Registration to support additional WordPress action types with action-specific required field mapping. Tutorial link handling is standardized across integrations/triggers using key-based lookup and dynamic docs/video sources.
Motivation & Context
This change unifies WordPress action handling and fixes action-mapping mismatches that could break execution for some action types. It also improves setup UX by showing the right required fields for each action and ensuring tutorial/documentation links are consistently available across trigger and integration screens.
Related Links: (if applicable)
Type of Change
Key Changes
Integrations
WordPressaction integration in action selection and integration create/edit/info routing.Backend
WordPressController,RecordApiHelper, andwordpress_authorizeroute for WordPress action execution.Frontend
WordPress,EditWordPress,WordPressIntegLayout,WordPressActions,WordPressFieldMap, static action/field data).linkKey-based lookup.Triggers
Webhook,CustomFormSubmission,CustomTrigger,FormPlugin,ActionHook) to pass dynamic tutorial links withlinkKey/linksMap.RegistrationandPost.Checklist
Changelog