mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@12859 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -126,7 +126,7 @@ endswitch;
|
||||
|
||||
if ( !$redirect ) {
|
||||
if ( empty($post->post_type) ) // Empty post_type means either malformed object found, or no valid parent was found.
|
||||
$redirect = 'edit.php';
|
||||
$redirect = 'edit.php';
|
||||
elseif ( !post_type_supports($post->post_type, 'revisions') )
|
||||
$redirect = 'edit.php?post_type=' . $post->post_type;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user