mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 22:57:20 +00:00
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ function redirect_post($post_ID = '') {
|
||||
if ( $_POST['referredby'] == 'redo' )
|
||||
$location = get_permalink( $post_ID );
|
||||
elseif ( false !== strpos($location, 'edit.php') )
|
||||
$location = add_query_arg('posted', $post_ID, $location);
|
||||
$location = add_query_arg('posted', $post_ID, $location);
|
||||
elseif ( false !== strpos($location, 'wp-admin') )
|
||||
$location = "post-new.php?posted=$post_ID";
|
||||
} elseif ( isset($_POST['publish']) ) {
|
||||
|
||||
Reference in New Issue
Block a user