Sanitize form submissions
-
I was adding a dashicon, e.g. dashicons-menu, string in the admin ui to set a new icon and after saving the pod that there was no icon.
Upon inspecting I realised that when I pasted the text string there was a preceding blank space ” dashicons-menu”. Deleted it and saved, icon appeared successfully.
Adding a sanitize function to all form submissions from the admin interface of pods to strip preceding and trailing blank spaces would be super helpful.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Sanitize form submissions’ is closed to new replies.