== Changelog ==

This file contains historical changelog entries older than what's currently shown in readme.txt.
For the current changelog and most recent versions, see readme.txt.

= 2.3.3.2 | 2025-09-14 =
* Fixed `Uncaught Error: Class "FDSUS\Utils" not found` on Help and Site Health pages.

= 2.3.3.1 | 2025-08-15 =
* Added CSRF protection for legacy re-run migration feature for users upgrading from an old 1.x version of the plugin.

= 2.3.3 | 2025-08-15 =
* Added support for cache flushing when sign-ups occur for WP Rocket, WP Engine, GoDaddy Managed WordPress MU System Plugin, SiteGround Optimizer, Nginx Helper, Kinsta, Cloudflare plugin, and core object cache.
* Updated all PHP files to add a missing `ABSPATH` check to prevent direct access.
* Fixed security issue related to PHP object injection.

= 2.3.2 | 2025-04-24 =
* Added "Sign-up Sheet Viewer" role and revised the admin grid and Manage Sign-ups to honor that new role.
* Added option to disable the custom "Sign-up Sheet Manager" and/or "Sign-up Sheet Viewer" roles.
* Updated capabilities (permissions) to allow improved customization and support for 3rd party or custom roles and capabilities configurations.
* Updated Auto-Scroll sign-up link hash feature to be disabled by default due to conflicts with some 3rd party themes that contain overly broad JavaScript that breaks some hashtag links.
* Fixed conflict with The Events Calendar plugin that caused TypeError on wp_insert_post copy sheet functionality.
* Fixed reCAPTCHA to show more graceful error if it's enabled without a private key configured to prevent a Fatal Error.
* Fixed "Deprecated: strip_tags()" warning in logs by adding a workaround for the WP bug 57579 for the Manage Sign-ups and Edit Sign-ups admin pages.
* Fixed vertical alignment of task title in Manage Sign-ups admin page.
* Fixed bottom spacing on SUS Help page so footer doesn't overlap.
* Fixed WP 6.7 notice being thrown of "Function _load_textdomain_just_in_time was called incorrectly." for fresh installs with empty settings and from Privacy logic.

= 2.3.1.1 | 2025-03-01 =
* Fixed {site_name} variable in email template.

= 2.3.1 | 2025-03-01 =
* Added support for Pro email variables `{sheet_url}` and `{sheet_title}` to email template message configurations.
* Fixed security on sign-up form to prevent content injection.

= 2.3.0.2 | 2025-02-02 =
* Fixed issue where base version wouldn't load on its own.

= 2.3.0 | 2025-02-02 =
* Added ability to mark email field as optional.
* Updated translation textdomain to better match WordPress standard of 'sign-up-sheets'. [⚠️Breaking Change]
* Updated .sr-only class to use .screen-reader-text to be more consistent with WP core.
* Fixed missing escaping around translations on tasks table.
* Fixed sheets with the hidden email set so that the column doesn't show up in the admin and status email task tables.
* Fixed password-protected sheets to prevent displaying sheet content prior to password being entered.
* Fixed WP 6.7 notice being thrown of "Function _load_textdomain_just_in_time was called incorrectly."
* Fixed bug preventing editing of new tasks on mobile devices.

= 2.2.14 | 2024-10-07 =
* Added setting to clear cache on specific post IDs when a sign-up occurs.
* Added [sign_up_spot_count] shortcode.
* Fixed bug with Divi theme's Smooth Scroll feature conflicting with the Auto-Scroll sign-up link hash feature.
* Fixed error on Manage Sign-ups edit form in admin due to sign-up-link auto-scrolling feature missing variable.

= 2.2.13 | 2024-07-19 =
* Added Sign-up link auto-scrolling with a hash so that when clicking the sign-up links/buttons the user is taking right to the form no matter how much content you put before the sign-up sheet.  This can be disabled in the admin under Sign-up Sheets > Settings > Sign-up Form > Disable sign-up link auto-scroll to sheet.
* Fixed issue where non-logged-in user could submit a sign-up and assign it to another user's account. [CVE-2024-39654]
* Fixed XSS issue in admin on Help page email test form and added some additional URL sanitization throughout the plugin. [CVE-2024-6020]
* Fixed missing rel="noreferrer" on target="_blank" instances and removed some instances that were not needed to improve accessibility/usability.
* Fixed PHP deprecated error when non-string or empty string is passed to strpos.
* Fixed PHP syntax error with unexpected ')' for PHP versions prior to 7.3.

= 2.2.12 | 2024-03-03 =
* Added support for reCAPTCHA v3.
* Added support for the Breeze caching plugin.
* Added classes "wp-block-button__link wp-element-button" on buttons.
* Added workaround to support GoodLayers theme content not displaying on automatically-generated sheet pages.
* Fixed copy sheet action to include nonce for security. [CVE-2024-31303]
* Fixed postboxes on Settings page to retain sorting and open/close status per user.
* Fixed custom sign-up field bug where field that included "signup_" in the slug wouldn't allow saving the value properly.
* Fixed FDSUS_DISABLE_MIGRATE_2_0_to_2_1 to prevent more unnecessary migration logic from running.

= 2.2.11.1 | 2023-09-25 =
* Fixed bug that was throwing PHP Warning on some installs.
* Fixed invisible reCAPTCHA which was incorrectly showing the simple CAPTCHA as well.

= 2.2.11 | 2023-09-24 =
* Added [user_sign_ups] shortcode to allow displaying list of their own sign-ups for logged-in users.
* Added .fdsus-signup-cta class to the sign-up links on the sheet pages and sheet listing pages.
* Fixed performance on sheet page due to inefficiencies in Compact Mode checks and TaskCollections.
* Fixed broken "Export as CSV" link on "Manage Sign-ups" page.
* Fixed reCAPTCHA invisible (v2) form submit error.
* Fixed Gutenberg block toggle for list_title_is_category where it wasn't saving the toggle value.
* Fixed deprecation notices for PHP 8.

= 2.2.10 | 2023-07-26 =
* Added support for the WP Fastest Cache plugin.
* Added sign-up User ID column to export files.
* Fixed broken "Export Sheet as CSV" link bug introduced in version 2.2.9.

= 2.2.9 | 2023-07-20 =
* Added ability to edit existing and add new sign-ups in admin on Manage Sign-ups page.
* Fixed CSRF security validation with admin settings page. [CVE-2023-39165]
* Removed unused database call on Help page.

= 2.2.8 | 2023-04-19 =
* Added sign-up dates and assigned users on Manage Sign-ups page in admin.
* Fixed bug with new sorting feature from 2.2.7 causing a fatal error when running on PHP 7.4 and earlier.

= 2.2.7 | 2023-04-16 =
* Added new sheet listing order options of descending order for date or sheet ID.
* Added support for the Loco Translate plugin.
* Added translation support to the admin Help page.
* Added FDSUS_DISABLE_MIGRATE_2_0_to_2_1 constant to allow disabling the migration process if needed.
* Updated styles to allow horizontal scrolling for sheet's task listing table content extends past smaller screens such as on mobile.
* Updated spot number text to be translatable (Ex: "#1:").
* Updated Help page "System Information" and moved it to the main WordPress Site Health Info page.
* Fixed bug where removed sign-ups don't flush 3rd party cache plugins.
* Fixed confirmation email issue with missing removal link and other sign-up user info variables when W3 Total Cache Database Cache is enabled.

= 2.2.6 | 2022-11-19 =
* Fixed translations in admin related to custom post type names and "At a Glance" on dashboard.
* Added additional validation on sign-up if sheet or task are no longer active.
* Removed unused "session" cookie logic.
* Fixed conflict with reCAPTCHA v2 Checkbox from validating if disabled in SUS, but another reCAPTCHA exists outside the SUS plugin.
* Updated sign-up form check to prevent double submissions to clear after 3 seconds to allow re-submission.

= 2.2.5 | 2022-09-23 =
* Fixed issue preventing excerpts from displaying.

= 2.2.4 | 2022-09-11 =
* Added option to disable the logged-in user auto-populate of name and email on the sign-up form.
* Fixed conflict on the_title filter to prevent errors if other plugins/themes do not include the required ID argument.
* Fixed notices from appearing when submitting sign-up form when get_the_excerpt is used prior.
* Fixed missing right arrow in Safari after "View & sign-up" on sheet listing.
* Fixed sign-up form from failing if only mail sending errors out after sign-up is successful.

= 2.2.3 | 2022-04-09 =
* Added privacy improvements to integrate sign-ups with the WP Export and Erase Personal Data functionality.
* Added ability to remove email address from sign-up form.
* Updated setting page save to prevent conflicts.
* Fixed bug where user roles that don't have access to read sign-up sheets and manage_options are prevented from viewing admin pages (such a subscribers viewing their admin dashboard).

= 2.2.2 | 2022-03-19 =
* Added support for LightSpeed Cache.
* Added admin dashboard "At a Glance" item for Sign-up Sheets.
* Updated translations to include escape for improved security.
* Updated color of sort icon when editing tasks on Edit Sheet page to improve accessibility.
* Removed unused "H" icon on edit sheet task list in admin.

= 2.2.1 | 2022-02-26 =
* Added Sign-up Sheets Gutenberg Block.
* Updated "View & sign-up" links on sheet page to improve accessibility for screen readers.
* Fixed compatibility issue with block themes like Twenty Twenty-Two.
* Fixed issue with reCAPTCHA in case-sensitive file systems.
* Fixed JS console error when not on sign-up form.
* Removed unused JS.
* Fixed SUS Manager Role on activation.

= 2.2.0.1 | 2022-02-01 =
* Fixed error when opening theme customizer and various other admin tasks.
* Fixed missing table borders on some themes.

= 2.2 | 2022-01-30 =
* Updated data structure to use WordPress custom post types to allow for features previously only available in the Pro version.
* Added option for reCAPTCHA SPAM prevention and ability to switch between reCAPTCHA v2 "checkbox" or "invisible" (previously only on Pro).
* Added automatically generated sheet URLs with customizable SEO-friendly URL... example.com/sheet/your-sheet (previously only on Pro).
* Added ability to copy a task when editing a sheet (previously only on Pro).
* Added ability to sort frontend sheet listing by date or sheet id (previously only on Pro).
* Added ability to display all sign-up data on the frontend (previously only on Pro).
* Added ability to set “Phone” and “Address” field as optional or remove altogether (previously only on Pro).
* Added ability to set publish scheduling of sheets (previously only on Pro).
* Added WYSIWYG editor on sheet description editor (previously only on Pro).
* Added ability to export specific sheets (previously only on Pro).
* Added option for email validation on sign-up form (previously only on Pro).
* Added verification before submitting sign-up for same task using same email address (previously only on Pro).
* Added ability to allow multiple shortcodes on the same page (previously only on Pro).
* Added admin search on sheets grid (previously only on Pro).
* Added accessibility improvements to task table.
* Added required attribute to applicable fields in sign-up form.
* Added View and Edit Sheet links on Manage Sign-ups pages for easier access between screens.
* Added minification on frontend JS file for improved performance.
* Added ability to modify States dropdown via the "fdsus_states" filter.
* Updated required field error messaging to list field names that are missing to make it more clear.
* Updated to require a minimum of WordPress 5.5+.

= 1.0.14 =
* Fixed sanitization security issue. [CVE-2021-24440] [CVE-2021-24441]
* Updated more text to allow for translations.
* Fixed slashes being added before quotes on add/edit sheet form when an error message is thrown.
* Fixed missing closing table tag on View Sign-ups page causing misaligned data in some cases.
* Fixed error handling of get_sheet and get_task to clean up debug log.
* Moved POT file from /i18n/ to more standardized /languages/ directory.

= 1.0.13 =
* Added support for adding translations.
* Updated JS in admin when adding/removing tasks to work with latest version of jQuery (required to support WP 5.5).
* Fixed sheet date from displaying 1970 date when editing the sheet after it throws an error.
* Fixed PHP notices.

= 1.0.12 =
* Fixed date issue when editing sheets for d/m/Y format.
* Fixed PHP notices on sheet save.
* Updated Sign-up icon.
* Updated linking to Fetch Designs.

= 1.0.11 =
* Fixed fatal error when activating plugin in WP 4.5.

= 1.0.10 =
* Fixed bug where trashed sheets were showing up on Export All.
* Fixed fatal error if activating Pro before deactivating the free version.

= 1.0.9 =
* Fixed bug where trashed sheets with no date specified would display on frontend.
* Fixed bug where trashed individual sheet pages were available on the frontend.
* Removed debug statement that was causing issues in certain browsers.

= 1.0.8 =
* Fixed security bug on export.
* Fixed sheet edit screen to prevent the quantity of available tasks from being decreased below the number of current signups.

= 1.0.7 =
* Fixed export CSV headers.

= 1.0.6 =
* Security fix for sign-up form.

= 1.0.5 =
* Fixed task sorting
* Added additional error detail on adding a signup.

= 1.0.4 =
* Fixed export CSV bug when WordPress is installed in a subfolder.
* Added option for detailed debug messages.

= 1.0.3 =
* Fixed compatibility bug with WordPress v3.5 prepare statement.
* Cleaned markup for standards compliance and missing closing tags.

= 1.0.2 =
* Fixed bug with `[sign_up_sheet]` shortcode sometimes messing up headers in certain themes.

= 1.0.1 =
* Fixed bug with sites using query strings on sign-up sheet page.

= 1.0 =
* Initial public version.
