Changeset 1041
- Timestamp:
- 08/11/07 12:49:50 (1 year ago)
- Files:
-
- trunk/src/lyceum/wp-admin/post.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/lyceum/wp-admin/post.php
r1036 r1041 177 177 $sendback = get_option('home') ."/admin/post.php"; 178 178 elseif ( strstr($sendback, 'attachments.php') ) 179 $sendback = get_option(' siteurl') .'/wp-admin/attachments.php';179 $sendback = get_option('home') .'/admin/attachments.php'; 180 180 $sendback = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $sendback); 181 181 wp_redirect($sendback); … … 228 228 echo "<p>" . __('Are you sure you want to do that?') . "</p>\n"; 229 229 230 echo "<form action='".get_settings('sit url')."/wp-admin/post.php' method='get'>\n";230 echo "<form action='".get_settings('siteurl')."/wp-admin/post.php' method='get'>\n"; 231 231 echo bloginput(); 232 232 echo tokeninput('post.php', 'deletecomment', $comment->comment_ID) . "\n"; … … 238 238 echo "<input type='submit' value='" . __('Yes') . "' />"; 239 239 echo " "; 240 echo "<input type='button' value='" . __('No') . "' onclick=\"self.location='". get_settings(' siteurl') ."/wp-admin/edit.php?p=$p&c=1#comments';\" />\n";240 echo "<input type='button' value='" . __('No') . "' onclick=\"self.location='". get_settings('home') ."/admin/edit.php?p=$p&c=1#comments';\" />\n"; 241 241 echo "</form>\n"; 242 242 echo "</div>\n"; … … 270 270 wp_redirect(wp_get_referer()); 271 271 } else { 272 wp_redirect(get_settings('home') .'/ wp-admin/edit.php?p='.$p.'&c=1#comments');272 wp_redirect(get_settings('home') .'/admin/edit.php?p='.$p.'&c=1#comments'); 273 273 } 274 274 … … 298 298 wp_redirect(wp_get_referer()); 299 299 } else { 300 wp_redirect(get_settings('home') .'/ wp-admin/edit.php?p='.$p.'&c=1#comments');300 wp_redirect(get_settings('home') .'/admin/edit.php?p='.$p.'&c=1#comments'); 301 301 } 302 302 … … 320 320 } 321 321 322 wp_redirect(get_option('home') . '/ wp-admin/moderation.php?approved=1');322 wp_redirect(get_option('home') . '/admin/moderation.php?approved=1'); 323 323 324 324 break; … … 351 351 wp_redirect(wp_get_referer()); 352 352 } else { 353 wp_redirect(get_settings('home') .'/ wp-admin/edit.php?p='.$p.'&c=1#comments');353 wp_redirect(get_settings('home') .'/admin/edit.php?p='.$p.'&c=1#comments'); 354 354 } 355 355
