Indented file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c2b6df21be
commit
6d4a7e7228
|
@ -485,6 +485,7 @@ if (($_SERVER['HTTP_REFERER'] != "") && (false == $noredir)) {
|
||||||
} else {
|
} else {
|
||||||
header('Location: '. get_settings('siteurl') .'/wp-admin/edit.php?p='.$p.'&c=1#comments');
|
header('Location: '. get_settings('siteurl') .'/wp-admin/edit.php?p='.$p.'&c=1#comments');
|
||||||
}
|
}
|
||||||
|
clear_smarty_cache();
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -607,8 +608,11 @@ case 'editedcomment':
|
||||||
);
|
);
|
||||||
|
|
||||||
$referredby = $_POST['referredby'];
|
$referredby = $_POST['referredby'];
|
||||||
if (!empty($referredby)) header('Location: ' . $referredby);
|
if (!empty($referredby)) {
|
||||||
else header ("Location: edit.php?p=$comment_post_ID&c=1#comments");
|
header('Location: ' . $referredby);
|
||||||
|
} else {
|
||||||
|
header ("Location: edit.php?p=$comment_post_ID&c=1#comments");
|
||||||
|
}
|
||||||
do_action('edit_comment', $comment_ID);
|
do_action('edit_comment', $comment_ID);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -662,7 +666,7 @@ default:
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$bookmarklet_height= (get_settings('use_trackback')) ? 460 : 420;
|
$bookmarklet_height= (get_settings('use_trackback')) ? 480 : 440;
|
||||||
|
|
||||||
if ($is_NS4 || $is_gecko) {
|
if ($is_NS4 || $is_gecko) {
|
||||||
?>
|
?>
|
||||||
|
@ -697,8 +701,6 @@ window.open ("profile.php?action=IErightclick", "oneclickbookmarklet", "width=50
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<p><?php printf(__('Since you’re a newcomer, you’ll have to wait for an admin to raise your level to 1, in order to be authorized to post.<br />
|
<p><?php printf(__('Since you’re a newcomer, you’ll have to wait for an admin to raise your level to 1, in order to be authorized to post.<br />
|
||||||
|
@ -707,7 +709,6 @@ When you’re promoted, just reload this page and you’ll be able to bl
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue