Skip to content

v1.0.0-alpha-9 (pre-WP Transients conversion)

Pre-release
Pre-release

Choose a tag to compare

@jody-pm jody-pm released this 13 Jul 16:21
· 66 commits to main since this release

This is a release before final conversions of remaining $_SESSION variables to the WP way, i.e., 'Transients.'

[1.0.0-alpha-9] - 2025-05-05

Changed

  • All $_SESSION uses to WP Transients (WordPress does not use PHP Sessions) for plugin marketplace submission

[1.0.0-alpha-8] - 2025-04-27

Added

  • uninstall.php

Changed

  • reloadChapterContent to loadChapterContent for clarity as it is not always 'reloading' (e.g., initial page load)
    • credits.txt (is properly in readme.txt for WP Mktplc)

Fixed

  • Fixed clearbooksession() in version update to return a promise before executing loadChapterContent (to avoid race condition)
  • Proper $wpdb->prepare() in cache clearing forms (2)

[1.0.0-alpha-7] - 2025-04-26

Added

  • Verified NONCE validations
  • Verified Sanitization
  • Added NONCE validation to iqbible_registration_form() and iqbible_register_user()
  • Feather icons license to readme.txt and under /licenses
  • Free Bible Icons permission to readme.txt
  • Additional (complete) escaping to dynamic PHP and JS output
  • POT file generation (/languages/iqbible.pot) via WP CLI
  • Mapped all version book names to use english book name for the bible book icons (iconNameBase)

Fixed

  • Share verse URL not scrolling to verseId-xxxxxxxx

Removed/Changed

  • Footer (added dialogs to shortcodes) as data is not suited for the WP site owner's visitors. Instead, display version data in admin-settings.php
  • Renamed generic start_session to iqbible_start_session to avoid potential conflicts
  • enqueue_dashicons to iqbible_enqueue_dashicons

[1.0.0-alpha-6] - 2025-04-24 - 2025-04-25

Added

  • Updated media queries
  • README.txt for WordPress Plugin submission

[1.0.0-alpha-5] - 2025-04-23

Added

  • Bible Reading Plan planName as default filename for saving reading plans as PDF via window.print() by toggling the docuement.title
  • Added remaining i18n standards (internationlization) to outputs in scripts.js
  • Bible book icons back to book headings

[1.0.0-alpha-4] - 2025-04-22

Added

  • Added internationlization functions (output) to functions.php in preparation for .pot file
  • Completed internationlization for other files as well

Changed

  • Deprecated PDF generation with just straightforward print HTML for Bible Reading Plans until 'save plan' features are implemented

[1.0.0-alpha-3] - 2025-04-21

Added

  • Disabled state to #prev-chapter when currentChapterId <= 1

[1.0.0-alpha-2] - 2025-04-19

Added

  • Refactoring to Standard WordPress Internationalization (I18N)...
  • SECURITY: Added sanitization callbacks (sanitize_text_field, absint, esc_url_raw) to register_setting calls for plugin options (iq_bible_api_key, iq_bible_api_cache, iq_bible_custom_login_url) to ensure safe data handling.
  • SECURITY: Added Nonce verification (wp_nonce_field, check_admin_referer) to the manual cache clearing action for enhanced security.
  • Nonce Security to Profile Updates
  • WP CLI to machine and to path
  • Added message dialog box instead of alerts()

Fixed

  • Fixed API paramater handling in GET requests: Modified the iq_bible_api_get_data function to use add_query_arg($params, $url) to correctly append parameters to the URL for GET requests, instead of incorrectly placing them in the 'body'.

Removed

  • kill_session() (dangerous and redundant for cache clearing)

[1.0.0-alpha-1] - 2025-04-19

Added

  • SECURITY: Implemented AJAX Nonce Security (Crucial):
    • Modified enqueue.php to generate (wp_create_nonce) and pass nonce via wp_localize_script.
    • Modified scripts.js to send the nonce parameter (security) with all relevant AJAX requests.
    • Modified functions.php to add nonce verification (check_ajax_referer) to all relevant AJAX handler functions.