This repository was archived by the owner on Apr 1, 2025. It is now read-only.
2.0
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_expirationandmn_cookie_settings_pagefunctions to useget_blog_optionandupdate_blog_optioninstead ofget_site_optionandupdate_site_option. - The cookie name will have the format
__site_name_blog_id, wheresite_nameis the name of the site (with spaces replaced by underscores and converted to lowercase), andblog_idis the ID of the current blog. - Added more detailed explanation of how the plugin works in to the README.md file.