Skip to content

Conversation

@DanieleAlessandra
Copy link
Collaborator

… init)

  • Introduced $__fs_wp_ready check to detect incomplete WP bootstrap.
  • Added lightweight fallback path that:
    • Initializes WP_FS__SDK_VERSION early.
    • Seeds a minimal $fs_active_plugins structure (including newest).
    • Provides temporary freemius() and fs_dynamic_init() shims.
    • Ensures early-safe include of fs-essential-functions.php.
  • Re-enters full SDK load once WordPress is fully initialized.
  • Wrapped late helper definitions (freemius, fs_dynamic_init, fs_dump_log) in function_exists() to prevent redeclaration.

… init)

- Introduced `$__fs_wp_ready` check to detect incomplete WP bootstrap.
- Added lightweight fallback path that:
  - Initializes `WP_FS__SDK_VERSION` early.
  - Seeds a minimal `$fs_active_plugins` structure (including `newest`).
  - Provides temporary `freemius()` and `fs_dynamic_init()` shims.
  - Ensures early-safe include of `fs-essential-functions.php`.
- Re-enters full SDK load once WordPress is fully initialized.
- Wrapped late helper definitions (freemius, fs_dynamic_init, fs_dump_log) in `function_exists()` to prevent redeclaration.
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.

2 participants