Improving Theme Support
-
Thanks for making this plugin!
My themes make a few modifications to the default form fields on the “comment_form_default_fields” hook, and this prevents the plugin from working. This is a standard practice, so I’m sure it comes up with other themes as well.
To fix this, you can add an explicit priority to the
comment_form_default_fieldshook on line 45 of the main PHP file to 99. This will ensure the code runs after any theme code for modifying the URL field and effectively remove it.https://wordpress.org/plugins/remove-comment-websiteurl-box/
The topic ‘Improving Theme Support’ is closed to new replies.