Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

2.0

Choose a tag to compare

@mnestorov mnestorov released this 11 Oct 08:00
87185e9

Major bug fixes and improvements, adding of additional error checking, sanitize JSON data, changing the name of the cookie

  • Sanitize and handle the JSON data correctly when saving and retrieving it from the database.
  • Enable error reporting to catch any PHP errors or warnings that might be occurring.
  • Display the raw data being saved to the database on the settings page for debugging purposes.
  • Modifying mn_get_cookie_expiration and mn_cookie_settings_page functions to use get_blog_option and update_blog_option instead of get_site_option and update_site_option.
  • The cookie name will have the format __site_name_blog_id, where site_name is the name of the site (with spaces replaced by underscores and converted to lowercase), and blog_id is the ID of the current blog.
  • Added more detailed explanation of how the plugin works in to the README.md file.