Title: Disable Version Check
Last modified: August 19, 2016

---

# Disable Version Check

 *  Resolved [therealhopeful](https://wordpress.org/support/users/therealhopeful/)
 * (@therealhopeful)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/disable-version-check/)
 * Hello. I have a legacy website that I am trying to get operational again. This
   is simply for demo purposes, so I am not interested in upgrading to the latest
   version of WordPress. I have already tried this, and it breaks the custom theme
   I wrote for the site. I do not have the time to re-write the theme.
 * What I would like to do is disable the version check in the admin panel. Is there
   a way to do this, or am I on my own? Thanks.

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

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/disable-version-check/#post-1259513)
 * [http://wordpress.org/extend/plugins/disable-wordpress-core-update/](http://wordpress.org/extend/plugins/disable-wordpress-core-update/)
   
   or [http://wordpress.org/extend/plugins/core-control/](http://wordpress.org/extend/plugins/core-control/)
 *  Thread Starter [therealhopeful](https://wordpress.org/support/users/therealhopeful/)
 * (@therealhopeful)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/disable-version-check/#post-1259577)
 * Thanks, Michael, but a plugin isn’t very helpful when WordPress won’t even give
   me access to the admin page, unless I upgrade. I think I solved the problem, 
   though. I commented out these lines near the top of admin.php, and that seemed
   to do the trick:
 *     ```
       if ( get_option('db_version') != $wp_db_version ) {
       	wp_redirect(get_option('siteurl') . '/wp-admin/upgrade.php?_wp_http_referer=' . urlencode(stripslashes($_SERVER['REQUEST_URI'])));
       	exit;
       }
       ```
   

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

The topic ‘Disable Version Check’ is closed to new replies.

## Tags

 * [version check](https://wordpress.org/support/topic-tag/version-check/)

 * 2 replies
 * 2 participants
 * Last reply from: [therealhopeful](https://wordpress.org/support/users/therealhopeful/)
 * Last activity: [16 years, 7 months ago](https://wordpress.org/support/topic/disable-version-check/#post-1259577)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
