From f58955f596c971f8828a781c1c30923465d048e1 Mon Sep 17 00:00:00 2001 From: alex_t_king Date: Thu, 8 Jan 2004 03:30:23 +0000 Subject: [PATCH] made the bookmarklet safari compatible and enabled passing in the title, task #49 git-svn-id: http://svn.automattic.com/wordpress/trunk@738 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/bookmarklet.php | 5 +++++ wp-admin/post.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/wp-admin/bookmarklet.php b/wp-admin/bookmarklet.php index 5a2161915..52fc5eab4 100644 --- a/wp-admin/bookmarklet.php +++ b/wp-admin/bookmarklet.php @@ -52,6 +52,11 @@ window.close() } else { $post_title = $popuptitle; } +// I'm not sure why we're using $edited_post_title in the edit-form.php, but we are +// and that is what is being included below. For this reason, I am just duplicating +// the var instead of changing the assignment on the lines above. +// -- Alex King 2004-01-07 + $edited_post_title = $post_title; $content = $_REQUEST['content']; if (!empty($content)) { diff --git a/wp-admin/post.php b/wp-admin/post.php index 5e7cb1512..9bbf042e7 100644 --- a/wp-admin/post.php +++ b/wp-admin/post.php @@ -686,7 +686,7 @@ $bookmarklet_height= ($use_trackback) ? 460 : 420; if ($is_NS4 || $is_gecko) { ?> - Press It + Press It -