Support » Plugin: Theme Check » [suggestion] make some errors more explicit

  • maxlefou

    (@maxlefou)


    Hi. I’m getting errors in my theme and i corrected them all but one:
    REQUIRED: Found a Customizer setting that did not have a sanitization callback function. Every call to the add_setting() method needs to have a sanitization callback function passed.

    I’m really sorry if it sounds offensive or anything… But it’s not very explicit. I have around 3k to 4k code lines in my theme, how am I supposed to find which customizer setting is missing? A good improvement would be for the plugin to tell at least which custom settings are missing sanitization, the same way it shows which line contains screen_icon() while it’s deprecated.

    Hope it helps improving. 🙂

  • You must be logged in to reply to this topic.