Title: Downgrade question
Last modified: August 18, 2016

---

# Downgrade question

 *  [valgray](https://wordpress.org/support/users/valgray/)
 * (@valgray)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/downgrade-question/)
 * After being unable to get my upgrade to work, I replaced all the new files upgraded
   today with the old files. Everything seems to be there and working for the viewer.
   
   But, I can’t log in, I get this – Fatal error: Call to undefined function: wp_admin_css()
   in /home/valmg/public_html/wp-admin/admin-header.php on line 20
 * Will someone please let me know what I need to do to be able to log in again?
   
   Thanks.

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

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/downgrade-question/#post-651319)
 * If you are reverting from 2.3 or 2.3.1 to 2.2.3 then I’d suggest deleting all
   your wordpress files and the restore the old files.
 * Same thing for the database. DROP all the tables, then restore your database 
   backup.
 * See:
    [Uploading WordPress to a remote host](http://codex.wordpress.org/Uploading_WordPress_to_a_remote_host)
   [Restoring_Your_Database_From_Backup](http://codex.wordpress.org/Restoring_Your_Database_From_Backup)
 *  Thread Starter [valgray](https://wordpress.org/support/users/valgray/)
 * (@valgray)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/downgrade-question/#post-651326)
 * I did delete the files and put the old ones back up, then when I tried to login
   I got the message I pasted above
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/downgrade-question/#post-651327)
 * Remember to do the database.
 * If necessary, download a ‘pristine copy’ of whatever version you were running
   and upload that.
 * [http://wordpress.org/download/release-archive/](http://wordpress.org/download/release-archive/)

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

The topic ‘Downgrade question’ is closed to new replies.

## Tags

 * [can't login](https://wordpress.org/support/topic-tag/cant-login/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [18 years, 7 months ago](https://wordpress.org/support/topic/downgrade-question/#post-651327)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
