Linux 软件免费装
Banner图

WAC POST

开发者 desarrollowac
更新时间 2026年9月25日 06:19
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

posts seo rest-api yoast rankmath

下载

4.2.2 4.2.0 4.1.3 4.1.4 4.2.1

详情介绍:

The WAC POST plugin provides a robust integration between the WeAreContent platform and WordPress sites. It registers two specialized REST API endpoints designed for secure, high-performance content delivery. These endpoints are strictly protected by a three-layer security model:
  1. IP Whitelisting: Access is only granted to authorized IP addresses (local and remote dynamic lists).
  2. Application Key: Every request must include a valid X-WACPO-App-Key header, compared using a timing-safe check.
  3. Author Capability Check: The configured Default Content Author must have permission to publish posts, verified server-side on every request. No WordPress username, password, or native Application Password is required to authorize the connection. Content received through the API is attributed to the Administrator or Editor selected in Default Content Author.
Security design note (v4.2.0) Earlier versions additionally required a native WordPress Application Password tied to a specific user account. That requirement has been intentionally removed: it did not add meaningful security on top of the Application Key, but it forced every site owner to create a WordPress user and generate an application password by hand, which was the leading cause of failed/abandoned setups. The security boundary has not weakened — it moved from "a WordPress user session plus a key" to "two independent, site-owner-controlled secrets that must both match" (Application Key + IP address), plus a real server-side capability check against the configured Default Content Author (fails closed if that user cannot publish posts). Author attribution, which used to be inferred implicitly from the WordPress user session, is now an explicit, admin-only setting that can only ever resolve to a real local user, never to caller-supplied data. Available Endpoints:

安装:

  1. Upload the plugin folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Go to Settings > WAC Post and click "Generate Secure Key" to create your Application Key.
  4. Select the Default Content Author that content received from WeAreContent should be attributed to.
  5. Copy the Application Key into the WeAreContent platform. No WordPress username or password is needed.

常见问题:

How is endpoint security guaranteed?

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.

Do I need to create a WordPress user or Application Password for WeAreContent?

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.

Which SEO plugins are supported?

The plugin automatically detects and maps SEO titles, descriptions, and focus keywords for Yoast SEO and RankMath SEO.

Is it safe for the plugin to download external images?

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.

Does the plugin handle data privacy?

Yes. It includes a privacy policy content generator to inform users about technical data processing and authorized external connections.

What happens if a post category does not exist?

The plugin will automatically create the category or tag using the name or slug provided in the REST request.

更新日志:

4.2.2 4.2.1 4.2.0 Authentication redesign (deliberate, not a regression — see "Security design note" above and inline docblocks in class-wacpo-security.php for the full rationale): 4.1.4 4.1.3 4.1.2 4.1.1 1.0.0