From 4c025269ea921ace460eaafc10d6eda4fb9232b7 Mon Sep 17 00:00:00 2001 From: Yingbei Tong Date: Thu, 6 Feb 2025 03:13:37 +0000 Subject: [PATCH] wordpress auth instruction update (#411) --- wordpress/credential/tool.gpt | 10 +++++----- wordpress/tool.gpt | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wordpress/credential/tool.gpt b/wordpress/credential/tool.gpt index 3d2d3212..77ba7c11 100644 --- a/wordpress/credential/tool.gpt +++ b/wordpress/credential/tool.gpt @@ -12,8 +12,8 @@ Tools: ../../generic-credential "promptInfo": { "fields" : [ { - "name": "Wordpress Site", - "description": "Your Wordpress Site URL", + "name": "Wordpress Site URL", + "description": "Enter your WordPress site URL in the format: https://example.com. Do not include a trailing slash or suffix like /wp-admin or /wp-json.", "env": "WORDPRESS_SITE" }, { @@ -22,12 +22,12 @@ Tools: ../../generic-credential "env": "WORDPRESS_USERNAME" }, { - "name": "Wordpress Password", - "description": "Your Wordpress password, it's recommended to use an application password.", + "name": "Wordpress Application Password", + "description": "Your Wordpress application password. Note that this is different from your Wordpress password.", "env": "WORDPRESS_PASSWORD", "sensitive": true } ], - "message": "Enter your Wordpress site url, username and password or application password." + "message": "WARNING: This tool does not support WordPress.com sites.\nPREREQUISITES:\n1. Create an application password to enable post creation:\n - Go to your WordPress site admin dashboard.\n - In the left sidebar, click `Users`, then edit your user profile.\n - Scroll to the `Application Passwords` section and click `Add New Application Password`.\n2. Configure permalinks for the WordPress API to work:\n - In the dashboard, hover over `Settings` and select `Permalinks`.\n - Choose any structure other than `Plain` and save the changes." } } \ No newline at end of file diff --git a/wordpress/tool.gpt b/wordpress/tool.gpt index e89505b7..6ebcda99 100644 --- a/wordpress/tool.gpt +++ b/wordpress/tool.gpt @@ -1,6 +1,6 @@ --- Name: Wordpress -Description: Tools for interacting with self-hosted and hosted Wordpress sites that support basic auth. +Description: Tools for interacting with self-hosted and hosted Wordpress sites that support basic auth. Wordpress.com sites are not supported. Metadata: bundle: true Share Tools: List Users, Get User, List Posts, Retrieve Post, Create Post, Update Post, Delete Post, Get Site Settings