Skip to content

1.5.14

Choose a tag to compare

@PaulArgoud PaulArgoud released this 19 Feb 17:43
· 36 commits to main since this release

Fixed

  • Uninitialized $custom_intro variable causing PHP 8.4 warnings (class-mpp.php)
  • Array bounds check missing for $_mpp_page_keys access in mpp_pre_handle_404()
  • Ambiguous operator precedence in comments display condition (added explicit parentheses)
  • Integer settings sanitized with sanitize_text_field() instead of intval() in advanced settings
  • Missing esc_attr() on <option> values in admin settings forms (4 occurrences)
  • Options cache never invalidated after saving — mpp_clear_options_cache() now resets the static cache
  • Deprecated current_time('timestamp') replaced with time() in mpp-update.php and admin-advanced-settings.php
  • Loose == / != comparisons replaced with === / !== across all PHP files
  • array_search() without false check in TinyMCE button insertion (class-mpp-admin.php)
  • Operator precedence ambiguity in TOC active page condition (mpp-template.php)
  • Preview link parameters now properly sanitized with intval() / sanitize_text_field() (mpp-template.php)
  • Incorrect @since 1.9.0 docblock tags corrected to 1.4

Added

  • LICENSE file (GPL v3 full text)
  • CONTRIBUTING.md with coding standards, project structure, and contribution guidelines
  • ARCHITECTURE.md describing the plugin file structure and data flow

Changed

  • Replaced &$this with $this in all callback arrays (unnecessary since PHP 5.4)
  • Updated Codex link to developer.wordpress.org in advanced settings
  • Extracted content parser into Multipage_Parser class (inc/mpp-parser.php) from the main Multipage class

Removed

  • Dead debug code in table of contents widget
  • Unused admin-premium.php page placeholder
  • Dead is_gutenberg_page() method in class-mpp.php (replaced by mpp_is_block_editor_active())