0

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?

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

This question came from our site for pro webmasters.

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

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.

Example:
http://core.trac.wordpress.org/browser/tags/3.2.1/wp-admin/admin-header.php

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.. ;)

2

Get it from here

1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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