WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Wordpress for my website. I was working on CPANEL yesterday and was browsing public-html/wp-admin folder under the File manager.

There were many files and I accidentally deleted the admin-header.php file.

Where can I get an another copy of that file so that I can upload it to the same folder from where it got deleted?

share|improve this question

migrated from webmasters.stackexchange.com Aug 18 '11 at 14:06

This question came from our site for pro webmasters.

...wordpress.org? Voting to close, unless you can somehow salvage this. – Su' Aug 18 '11 at 9:41
up vote 2 down vote accepted

Couldn't see a download link on the Github page for downloading single files(i don't use it so maybe i'm just not seeing it).

Alternatively you can download single files for WordPress from trac.


Scroll to the bottom of the page(or hit the End key),
look for the text "Download in other formats:"
click the "Original Format" link below that text to download the single file.

Can't hurt to have options right.. ;)

share|improve this answer

Get it from here

share|improve this answer

Well I didn't do this type of things but you can do one thing

go to wordpress.org -> download -> release archives

download your current version in local host

extract it and then go to wordpress -> wp-admin -> admin-header.php

or maybe wordpress -> wp-admin -> includes -> admin-header.php

and upload it to server

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.