Repository navigation
Release 4.4.3 — fix Woo add-on file path and non-media sync PHP warnings - #846
Merged
Merged
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
The focused fixes match the reported issues and release metadata consistently.
Pull request overview
Fixes add-on detection and PHP warnings, then prepares release 4.4.3.
Changes:
- Corrects the WooCommerce add-on file path.
- Initializes sync state and declares the Google Cloud client property.
- Updates version and changelog documentation.
File summaries
| File | Description |
|---|---|
wp-stateless-media.php |
Bumps plugin version. |
static/data/addons.php |
Fixes the add-on path. |
lib/classes/class-sync-non-media.php |
Prevents PHP warnings. |
readme.txt |
Updates release metadata and changelog. |
changes.md |
Adds release notes. |
changelog.txt |
Adds release notes. |
Review details
- Files reviewed: 6/6 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Patch release with two small fixes.
Changes
static/data/addons.php— correctedaddon_filefor the WooCommerce Extra Product Options add-on: the value had a duplicated.phpextension (...addon.php.php), so the installed/active check and the activation link on the Stateless → Addons screen never matched the real main file (wp-stateless-woo-extra-product-options-addon.php). Fixes addons.php: duplicate .php extension for woo-extra-product-options addon_file #845.lib/classes/class-sync-non-media.php— resolved PHP warnings reported in Undefined Variable Warnings - Video Upload Fails with "Unexpected response from the server" Error #803:$mediais now initialized tonullbefore the sync branch. Previously, when$object->update()threw inside the (swallowed) try/catch,$mediawas passed undefined tosm::synced::nonMediaFiles,sm:sync::addFile, and the return statement (Undefined variable $mediawarnings).private $client = null;— the property was created dynamically, which is deprecated on PHP 8.2+ (Creation of dynamic property ... $client is deprecated).wp-stateless-media.php,readme.txt) and changelog entries (changes.md,changelog.txt,readme.txt).Behavior notes
Testing
php -lclean on all edited PHP files.Fixes #845
Ref #803