mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-30 23:30:05 +00:00
Remove remains from the old bookmarklet code
git-svn-id: https://develop.svn.wordpress.org/trunk@12029 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -31,9 +31,7 @@ function redirect_post($post_ID = '') {
|
||||
}
|
||||
$referer = preg_replace('|https?://[^/]+|i', '', wp_get_referer());
|
||||
|
||||
if ( !empty($_POST['mode']) && 'bookmarklet' == $_POST['mode'] ) {
|
||||
$location = $_POST['referredby'];
|
||||
} elseif ( !empty($_POST['mode']) && 'sidebar' == $_POST['mode'] ) {
|
||||
if ( !empty($_POST['mode']) && 'sidebar' == $_POST['mode'] ) {
|
||||
if ( isset($_POST['saveasdraft']) )
|
||||
$location = 'sidebar.php?a=c';
|
||||
elseif ( isset($_POST['publish']) )
|
||||
|
||||
Reference in New Issue
Block a user