AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
feat(wordpress): ui improvement (#16618)
Talal Jaber952f84f290f5
diff --git a/bun.lock b/bun.lockindex 1161793bd2a..470792b8dca 100644--- a/bun.lock+++ b/bun.lock@@ -10084,7 +10084,7 @@},"packages/pieces/community/wordpress": {"name": "@activepieces/piece-wordpress",- "version": "0.7.1",+ "version": "0.8.0","dependencies": {"@activepieces/core-piece-types": "workspace:*","@activepieces/core-utils": "workspace:*",diff --git a/packages/pieces/community/wordpress/package.json b/packages/pieces/community/wordpress/package.jsonindex 637e24871a4..86494d64d92 100644--- a/packages/pieces/community/wordpress/package.json+++ b/packages/pieces/community/wordpress/package.json@@ -1,6 +1,6 @@{"name": "@activepieces/piece-wordpress",- "version": "0.7.1",+ "version": "0.8.0","main": "./dist/src/index.js","types": "./dist/src/index.d.ts","scripts": {diff --git a/packages/pieces/community/wordpress/src/i18n/de.json b/packages/pieces/community/wordpress/src/i18n/de.jsonindex e21b627f2ec..726072e3b71 100644--- a/packages/pieces/community/wordpress/src/i18n/de.json+++ b/packages/pieces/community/wordpress/src/i18n/de.json@@ -329,5 +329,6 @@"Get Site Settings": "Get Site Settings","Gets the site title, tagline, URL, timezone, date format and reading settings.": "Gets the site title, tagline, URL, timezone, date format and reading settings.","Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise.": "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise.",- "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value.": "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value."+ "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value.": "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value.",+ "Empty fields keep their current value.": "Leere Felder behalten ihren aktuellen Wert."}diff --git a/packages/pieces/community/wordpress/src/i18n/es.json b/packages/pieces/community/wordpress/src/i18n/es.jsonindex 645cdac43dc..235c090c5ac 100644--- a/packages/pieces/community/wordpress/src/i18n/es.json+++ b/packages/pieces/community/wordpress/src/i18n/es.json@@ -329,5 +329,6 @@"Get Site Settings": "Get Site Settings","Gets the site title, tagline, URL, timezone, date format and reading settings.": "Gets the site title, tagline, URL, timezone, date format and reading settings.","Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise.": "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise.",- "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value.": "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value."+ "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value.": "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value.",+ "Empty fields keep their current value.": "Los campos vacíos conservan su valor actual."}diff --git a/packages/pieces/community/wordpress/src/i18n/fr.json b/packages/pieces/community/wordpress/src/i18n/fr.jsonindex 5f43f5fc68a..6fa8a92abc3 100644--- a/packages/pieces/community/wordpress/src/i18n/fr.json+++ b/packages/pieces/community/wordpress/src/i18n/fr.json@@ -329,5 +329,6 @@"Get Site Settings": "Get Site Settings","Gets the site title, tagline, URL, timezone, date format and reading settings.": "Gets the site title, tagline, URL, timezone, date format and reading settings.","Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise.": "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise.",- "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value.": "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value."+ "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value.": "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value.",+ "Empty fields keep their current value.": "Les champs vides conservent leur valeur actuelle."}diff --git a/packages/pieces/community/wordpress/src/i18n/ja.json b/packages/pieces/community/wordpress/src/i18n/ja.jsonindex dc50149330a..afb98183b17 100644--- a/packages/pieces/community/wordpress/src/i18n/ja.json+++ b/packages/pieces/community/wordpress/src/i18n/ja.json@@ -329,5 +329,6 @@"Get Site Settings": "Get Site Settings","Gets the site title, tagline, URL, timezone, date format and reading settings.": "Gets the site title, tagline, URL, timezone, date format and reading settings.","Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise.": "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise.",- "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value.": "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value."+ "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value.": "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value.",+ "Empty fields keep their current value.": "空欄のフィールドは現在の値のままです。"}diff --git a/packages/pieces/community/wordpress/src/i18n/nl.json b/packages/pieces/community/wordpress/src/i18n/nl.jsonindex 5bb8a32efdf..9fddc292402 100644--- a/packages/pieces/community/wordpress/src/i18n/nl.json+++ b/packages/pieces/community/wordpress/src/i18n/nl.json@@ -329,5 +329,6 @@"Get Site Settings": "Get Site Settings","Gets the site title, tagline, URL, timezone, date format and reading settings.": "Gets the site title, tagline, URL, timezone, date format and reading settings.","Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise.": "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise.",- "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value.": "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value."+ "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value.": "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value.",+ "Empty fields keep their current value.": "Lege velden behouden hun huidige waarde."}diff --git a/packages/pieces/community/wordpress/src/i18n/pt.json b/packages/pieces/community/wordpress/src/i18n/pt.jsonindex e5e49f964a6..e15991121c1 100644--- a/packages/pieces/community/wordpress/src/i18n/pt.json+++ b/packages/pieces/community/wordpress/src/i18n/pt.json@@ -329,5 +329,6 @@"Get Site Settings": "Get Site Settings","Gets the site title, tagline, URL, timezone, date format and reading settings.": "Gets the site title, tagline, URL, timezone, date format and reading settings.","Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise.": "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise.",- "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value.": "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value."+ "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value.": "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value.",+ "Empty fields keep their current value.": "Campos vazios mantêm o valor atual."}diff --git a/packages/pieces/community/wordpress/src/i18n/translation.json b/packages/pieces/community/wordpress/src/i18n/translation.jsonindex 24abb1ec7d9..15fec0b3e4b 100644--- a/packages/pieces/community/wordpress/src/i18n/translation.json+++ b/packages/pieces/community/wordpress/src/i18n/translation.json@@ -91,6 +91,7 @@"Allow Comments": "Allow Comments","Allow Pingbacks": "Allow Pingbacks","Post": "Post",+ "Markdown": "Markdown","Post ID": "Post ID","Search": "Search","Category IDs": "Category IDs",@@ -156,6 +157,7 @@"On lets readers comment. Off leaves the setting as is.": "On lets readers comment. Off leaves the setting as is.","On accepts pingbacks and trackbacks. Off leaves it as is.": "On accepts pingbacks and trackbacks. Off leaves it as is.","Body of the page. HTML is allowed.": "Body of the page. HTML is allowed.",+ "Empty fields keep their current value.": "Empty fields keep their current value.","New title. Empty keeps the current one.": "New title. Empty keeps the current one.","New body, HTML allowed. Empty keeps the current one.": "New body, HTML allowed. Empty keeps the current one.","Number after post= in the post's edit URL.": "Number after post= in the post's edit URL.",diff --git a/packages/pieces/community/wordpress/src/i18n/zh.json b/packages/pieces/community/wordpress/src/i18n/zh.jsonindex b87e94f326d..b6e775612b9 100644--- a/packages/pieces/community/wordpress/src/i18n/zh.json+++ b/packages/pieces/community/wordpress/src/i18n/zh.json@@ -329,5 +329,6 @@"Get Site Settings": "Get Site Settings","Gets the site title, tagline, URL, timezone, date format and reading settings.": "Gets the site title, tagline, URL, timezone, date format and reading settings.","Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise.": "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise.",- "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value.": "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value."+ "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value.": "Short summary of the page. Takes effect only when the theme or site supports page excerpts; WordPress silently ignores it otherwise. Leave empty to keep the current value.",+ "Empty fields keep their current value.": "留空的字段保留当前值。"}diff --git a/packages/pieces/community/wordpress/src/index.ts b/packages/pieces/community/wordpress/src/index.tsindex a0afab49a46..0dbaa5a159f 100644--- a/packages/pieces/community/wordpress/src/index.ts+++ b/packages/pieces/community/wordpress/src/index.ts@@ -191,6 +191,13 @@ export const wordpress = createPiece({}`).toString('base64')}`,}),+ props: {+ url: {+ description:+ 'Full URL, or a path relative to /wp-json/wp/v2 on your site.',+ placeholder: '/posts',+ },+ },}),],triggers: [wordpressNewPost],diff --git a/packages/pieces/community/wordpress/src/lib/actions/create-page.action.ts b/packages/pieces/community/wordpress/src/lib/actions/create-page.action.tsindex 2c1074439d6..44411d84840 100644--- a/packages/pieces/community/wordpress/src/lib/actions/create-page.action.ts+++ b/packages/pieces/community/wordpress/src/lib/actions/create-page.action.ts@@ -18,6 +18,22 @@ export const createWordPressPage = createAction({aiMetadata: { description: 'Publishes a new static page (not a blog post) on a WordPress site via the REST API, with optional status, slug, excerpt, and comment settings. Choose this for standalone pages like About or Contact rather than dated posts. Requires a title and HTML content; not idempotent — each call creates a separate page.', idempotent: false },displayName: 'Create Page',outputSchema: createPageActionOutputSchema,+ propertyGroups: [+ {+ key: 'content',+ display: 'section',+ label: 'Content',+ icon: 'text',+ props: ['title', 'content'],+ },+ {+ key: 'publishing',+ display: 'section',+ label: 'Publishing',+ icon: 'calendar',+ props: ['status', 'date'],+ },+ ],props: {title: Property.ShortText({displayName: 'Title',diff --git a/packages/pieces/community/wordpress/src/lib/actions/create-post.action.ts b/packages/pieces/community/wordpress/src/lib/actions/create-post.action.tsindex e15ff1a59c6..d834904cf28 100644--- a/packages/pieces/community/wordpress/src/lib/actions/create-post.action.ts+++ b/packages/pieces/community/wordpress/src/lib/actions/create-post.action.ts@@ -22,6 +22,36 @@ export const createWordPressPost = createAction({aiMetadata: { description: 'Publishes a new blog post on a WordPress site via the REST API, with optional status (draft/publish/etc.), categories, tags, excerpt, featured image, and custom ACF fields. Choose this to add fresh content; for editing an existing post use Update Post. Requires a title and HTML content; not idempotent — each call creates a separate post.', idempotent: false },displayName: 'Create Post',outputSchema: createPostActionOutputSchema,+ propertyGroups: [+ {+ key: 'content',+ display: 'section',+ label: 'Content',+ icon: 'text',+ props: ['title', 'content', 'excerpt'],+ },+ {+ key: 'publishing',+ display: 'section',+ label: 'Publishing',+ icon: 'calendar',+ props: ['status', 'date'],+ },+ {+ key: 'organize',+ display: 'section',+ label: 'Categories and Tags',+ icon: 'tag',+ props: ['categories', 'tags'],+ },+ {+ key: 'image',+ display: 'section',+ label: 'Image',+ icon: 'paperclip',+ props: ['featured_media', 'featured_media_file'],+ },+ ],props: {title: Property.ShortText({displayName: 'Title',diff --git a/packages/pieces/community/wordpress/src/lib/actions/update-post.action.ts b/packages/pieces/community/wordpress/src/lib/actions/update-post.action.tsindex d4b4e9fcc3b..d2058065309 100644--- a/packages/pieces/community/wordpress/src/lib/actions/update-post.action.ts+++ b/packages/pieces/community/wordpress/src/lib/actions/update-post.action.ts@@ -1,4 +1,8 @@-import { createAction, Property } from '@activepieces/pieces-framework';+import {+ createAction,+ MarkdownVariant,+ Property,+} from '@activepieces/pieces-framework';import { wordpressCommon } from '../common';import {httpClient,@@ -18,8 +22,49 @@ export const updateWordPressPost = createAction({aiMetadata: { description: 'Updates an existing WordPress post identified by its post ID, changing only the fields you supply (title, content, status, categories, tags, excerpt, featured image, or ACF fields). Choose this to edit or republish a known post rather than create a new one. Requires the target post ID; idempotent — repeating with the same input leaves the post in the same final state.', idempotent: true },displayName: 'Update Post',outputSchema: updatePostActionOutputSchema,+ propertyGroups: [+ {+ key: 'post',+ display: 'section',+ label: 'Post',+ icon: 'file',+ props: ['post'],+ },+ {+ key: 'changes',+ display: 'section',+ label: 'Changes',+ icon: 'text',+ props: ['empty_fields_info', 'title', 'content', 'excerpt'],+ },+ {+ key: 'publishing',+ display: 'section',+ label: 'Publishing',+ icon: 'calendar',+ props: ['status'],+ },+ {+ key: 'organize',+ display: 'section',+ label: 'Categories and Tags',+ icon: 'tag',+ props: ['categories', 'tags'],+ },+ {+ key: 'image',+ display: 'section',+ label: 'Image',+ icon: 'paperclip',+ props: ['featured_media', 'featured_media_file'],+ },+ ],props: {post: wordpressCommon.post,+ empty_fields_info: Property.MarkDown({+ value: 'Empty fields keep their current value.',+ variant: MarkdownVariant.INFO,+ }),title: Property.ShortText({description: 'New title. Empty keeps the current one.',displayName: 'Title',