Use $wp_version global instead of non-existent constant