jimturner
Forum Replies Created
-
Forum: Plugins
In reply to: Gripe against PHP dates prior to 1969MaryE, your hack did the trick! Thanks a ton for the instructions!!!
Forum: Fixing WordPress
In reply to: slashes in comment text farks main page/Forum: Fixing WordPress
In reply to: slashes in comment text farks main page‘/’
Forum: Fixing WordPress
In reply to: slashes in comment text farks main page&&##47;
Forum: Fixing WordPress
In reply to: slashes in comment text farks main pageDang it! What does it take to make this thing display a literal “ampersand” “pound” 4 7 “semicolon”?!?!?!
Forum: Fixing WordPress
In reply to: slashes in comment text farks main pageIn other words, how can I convert every / found in an entry to a &/ when it is encountered?
Forum: Fixing WordPress
In reply to: slashes in comment text farks main pageI was afraid of that. All is well when I replace the slashes with the HTML entity ampersand pound 47 semicolon (\/)
Forum: Plugins
In reply to: redirect to main page after publishing new postI finally found it. Might not be the best solution, but it seems to work.
Line 161 of /wp-admin/post.php…
Before:
$location = 'post.php?posted=true';
After:
$location = '/';
This will take you back to the main page after a publish or an edit (save).To do the same thing after a post delete, edit line 466 in /wp-admin/post.php…
Before:
if (strstr($sendback, 'post.php')) $sendback = get_settings('siteurl') .'/wp-admin/post.php';
After:
if (strstr($sendback, 'post.php')) $sendback = get_settings('siteurl') .'/';If anyone knows a better/cleaner way of doing this, please let me know!
I am using WP v1.5.2 if it makes a difference.