dorzki / slack-notifications

Get WordPress notifications to your team's Slack channel.
https://wordpress.org/plugins/dorzki-notifications-to-slack/
GNU General Public License v3.0
41 stars 27 forks source link

Adding phpcs and secturity fixes #4

Closed barzik closed 8 years ago

barzik commented 8 years ago

I've run automated phpcs fixer for all the spaces and the other stuff. basically, it is grunt phpcbf Then I manually worked on settings-page.php the changes there are escaping almost everything that come from the database - especially the options. But other static text string. to escape static text is a little dumb, but it can prevent a rare XSS through .po files and it is also required by the coding standards. settings-page.php is Lint free now!