fixed the methods names
emoved the php closing tag at the end of file
fixed wp standards
fixed a undefined index error
added flush_rewrite method
Merge pull request #1 from claudiosmweb/patch-1

Patch 1