Skip to content

Releases: ffscz/Smart-Admin-Plugin-Manager-for-WordPress

v1.3.6

Choose a tag to compare

@ffscz ffscz released this 12 Mar 15:22

What's Changed

  • Fixed dynamic plugin admin page rule leakage by storing plugin-page rules under exact raw screen IDs instead of the generic plugin_pages bucket.
  • Added automatic migration for legacy plugin_pages rules to preserve intended behavior without cross-plugin spillover.
  • Fixed REST whitelist smart detection so plugin-specific REST namespaces stay available when namespace detection is enabled.
  • Updated release metadata and plugin version to 1.3.6.

Release Assets

  • smart-admin-plugin-manager.zip
  • smart-admin-plugin-manager.sha256

Notes

This is a backward-compatible bugfix release.

v1.3.5

Choose a tag to compare

@ffscz ffscz released this 12 Mar 08:03

Hotfix release for GitHub asset packaging on Linux hosts.

Fixed

  • ZIP now stores raw archive entry names with POSIX separators (/) (no Windows backslashes in ZIP metadata).
  • Resolved activation errors caused by malformed extracted filenames on Linux.

Changed

  • Removed build tooling file from plugin directory (tools/build-release.ps1).
  • Kept installable asset name as smart-admin-plugin-manager.zip.

Assets

  • smart-admin-plugin-manager.zip
  • smart-admin-plugin-manager.sha256

Install from release asset smart-admin-plugin-manager.zip (not auto-generated Source code archives).

Smart Admin Plugin Manager v1.3.2

Choose a tag to compare

@ffscz ffscz released this 24 Feb 08:37

Smart Admin Plugin Manager v1.3.2

Maintenance and hardening release focused on safer frontend filtering, better updater stability guarantees, and lower runtime overhead.

Changed

  • Frontend filtering now normalizes unsupported mode values to safe fallback (passthrough).
  • Frontend/admin rule input handling tightened for safer plugin basename processing.

Fixed

  • Self-protection guard now uses the main plugin basename (prevents accidental self-filtering/self-deactivation).
  • Frontend drawer reload action works reliably after sanitized dynamic rendering.

Security

  • Hardened frontend/admin rule sanitization for mode and plugin basename inputs.
  • Replaced suppressed regex validation path with explicit safe validation helpers.

Performance

  • Frontend asset versioning moved from per-request timestamp busting to deterministic version + filemtime.
  • Auto-rules generation optimized by removing expensive correlated trigger query.
  • DB query attribution overhead reduced via trace-depth tuning and plugin-dir caching.

Compatibility

  • WordPress: 6.0+
  • PHP: 7.4+
  • Breaking changes: None

Smart Admin Plugin Manager v1.3.1

Choose a tag to compare

@ffscz ffscz released this 23 Feb 16:30

Smart Admin Plugin Manager v1.3.1

Hotfix

  • Fixed GitHub updater default repository mapping in includes/class-sapm-github-updater.php.
  • Updater now correctly resolves release metadata from:
    • ffscz/Smart-Admin-Plugin-Manager-for-WordPress

Security posture (unchanged)

  • SHA256 package integrity verification
  • HTTPS-only trusted host allowlist
  • Exact package URL pinning during installation

Compatibility

  • WordPress: 6.0+
  • PHP: 7.4+

Assets

  • smart-admin-plugin-manager.zip
  • smart-admin-plugin-manager.sha256

Smart Admin Plugin Manager v1.3.0

Choose a tag to compare

@ffscz ffscz released this 23 Feb 15:36

[1.3.0] - 2026-02-23

Added

  • Secure GitHub Release updater (includes/class-sapm-github-updater.php)
    • Native integration with WordPress update transient and plugin details API
    • Metadata fetch from GitHub Releases (/releases/latest) with schema validation
    • Runtime fetch lock and last-good metadata fallback
  • Frontend Optimizer mode
    • New frontend filtering engine (includes/class-sapm-frontend.php) with plugin and asset rules
    • Frontend settings and rules management in dedicated admin tab
    • Frontend admin-bar drawer runtime (assets/frontend-bar.js) for quick per-page overrides
  • Integrity-gated package installation
    • SHA256 verification against release .sha256 asset before install
    • Strict package URL equality check and trusted-host allowlist
    • ZIP structure validation (required root folder + main plugin file)

Changed

  • Bootstrap loading flow
    • Plugin bootstrap now loads GitHub updater module from smart-admin-plugin-manager.php
  • Administration UI redesign
    • Settings page reorganized into section switcher and tab routing (Administration, Frontend, Update Optimizer)
    • Admin components and styles refactored for cleaner layout and better UX consistency
  • Frontend drawer architecture
    • assets/frontend-bar.js refactored for isolated mount (Shadow DOM) and stronger per-page override UX
    • Frontend bar styling consolidated into shared assets/drawer.css for visual consistency
  • Admin AJAX surface expansion (includes/class-sapm-admin.php)
    • Added handlers for admin theme persistence and frontend rule/settings operations
    • Added JSON input sanitization helper for stricter payload handling
  • Update optimizer flow refinement (includes/class-sapm-update-optimizer.php)
    • Improved page/context gating and update-check orchestration for lower admin overhead

Fixed

  • Removed noisy debug logging from dependency/cascade execution paths (class-sapm-admin.php, class-sapm-core.php, class-sapm-dependencies.php)
  • Improved frontend enqueue ordering for better compatibility with complex theme/plugin stacks

Security

  • Enforced secure update transport and source policy:
    • HTTPS-only update URLs
    • Host allowlist checks for GitHub asset domains
    • SHA256 integrity verification before upgrade extraction
    • Extracted source folder/file integrity checks prior to installation

Docs

  • Updated README.md and readme.txt with current release context and compatibility highlights

Breaking Changes

  • None. Release is backward-compatible with existing rule storage and MU-loader behavior.