Title: Option debugging
Last modified: August 22, 2016

---

# Option debugging

 *  Resolved [Viktor Szépe](https://wordpress.org/support/users/szepeviktor/)
 * (@szepeviktor)
 * [11 years ago](https://wordpress.org/support/topic/option-debugging/)
 * When you implement the one-array option,
    you may find this very useful:
 * [https://github.com/szepeviktor/option-inspector](https://github.com/szepeviktor/option-inspector)
   
   Go to Settings / Options and click on a serialized option.
 * [https://wordpress.org/plugins/sucuri-scanner/](https://wordpress.org/plugins/sucuri-scanner/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [yorman](https://wordpress.org/support/users/yorman/)
 * (@yorman)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/option-debugging/#post-5899917)
 * After much thinking and feedback from my co-workers in the development team I
   decided to revert the changes that I made in the plugin that were going to implement
   this option.
 * First of all I do not trust serialized data [1] in PHP. At the beginning this
   plugin used to store the security logs in plain text files using serialized data
   and then it was migrated to JSON, so I thought it would be _“easy”_ to implement
   your _“Option Inspector”_ using JSON, but it requires several lines of code to
   just determine the data type of each value.
 * Also, you already have a plugin to do this [2] so there is no need to duplicate
   that functionality in the Sucuri plugin because it adds more things to the code
   that I would have to maintain.
 * [1] [https://www.owasp.org/index.php/PHP_Object_Injection](https://www.owasp.org/index.php/PHP_Object_Injection)
   [
   2] [https://wordpress.org/plugins/options-inspector/](https://wordpress.org/plugins/options-inspector/)
 *  Thread Starter [Viktor Szépe](https://wordpress.org/support/users/szepeviktor/)
 * (@szepeviktor)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/option-debugging/#post-5899918)
 * Thank you.
    [https://wordpress.org/plugins/options-inspector/](https://wordpress.org/plugins/options-inspector/)
   is written by me.
 *  Thread Starter [Viktor Szépe](https://wordpress.org/support/users/szepeviktor/)
 * (@szepeviktor)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/option-debugging/#post-5899919)
 * Oh! I didn’t meant to include an option debugger in your plugin.
    I was just 
   offering it to you for development use.
 *  [yorman](https://wordpress.org/support/users/yorman/)
 * (@yorman)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/option-debugging/#post-5899920)
 * Yes, I knew you were the developer of that plugin, it is a cool project, I may
   use it in some of my personal websites, thanks for the suggestion 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Option debugging’ is closed to new replies.

 * ![](https://ps.w.org/sucuri-scanner/assets/icon-256x256.png?rev=2875755)
 * [Sucuri Security - Auditing, Malware Scanner and Security Hardening](https://wordpress.org/plugins/sucuri-scanner/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sucuri-scanner/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sucuri-scanner/)
 * [Active Topics](https://wordpress.org/support/plugin/sucuri-scanner/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sucuri-scanner/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sucuri-scanner/reviews/)

## Tags

 * [option](https://wordpress.org/support/topic-tag/option/)

 * 4 replies
 * 2 participants
 * Last reply from: [yorman](https://wordpress.org/support/users/yorman/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/option-debugging/#post-5899920)
 * Status: resolved