Title: Undefined variable: wp_version
Last modified: December 19, 2020

---

# Undefined variable: wp_version

 *  Resolved [RichTWebGuy](https://wordpress.org/support/users/richtwebguy/)
 * (@richtwebguy)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-wp_version/)
 * Redirection for Contact Form 7, Version 2.3.0
 * Notice: Undefined variable: wp_version in …/plugins/wpcf7-redirect/classes/class-
   wpcf7r-form-helper.php on line 91
 * Need global $wp_version; ???
 *     ```
       public function maybe_update_extensions_check() {
       global $wp_version;
   
       $current = get_transient( 'update_wpcf7r_extensions' );
       ```
   
    -  This topic was modified 5 years, 5 months ago by [RichTWebGuy](https://wordpress.org/support/users/richtwebguy/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Yuval](https://wordpress.org/support/users/yuvalsabar/)
 * (@yuvalsabar)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-wp_version/#post-13813392)
 * Hi [@richtwebguy](https://wordpress.org/support/users/richtwebguy/),
 * Thank you for the bug report.
    It will be fixed in the next release.
 *  Plugin Contributor [Yuval](https://wordpress.org/support/users/yuvalsabar/)
 * (@yuvalsabar)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-wp_version/#post-13822775)
 * Hi [@richtwebguy](https://wordpress.org/support/users/richtwebguy/),
 * This has been fixed in v2.3.1.
    Please update to latest versions.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Undefined variable: wp_version’ is closed to new replies.

 * ![](https://ps.w.org/wpcf7-redirect/assets/icon-256x256.gif?rev=3416723)
 * [Redirection for Contact Form 7](https://wordpress.org/plugins/wpcf7-redirect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpcf7-redirect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpcf7-redirect/)
 * [Active Topics](https://wordpress.org/support/plugin/wpcf7-redirect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpcf7-redirect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpcf7-redirect/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Yuval](https://wordpress.org/support/users/yuvalsabar/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-wp_version/#post-13822775)
 * Status: resolved