Skip to content

v1.3.1

Latest

Choose a tag to compare

@bloblems bloblems released this 21 Aug 19:06

Update-checker authentication + stock display fix

Fixes the 403 update errors

Update checks hit the GitHub API unauthenticated, sharing a 60-requests/hour per-IP limit that hosting providers routinely exhaust — every check then fails with 403 puc-github-http-error even though the repository is public.

Update checks can now authenticate:

  • Set the GitHub Access Token field in WooCommerce → DD Inventory settings, or
  • define DDI_GITHUB_TOKEN in wp-config.php (takes precedence).

Use a fine-grained token with read-only access to public repositories. Authenticated checks get 5,000 requests/hour attributed to the token instead of the server IP.

Note: this release must be installed manually once (the broken checker can't deliver its own fix). Download the source zip and upload via Plugins → Add New → Upload Plugin.

Stock display fix

  • wp-admin no longer displays "manage stock" as on for products the inventory system deliberately set to unmanaged ("always available"). Reads now report the stored value; protection happens at save time.
  • The locked manage-stock checkbox is no longer disabled (a disabled checkbox is omitted from the form POST, which silently turned stock management off on every admin save). It now blocks interaction while still submitting its real value.