Repository navigation
v2.2.0 — CF Press Sync
CF Press Sync 2.2.0
Renamed from CFSE Sync for WordPress. The old name described the original job (static export), which the plugin no longer does — it now syncs content, deploys the Worker and carries comments back.
Changed
- Plugin name, admin menu (「CF Press 同步」) and Text Domain are now
CF Press Sync/cf-press-sync Plugin URIpoints at the real repository (wasgithub.com/yourname/…),AuthorisCF Press
Fixed
- Attachments were never synced: only
<img src>was scanned, so a zip, PDF or audio file linked with<a href>never reached R2 — the post loaded and the download returned 404. Everysrc/hrefunderwp-content/uploads/is now copied, and the URL is rewritten. - Single-post sync lost categories, tags and the featured image when a post arrived through the REST API, because
save_postfires before terms and thumbnails are written. Sync now defers toshutdown. - Posts pushed from the WordPress side kept the WordPress origin in image URLs (
http://intranet/wp-content/…), so readers saw broken images. URLs are rewritten to the CMS domain.
Notes
- Internal class and constant prefixes (
CFSE_Sync_*,CFSE_VERSION) and option names (cf_*) are unchanged — renaming them buys nothing visible and would need an option migration. - Requires WordPress 5.5+, PHP 7.0+ with cURL.
Install: upload cf-press-sync-2.2.0.zip under Plugins → Add New → Upload Plugin.