Download a fresh copy of WordPress, extract the wp-includes/media.php file and upload it to your site using FTP. And never, EVER, edit core WordPress files.
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
I tried to make a change on media.php file, messed up.
You really do not want to ever modify files that came with WordPress. As you’ve discovered it can go really badly.
Try downloading a fresh copy of WordPress 3.5.1 and re-upload all of the files in that zip file except for the wp-content directory. You can exclude that directory.
Or just extract wp-includes/media.php and upload just that file.
http://ww.wp.xz.cn/latest.zip
Once that’s done and you ar back and running: what were you trying to accomplish by editing that file?
Edit: You were trying to change a color, I missed that.
Thank you so much for your help It has worked. You have made my day, I felt quite sick and have to go into hospital tomorrow so was dreaded not having it sorted out. I was trying to change the image border colour like on here. I do not like they grey around the image
http://visionarygardens.co.uk/oriental-themed-garden-design/
I will not be touching core file again
Thanks again
Kathy
That border is controlled by your theme’s CSS – not by any core WordPress file. Where did you download the theme from?
flexithemes, I had a look in the css file but could not see it. Thanks
I’m sorry but as you are using a commercial theme, you need to seek support from the theme’s developer/vendor. We do not support commercial themes here.
Try http://flexithemes.com/support