Cloudflare R2 media offload manager for peptiderepo.com. Built on WP Offload Media Lite. Supersedes the one-off migration script and mu-plugin peptiderepo-r2-endpoint.php. Features: - Admin page under Peptide Repo > R2 Media Manager (shared umbrella menu) - ensure_umbrella_menu() guard — safe for multi-plugin umbrella sharing - Batch AJAX migration to R2 with pause/resume and progress bar - Remove-local-copies batch with physical disk presence check - Activity log table (wp_pr_r2_log) with self-healing on plugins_loaded - Test R2 connection button - R2 endpoint injection via as3cf_aws_s3_client_args filter
1.2 KiB
1.2 KiB
Changelog — Peptide Repo R2 Manager
All notable changes to this project will be documented in this file. Format follows Keep a Changelog.
[1.1.0] — 2026-04-25
Changed
- Admin page moved from
Settings > R2 Media ManagertoPeptide Repo > R2 Media Managerusing a shared top-level umbrella menu (peptidereposlug). PR_R2_Admin_Pagenow registers the umbrella menu viaensure_umbrella_menu()— a$menu-array guard so multiple plugins can share the parent safely regardless of load order.enqueue_assets()hook suffix updated fromsettings_page_peptiderepo-r2-managertopeptiderepo_page_peptiderepo-r2-manager.- Added
PARENT_SLUGclass constant (peptiderepo).
[1.0.0] — 2026-04-25
Added
- Initial release. Cloudflare R2 media offload manager built on WP Offload Media Lite.
- Admin dashboard: status table, Test R2 Connection, Migrate to R2, Remove Local Copies, Activity Log.
- Batch AJAX operations with pause/resume and progress bar.
wp_pr_r2_logtable with self-healing onplugins_loaded.- R2 endpoint injection via
as3cf_aws_s3_client_argsfilter (supersedes mu-plugin).