Clean, ethic, performance code..
-
Hi!
simple and awesome Plugin!!!
But, only one thing, could you please do not write code directly inline, so it’s executed every time, on every load of any site using your plugin, also in every page which is not showing the shortcode.
Basically lines of ‘simple-basic-contact-form.php’ until (near) line 140.
That code should execute only into the shortcode function, all that variable ini, and get POST data, sanitize_text_field…
That kind of things seems to be silly, but every plugin that do the same adds miliseconds to total execution time, and that is the first problem of every site which looks for performance, and what is worse, could be potentially insecure.
Thank you very much
The page I need help with: [log in to see the link]
- The topic ‘Clean, ethic, performance code..’ is closed to new replies.