Fix by Michael Leuchtenburg so that bookmarklet respects pingback setting.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
donncha 2004-09-20 09:37:30 +00:00
parent 0cdc3aaff5
commit 958dd144e9
1 changed files with 3 additions and 0 deletions

View File

@ -58,6 +58,9 @@ window.close()
// the var instead of changing the assignment on the lines above.
// -- Alex King 2004-01-07
$edited_post_title = $post_title;
// $post_pingback needs to be set in any file that includes edit-form.php
$post_pingback = get_settings('default_pingback_flag');
$content = $_REQUEST['content'];
if (!empty($content)) {