Tuesday - October 05, 2004
fixed error editing comments in WordPress

I had some links to my site in comments using the old permalinks format and I decided to update them to the new format. When I tried however, I got a MySQL error. I looked on WordPress Support and found the issue but no one had provided a fix. Here’s one that worked for me.

Add the following line:

$content = $wpdb->escape($content);

right below line 694, which should be

$content = format_to_post($content);

in WordPress version 1.2 in wordpress/wp-admin/post.php

I posted a response there as well but wanted to help people to avoid the frustration of not being able to edit comments.







Post a comment










# of readers
- home
meta
comics
news links
other links

about me
blog archives
docs
entertainment
experiences
funny lists
humor
intellectual
interests
mefi
music
opinions
photos
web designs
tools
webmaster help

Sign up
Enter your e-mail address to be notified of new posts



Search blog archives

Calendar
October 2004
S M T W T F S
« Sep   Nov »
 12
3456789
10111213141516
17181920212223
24252627282930
31  



Random quote
(View all quotes)
"A treasure of memories is a very special happiness. -- Margaret Lindsey"










Licensed under Creative Commons
(?) Choose theme:  X X X X X X


W3CCSS
Loaded in 0.1284 seconds