Skip to content

v2.2.0 — CF Press Sync

Choose a tag to compare

@yuebinliu yuebinliu released this 02 Nov 15:31
· 1 commit to master since this release

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 URI points at the real repository (was github.com/yourname/…), Author is CF 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. Every src / href under wp-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_post fires before terms and thumbnails are written. Sync now defers to shutdown.
  • 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.