Added WP version grab

Signed-off-by: Alex Rydzak <alex@rydzak.me>
Merge remote-tracking branch 'origin/dev'