=== Glow: maintenance & support management for agencies ===
Author: Glow
Author URI: https://getglow.io
Tags: management, dashboard, backup, agency, maintenance
Requires at least: 5.8
Tested up to: 7.0
Stable tag: 4.2.9
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

All-in-one WordPress maintenance, support and client management platform for agencies.

== Description ==
All-in-one WordPress maintenance, support and client management platform for agencies - updates, backups, uptime, reports, support and more.

This plugin connects your WordPress installation to the Glow dashboard, where you can manage multiple WordPress websites from a single, centralized location. 

Key Features:
*   **Multi-site management:** Oversee all your websites from one dashboard.
*   **Efficient workflows:** Streamline updates, backups, and other maintenance tasks across multiple sites.
*   **Safe updates with automatic rollback:** Each plugin update creates a backup, runs a compatibility check, captures before and after screenshots, verifies the site is still healthy, and automatically restores the previous version if the update broke anything. Removes the fear of update-related downtime.
*   **Support your clients:** Support tickets with chat-like UI and quick navigation
*   **Backup functionality:** Create and manage backups of your sites.
*   **Uptime monitoring:** Monitor the Uptime of your clients' websites.
*   **Client reports:** Quickly create and send high quality reports that actually mean something to your client.
*   **Time tracking:** Allocate an allotted amount of time to each client.
*   **Enhanced productivity:** Focus on growing your business instead of repetitive maintenance.

== Installation ==
1. Upload the plugin to /wp-content/plugins/
2. Activate the plugin through WordPress Plugins menu
3. Follow the on-screen instructions to connect your site to the Glow dashboard.

== Changelog ==
= 4.2.9 - 15th June 2026 =
*   New: redesigned admin page leads with one-click signup (Track A) for new users and a single-click "Add this site to my Glow account" (Track B) for existing customers, with a magic-link email fallback if they're not currently signed in. The connection code stays as the manual path.
*   New: whitelabel customers now see their company logo and brand throughout the plugin admin (Plugins list, Settings menu, masthead).
*   New: GLOW_URL, GLOW_STORE_DATA_URL, and GLOW_X_API_KEY can be overridden via wp-config.php for staging tests.
*   Improvement: Plugins admin row link renamed from "Get Code" to "Connect to Glow"; disconnect now clears cached whitelabel data so the page reflects current state.

= 4.2.8 - 3rd June 2026 =
*   Improvement: plugin update error responses now include the real WordPress upgrader error code and the failing file path (when WordPress provides one). Previously every failure surfaced as a generic "plugin_upgrader_error" with just the message, making diagnosis difficult.

= 4.2.7 - 31st May 2026 =
*   Fix: safe update no longer fails with "Plugin directory not found" for plugins whose directory name contains a dot (e.g. `plugin-check-1.9`). The slug sanitization now preserves dots while still blocking path traversal.

= 4.2.6 - 24th May 2026 =
*   Fix: site health action no longer fatals on modern WordPress (was referencing `Site_Health` class; WordPress core defines it as `WP_Site_Health`).

= 4.2.5 - 13th May 2026 =
*   Fix: clear WordPress plugin object cache before reading the plugin list, ensuring data refresh always returns the actual installed version from disk.

= 4.2.4 - 13th May 2026 =
*   Fix: clear WordPress plugin object cache after restoring files during rollback, so the correct version is reported immediately on the next data sync.

= 4.2.3 - 13th May 2026 =
*   Fix: `disk_free_space()` and `disk_total_space()` now guarded with `function_exists()` to prevent a PHP fatal error on hosts that disable these functions.

= 4.2.2 - 13th May 2026 =
*   New: safe update backup metadata now stored as local JSON sidecar files on the WP server alongside each backup zip. Rollback icon persists across page refreshes without relying on database records.
*   New: plugin backup versions included in the DynamoDB data sync so the dashboard can offer a version picker when rolling back.
*   Improvement: rollback and cleanup actions now accept slug and version instead of a stored path, making them more reliable.

= 4.2.1 - 27th April 2026 =
*   Fix: safe update actions (backup, restore, compatibility check) now correctly receive parameters when called via the REST API.

= 4.2.0 - 23rd April 2026 =
*   New: safe plugin updates with compatibility check, screenshot comparison, and automatic rollback on failure.

= 4.1.2 - 23rd April 2026 =
*   Fix: server-side commands no longer fire the wp_login action, preventing spurious 2FA codes on sites with two-factor authentication plugins.

= 4.1.1 - 22nd April 2026 =
*   Fix: connection status check now only runs on admin pages, not on every public page load.

= 4.1.0 - 16th April 2026 =
*   New: Disconnect button in the Connected card - generates a new connection code without deleting the plugin.
*   Fix: plugin deactivation now shows site as Not Connected in the dashboard; reactivation auto-reconnects using the preserved key.
*   Fix: connection status page now shows inline confirmation before disconnecting instead of a browser dialog.
*   Fix: connection status updates reliably after disconnect with loading indicator during the operation.
*   Fix: admin notice after activation now correctly links to the Get Code page.
*   Fix: all plugin functions and variables renamed to glow_worker_ prefix to avoid conflicts with other plugins.

= 4.0.7 - 14th April 2026 =
*   Fix: server info (PHP, MySQL, disk usage) now returns correctly on sites with PHP display_errors enabled.
*   Fix: database table names in server overview now display correctly on all MySQL configurations.
*   Performance: removed unnecessary CSS and JS assets that were loaded on frontend page.

= 4.0.6 - 12th April 2026 =
*   Cleanup: automatically delete the legacy Glow plugin folder (slug: glow) after migration to the new plugin.
*   Fix: copy code button now reliably copies the connection key on all browsers.

= 4.0.5 - 12th April 2026 =
*   Compatibility: automatically deactivate the legacy Glow plugin (slug: glow) if both are simultaneously active, preserving the existing connection key.

= 4.0.4 - 09th April 2026 =
*   Server tab: distinguish between not configured, not found, and not readable states for error logs.

= 4.0.3 - 09th April 2026 =
*   Server tab: added server info, error log, and cron jobs support.

= 4.0.2 - 08th April 2026 =
*   Plugin check fixes: removed debug error_log, added phpcs ignore annotations, corrected readme format.

= 4.0.1 - 06th April 2026 =
*   SSO fix: redirect to wp-login.php instead of homepage to avoid CDN stripping Set-Cookie headers.

= 4.0.0 - 06th April 2026 =
*   Two-phase SSO: server-to-server token generation for improved reliability behind WAFs. Browser redeems token via plain GET /?glow_sso={token}.

= 3.5.7 - 05th April 2026 =
*   Connection reliability improvements: non-blocking glow_send, pull model for commands on real-cron sites, cron health detection.

= 3.5.6 - 04th April 2026 =
*   Added REST API endpoint for WAF-friendly plugin/theme/core updates.

= 3.5.5 - 05th February 2026 =
*   Major changes - pass live plugin check.

= 3.5.1 - 05th January 2026 =
*   Major changes - pass live plugin check + new functionality to install plugin.

= 3.5.0 - 05th December 2025 =
*   Major changes - pass live plugin check.

= 3.4.8 - 28th October 2025 =
*   Activation and deactivation process updates.

= 3.4.7 - 21st August 2025 =
*   Updater request updates.

= 3.4.6 - 29th May 2025 =
*   Requests and options updates.

= 3.4.5 - 26th May 2025 =
*   Minor UI updates.

= 3.4.4 - 20th May 2025 =
*   Added a filter to the get users function.

= 3.4.3 - 16th May 2025 =
*   Minor updates.

= 3.4.2 - 11th April 2025 =
*   Upgrade process updated.

= 3.4.1 - 08th April 2025 =
*   Upgrade process updated.

= 3.4.0 - 05th April 2025 =
*   Upgrade process updated.

= 3.3.9 - 25th February 2025 =
*   Minor fixes.

= 3.3.8 - 04th February 2025 =
*   Version check.

= 3.3.7 - 24th December 2024 =
*   glow_self_update.

= 3.3.6 - 3rd December 2024 =
*   User interaction with Glow.

= 3.3.5 - 08th November 2024 =
*   Auth user 2fa fix.

= 3.3.4 - 02nd October 2024 =
*   Get plugins list fixes.

= 3.3.3 - 19th September 2024 =
*   Check plugins, themes, core stored and current versions.

= 3.3.2 - 21st August 2024 =
*   Check plugins, themes, core stored and current versions.

= 3.3.1 - 9th July 2024 =
*   UpdraftPlus integration.

= 3.3.0 - 1st July 2024 =
*   UpdraftPlus integration.

= 3.2.9 - 18th June 2024 =
*   Check core version changes.

= 3.2.8 - 05th June 2024 =
*   Check backup progress changes.

= 3.2.7 - 06th May 2024 =
*   Update resources changes.

= 3.2.6 - 18th March 2024 =
*   Multisite feature changes.

= 3.2.5 - 4th March 2024 =
*   Minor changes.

= 3.2.4 - 13th February 2024 =
*   Backup functionality updated.

= 3.2.2 - 6th January 2024 =
*   Config updated.

= 3.2.1 - 5th December 2023 =
*   Backup process updated.

= 3.2.0 - 25th October 2023 =
*   Backup process updated.

= 3.1.2 - 12th October 2023 =
*   Cleaning logs.

= 3.1.1 - 09th October 2023 =
*   Fix Divi theme bug.

= 3.1.0 - 13th September 2023 =
*   Multisite functionality added.

= 3.0.0 - 26th June 2023 =
*   Change activities and update resources, plugin and themes list cron.

= 2.4.5 - 24th May 2023 =
*   Change location of Glow code.

= 2.4.4 - 28th April 2023 =
*   Resource worker updates.

= 2.4.3 - 12th April 2023 =
*   Add custom description for agencies.

= 2.4.2 - 6th April 2023 =
*   Activities request url update.

= 2.4.1 - 3rd April 2023 =
*   Theme update fixes.

= 2.3.9 - 27th March 2023 =
*   Delete plugins updated.

= 2.3.8 - 27th February 2023 =
*   Record activity for WordPress updates.

= 2.3.7 - 14th February 2023 =
*   Backup fixes.

= 2.3.6 - 14th February 2023 =
*   Logging.

= 2.3.3 - 2nd 2022 =
*   Fix issue with active theme.

= 2.3.2 - 24th November 2022 =
*   Fix backups for PHP 8.

= 2.3.1 - 11th November 2022 =
*   Resolve multiple API call issues when checking for Glow plugin updates.

= 2.3.0 - 10th October 2022 =
*   Backup functionality.

= 2.0.0 - 16th February 2022 =
*   Auto update functionality.

== Screenshots ==
1. Manage WordPress updates, uptime, performance, and security across multiple websites from one dashboard
2. Generate professional client reports in seconds
3. Centralized timeline to track all site activities and changes
4. Built-in time tracking for agency client management
5. Integrated support ticket system for handling client requests

== External services ==
This plugin connects to the Glow API to enable client and site management features for WordPress agencies, including plugin updates, license validation, and single sign-on (SSO).
To provide these features, the plugin sends limited technical and authentication-related data from the WordPress site when actions such as connecting an account, performing updates, or initiating single sign-on are triggered. No data is sent unless the plugin is actively used and connected to a Glow account.
To show presentation video about Glow dashboard plugin embed video using extarnal link https://www.loom.com/embed/b02ad9a3c2aa4278940dc7a6dbc3e522?sid=8d085f21-3b99-4608-bef0-39e020f1fe87&hideEmbedTopBar=true&hide_speed=true
This service is provided by “Glow”:
Terms of use: https://getglow.io/terms
Privacy policy: https://getglow.io/privacy