Fix by Michael Leuchtenburg so that bookmarklet respects pingback setting.

git-svn-id: https://develop.svn.wordpress.org/trunk@1698 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Donncha O Caoimh 2004-09-20 09:37:30 +00:00
parent fee2d2df3c
commit ae0602d974
1 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,9 @@ window.close()
// -- Alex King 2004-01-07 // -- Alex King 2004-01-07
$edited_post_title = $post_title; $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']; $content = $_REQUEST['content'];
if (!empty($content)) { if (!empty($content)) {
$content = stripslashes($content); $content = stripslashes($content);