Skip to content

Version 0.9.86 — Fix PHP 8 warning in search-form button shortcode

Choose a tag to compare

@myrealpage myrealpage released this 03 Jul 16:19
· 2 commits to master since this release

Maintenance release.

Fixed

  • Resolved a PHP 8+ "Undefined array key" warning triggered on every render
    of the search-form button shortcode when the optional init_attr attribute
    was not provided. The attribute is now checked with isset() before use,
    matching the existing handling elsewhere in the plugin.

Notes

  • Log-noise fix only; no changes to page rendering, output, or behavior.
  • No new PHP or WordPress version requirements (still compatible with PHP 5.4+).