Skip to content

Deploy Version 2.8.0#739

Merged
swashata merged 15 commits intomasterfrom
develop
Sep 11, 2024
Merged

Deploy Version 2.8.0#739
swashata merged 15 commits intomasterfrom
develop

Conversation

@swashata
Copy link
Copy Markdown
Contributor

@swashata swashata commented Sep 11, 2024

Improved Debugger, WP & PHP 8.2 Compatibility, and Various Bug Fixes

We are excited to release version 2.8.0, which includes multiple bug fixes and improvements. Please find the details below:

Improved Debugger

persistent-freemius-debugger

The Freemius SDK has a built-in debugger that, when enabled, stores all logs in the local WordPress database. We've received reports that users sometimes forget to disable it, causing the storage size to grow. To prevent this, we now automatically disable the debugger 24 hours after it is turned on.

auto-off-debugger

Please note: this feature will only function if the WordPress instance has cron jobs enabled.

Improved Update Mechanism

We noticed a regression in the latest version of WordPress where updating a premium plugin via the plugin information dialog was not functioning correctly. This issue has now been resolved.

freemius-upgrade-dialog

Additionally, we fixed a case where a premium-only plugin mistakenly fetched data from WordPress.org. This issue could occur if the plugin shared the same slug as another WordPress.org plugin.

Other Bug Fixes and Improvements

  • Enhanced overall PHP 8.2 compatibility.
  • Removed unused styles and fixed various CSS glitches.
  • Added empty index.php files to directories that were missing them.
  • Modified the pricing_url filter to also change the pricing/upgrade submenu item.
  • Added URLs from wpengine, instawp, and 10web to the supported list of staging sites.

fajardoleo and others added 14 commits July 2, 2024 20:48
…s-updates

[localhost-url] Updated the supported localhost site URLs (added supp…
… align with the changes in WordPress plugin update AJAX requests.
…revent triggering warnings when the plugin information dialog is opened.
… the build process makes some of the rules in the mixins obsolute.
…s + Refactor debugger and extract it to a separate class

* [debug] [logging] Automatically turn off fs_debug_mode after 24 hours, moved debug logic from Freemius to new FS_DebugManager class, fix a bug about logging attempt to DB when table does not exist.

* Removed useless $ON static variable, using $_isStorageLoggingOn

* Removed useless $ON static variable, using $_isStorageLoggingOn

* Removed useless `off` method and redundant checks
…o updates the pricing/upgrade submenu item's URL.
…g-fix

Hotfix/account template escaping fix
@swashata swashata requested a review from fajardoleo September 11, 2024 10:21
@swashata swashata merged commit 227cbff into master Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants