Automatically restore site API connection status when account status returns to active
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start by reading the plugin’s connection and account status handling, then trace how the backend reports quota or inactive states to connected sites; the issue does not name specific files or tests. Define how sites detect an account returning to active and how restoration is shown in the WordPress admin. Done means previously connected sites resume optimized image delivery automatically after reactivation, with a clear dashboard indication.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Impact: 85 · Confidence: 90 · Complexity: 55
Description
Problem: When an Optimole account is upgraded or reactivated after exceeding quota/suspension, connected WordPress sites remain in 'Not connected' state and serve unoptimized original images until site administrators manually re-enter the API key on each site individually. For multi-site network agency users with dozens of connected sites, this creates significant operational overhead and service downtime after an upgrade.
Desired Behavior: When an account subscription is upgraded or returns to active status, the Optimole service and client plugin should automatically re-validate/ping backend status and reconnect active sites without requiring manual API key re-keying on each site.
Acceptance Criteria:
- Client plugin periodically polls account status or handles account status recovery pings from backend service when account state changes from over-quota/inactive to active.
- Connected WordPress sites automatically resume optimized image delivery upon detecting active account status without administrative manual intervention.
- Clear UI indication in WordPress admin dashboard when connection state is automatically restored.
Customer Context
Mario Luna (Founder at Clariable, Business plan, 36 sites) experienced account quota overage where 36 connected sites were disconnected and served original unoptimized images. After upgrading the account to active status, all 36 sites required manual API key re-entry on each WordPress site to reconnect and restore image optimization.
Root Cause Analysis
The root cause of the customer's pain is that when an Optimole account's status is disabled/disconnected due to quota exhaustion, the client WordPress plugin updates its stored connection state to disconnected. Upon account upgrade or renewal, there is no automated background handshake or periodic status polling mechanism that automatically transitions connected sites back to an active state. As a result, administrators managing multi-site portfolios must manually re-verify/re-enter the API key on every connected site to restore image optimization service.
Reasoning
The customer (Business plan, 36 WordPress sites) reported two key issues after exceeding their visit quota: 1) Why sites were disconnected instead of auto-upgrading as expected, and 2) When account status is restored/upgraded to active, sites remain in 'Not connected' status serving uncompressed original images until every site's API key is manually re-entered.
Analyzing the underlying system behavior: when an account's status transitions back from suspended/over-quota to active (after plan upgrade or renewal), the connected WordPress plugins/sites do not automatically sync account active status or auto-reconnect without manual API key re-entry across all sites. This represents a clear net-new feature request (or functional improvement) in the Optimole WordPress plugin / cloud service integration to automatically restore active API connection status across connected sites once the backend account transitions back to active.
Source: HelpScout #3480528673
Generated by feature-request-triage workflow (ID: feature-request-triage_6acd1263a00ca9.43669419)
- Ngôn ngữ chính
- PHP
- Star
- 74
- Fork
- 14
- Merge trung bình
- 2 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 18
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Codeinwp/optimole-wp
-
Add setting to disable Optimole URL rewriting for social meta tags (og:image / twitter:image)Đang mởcustomer report feature-request-triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 54/100
Codeinwp/optimole-wp#1178 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug-report bug-report-triage crash-report regression
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Codeinwp/optimole-wp#1163 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Optimized-image polling calls the SDK before initializationCó thể đã có người làm @selul đã nhận 6 ngày trước. Đang mởbug-report bug-report-triage crash-report
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 65/100
Codeinwp/optimole-wp#1162 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Allow WP-CLI `wp optimole media rollback_images` command to execute when `offload_media` is set to rollback stateCó thể đã có người làm @selul đã nhận 6 ngày trước. Đang mởcustomer report feature-request-triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
Codeinwp/optimole-wp#1161 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
New media uploads are offloaded while Image Storage rollback is activeCó thể đã có người làm @selul đã nhận 6 ngày trước. Đang mởbug-report bug-report-triage customer report regression
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 56/100
Codeinwp/optimole-wp#1159 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Codeinwp/optimole-wp
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Automattic/blocks-engine#2866 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
community-scripts/ProxmoxVE#17944 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Good first issue: add laravel-inertia stack budget preset (Laravel 11 + Inertia.js + PHP 8.3)Đang mởenhancement good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
backend gamification P0
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
semanadeinformatica/website#461 ·
-
HttpRequestTrait fatals on WordPress 7.2: $blocked_http_requests clashes with WP_UnitTestCase_BaseĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100