From 1dd7ee70d080ae068741e2f3b17fa8472f1bfb13 Mon Sep 17 00:00:00 2001 From: Mike Little Date: Tue, 10 Jun 2003 22:31:01 +0000 Subject: [PATCH] Added in missing post status, comment status, post password fields to allow posts to be made correctly from sidebar and bookmarklet. git-svn-id: https://develop.svn.wordpress.org/trunk@199 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/b2bookmarklet.php | 146 +++++++++++++++++++++++-------------- wp-admin/b2sidebar.php | 32 +++++--- 2 files changed, 114 insertions(+), 64 deletions(-) diff --git a/wp-admin/b2bookmarklet.php b/wp-admin/b2bookmarklet.php index 6a24d9297e..75ca19f82b 100644 --- a/wp-admin/b2bookmarklet.php +++ b/wp-admin/b2bookmarklet.php @@ -1,6 +1,10 @@ */ +function selected($selected, $current) { + if ($selected == $current) echo ' selected="selected"'; +} + $mode = 'bookmarklet'; $standalone = 1; @@ -40,8 +44,6 @@ function launchupload() {