wordpress plugin : some clean up

Here's some cleanup in the code of the Wordpress plugin.
Not sure i've understood very well Github but i'm trying!