| 开发者 | desarrollowac |
|---|---|
| 更新时间 | 2026年9月25日 06:19 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
X-WACPO-App-Key header, compared using a timing-safe check.POST /wp-json/wac/v2/create-and-seo-post: Create new posts including featured images, secondary media, and full SEO metadata.POST /wp-json/wac/v2/postsys: Update SEO metadata and keywords for existing posts.GET /wp-json/wac/v2/ping: Lightweight, read-only connectivity check to verify the Application Key and see the configured default author, without creating any content./wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.Access is restricted by three layers: a custom Application Key (X-WACPO-App-Key, compared with a timing-safe function), IP address validation (via local and remote whitelists), and a server-side check that the configured Default Content Author has permission to publish posts.
No. Starting with version 4.2.0, the plugin no longer relies on WordPress user logins or native Application Passwords. You only need to copy the Application Key generated on the plugin's settings page and choose a Default Content Author.
The plugin automatically detects and maps SEO titles, descriptions, and focus keywords for Yoast SEO and RankMath SEO.
Yes. The plugin uses a whitelist of allowed hosts (e.g., files.wearecontent.com), validates MIME types, and checks file sizes before processing and adding them to the library.
Yes. It includes a privacy policy content generator to inform users about technical data processing and authorized external connections.
The plugin will automatically create the category or tag using the name or slug provided in the REST request.
create-and-seo-post (titleSeo, metaDesc, focusKw) was silently discarded since 4.1.3. It is now mapped again to Yoast SEO (_yoast_wpseo_title, _yoast_wpseo_metadesc, _yoast_wpseo_focuskw) and/or Rank Math (rank_math_title, rank_math_description, rank_math_focus_keyword), depending on which plugin is active. If neither is active the post is still created and the SEO fields are skipped.categories and tags were silently discarded since 4.1.3. They are resolved again by slug or name (array or comma-separated string), creating missing terms.post_exists()), and the requested slug is now verified after the post is created.status is restricted again to publish, draft, pending or private (defaults to draft).wacpo_max_image_bytes filter.create-and-seo-post response now also returns slug, seo_meta, categories, tags and warnings (e.g. images skipped for exceeding the size limit), so the caller can confirm what was stored instead of images being dropped silently.content was being stripped of all HTML (paragraphs, headings, bold) before it could be sanitized with wp_kses_post(), because the request-wide sanitization pass ran sanitize_text_field() on every field indiscriminately, including content. The content field is now excluded from that generic pass and sanitized with wp_kses_post() instead, so paragraph and heading formatting is preserved as intended.manage_options, to explicitly attribute posts created via the API — this value is always a real local user ID (falling back to the site's first Administrator), never derived from request input.hash_equals(), preventing timing attacks (previously used a direct string comparison).GET /wp-json/wac/v2/ping endpoint so the Application Key and WordPress permissions can be verified without creating any content.