Title: Recovering default code
Last modified: August 18, 2016

---

# Recovering default code

 *  Resolved [m1nna](https://wordpress.org/support/users/m1nna/)
 * (@m1nna)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/recovering-default-code/)
 * While editing the single.php page, I deleted some code without backing up the
   original code. I deleted the gray area text above the comment post. The code 
   I deleted was in this code:
 *  <p class=”postmetadata alt”>
    <small> <?php } edit_post_link(‘Edit this entry.’,”,”);?
   > </small>
 * I’m now getting an error message when you click on “comments” that says:
 * Parse error: syntax error, unexpected ‘}’ in /home/monennac/public_html/wp-content/
   themes/default/single.php on line 22
 * I am a newbie using WordPress, so I appreciate any help.

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/recovering-default-code/#post-454378)
 * Don’t mess with the code if you don’t know what are you doing.
    Download the 
   WP package and get a fresh copy of the theme. Or, if it was another theme… get
   a new copy of that.
 *  Thread Starter [m1nna](https://wordpress.org/support/users/m1nna/)
 * (@m1nna)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/recovering-default-code/#post-454379)
 * thanks… i will do that.

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

The topic ‘Recovering default code’ is closed to new replies.

## Tags

 * [single.php](https://wordpress.org/support/topic-tag/single-php/)

 * 2 replies
 * 2 participants
 * Last reply from: [m1nna](https://wordpress.org/support/users/m1nna/)
 * Last activity: [19 years, 8 months ago](https://wordpress.org/support/topic/recovering-default-code/#post-454379)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
