Title: Formatting.php is broken :(
Last modified: August 18, 2016

---

# Formatting.php is broken :(

 *  [alfajor](https://wordpress.org/support/users/alfajor/)
 * (@alfajor)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/formattingphp-is-broken/)
 * Link: [http://www.alfaj0r.com/library/christopher-hitchens/god-is-not-great-how-religion-poisons-everything/](http://www.alfaj0r.com/library/christopher-hitchens/god-is-not-great-how-religion-poisons-everything/)
   
   I keep getting the error “Warning: preg_replace() [function.preg-replace]: No
   ending delimiter ‘:’ found in /home/.newley/alfajor/alfaj0r.com/blog/wp-includes/
   formatting.php on line 668”
 * Here’s a copy of my file: [http://www.alfaj0r.com/misc/formatting.txt](http://www.alfaj0r.com/misc/formatting.txt)
 * I suspect the problem came with the plugin “[More Smilies](http://drunkenmonkey.org/user/archive/more-smilies-21.zip)“,
   which is no longer supported. I think I had to modify some files when I installed
   it, but it was a long time ago, and I really didn’t have any idea of what I was
   doing 😛
 * I’ve tried replacing the formatting.php file with another one, from the default
   install of WP, but the errors propagate to other files that call functions on
   formatting.php, so… I don’t know what to do. And that’s why I’m here 🙂

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

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/formattingphp-is-broken/#post-638517)
 * what you do is upload fresh copies of ALL the files that you changed. And then
   you dont change them to accommodate a f’ed up plugin.
 *  Thread Starter [alfajor](https://wordpress.org/support/users/alfajor/)
 * (@alfajor)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/formattingphp-is-broken/#post-638663)
 * I figured I could do that… where can I download just the wp-includes/ folder 
   with all the original files?
 *  Thread Starter [alfajor](https://wordpress.org/support/users/alfajor/)
 * (@alfajor)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/formattingphp-is-broken/#post-638668)
 * Ok, nevermind. I found where to download (just got the whole zip from the downloads
   section, and used the wp-includes folder).
 * It’s still broken 🙁
 *  Thread Starter [alfajor](https://wordpress.org/support/users/alfajor/)
 * (@alfajor)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/formattingphp-is-broken/#post-638738)
 * Case closed. I commented out the offending sentence, and I have yet to see any
   difference on my page 🙂

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

The topic ‘Formatting.php is broken :(’ is closed to new replies.

## Tags

 * [formatting.php](https://wordpress.org/support/topic-tag/formatting-php/)
 * [now-reading](https://wordpress.org/support/topic-tag/now-reading/)
 * [preg_replace](https://wordpress.org/support/topic-tag/preg_replace/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [alfajor](https://wordpress.org/support/users/alfajor/)
 * Last activity: [18 years, 5 months ago](https://wordpress.org/support/topic/formattingphp-is-broken/#post-638738)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
