| 开发者 | voxinity |
|---|---|
| 更新时间 | 2026年7月6日 02:41 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-json/contaihu/v1/:
GET /verify — pairing probe returning the site identity.POST /media — upload one image binary, returns its attachment id + URL.POST /posts — create a post with inline/featured images and SEO meta.Authorization: Bearer <site key>. The site key is verified with a hashed copy (wp_check_password), so the plaintext key is only ever shown on the Settings → ContentsOps screen.
SEO meta is written for Yoast SEO, Rank Math, and a native fallback so whatever is active picks it up.
/wp-content/plugins/ (or upload the zip via Plugins → Add New → Upload Plugin).Go to Settings → ContentsOps → Regenerate key. The previous key stops working immediately; reconnect ContentsOps with the new key.
The user selected under "Author user". Defaults to the first user who can edit posts.
The category selected under "Default category" in Settings → ContentsOps. If none is selected, the WordPress default category is used. A category sent explicitly by ContentsOps takes precedence.
contaihu prefix per the WordPress.org prefixing guidelines. Options stored under the old names are migrated automatically, so paired sites keep working.contaihu/v1 namespace; the previous namespace keeps working as a deprecated alias for already-paired sites.wp-admin/includes/image.php only right before generating attachment metadata and stop loading wp-admin/includes/file.php, which was not needed.