Obey default pingback setting. http://mosquito.wordpress.org/view.php?id=945
git-svn-id: http://svn.automattic.com/wordpress/trunk@2413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8d5745bfb4
commit
2fbbab314f
|
@ -20,7 +20,7 @@ if (0 == $post_ID) {
|
||||||
$form_extra = "<input type='hidden' name='post_ID' value='$post_ID' />";
|
$form_extra = "<input type='hidden' name='post_ID' value='$post_ID' />";
|
||||||
}
|
}
|
||||||
|
|
||||||
$form_pingback = '<input type="hidden" name="post_pingback" value="1" id="post_pingback" />';
|
$form_pingback = '<input type="hidden" name="post_pingback" value="' . get_option('default_pingback_flag') . '" id="post_pingback" />';
|
||||||
|
|
||||||
$form_prevstatus = '<input type="hidden" name="prev_status" value="'.$post_status.'" />';
|
$form_prevstatus = '<input type="hidden" name="prev_status" value="'.$post_status.'" />';
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@ edCanvas = document.getElementById('content');
|
||||||
//-->
|
//-->
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<input type="hidden" name="post_pingback" value="1" id="post_pingback" />
|
<input type="hidden" name="post_pingback" value="<?php echo get_option('default_pingback_flag') ?>" id="post_pingback" />
|
||||||
|
|
||||||
<p><label for="trackback"> <?php printf(__('<a href="%s" title="Help on trackbacks"><strong>TrackBack</strong> a <abbr title="Universal Resource Identifier">URI</abbr></a>:</label> (Separate multiple <abbr title="Universal Resource Identifier">URI</abbr>s with spaces.)<br />'), 'http://wordpress.org/docs/reference/post/#trackback') ?>
|
<p><label for="trackback"> <?php printf(__('<a href="%s" title="Help on trackbacks"><strong>TrackBack</strong> a <abbr title="Universal Resource Identifier">URI</abbr></a>:</label> (Separate multiple <abbr title="Universal Resource Identifier">URI</abbr>s with spaces.)<br />'), 'http://wordpress.org/docs/reference/post/#trackback') ?>
|
||||||
<input type="text" name="trackback_url" style="width: 360px" id="trackback" tabindex="7" /></p>
|
<input type="text" name="trackback_url" style="width: 360px" id="trackback" tabindex="7" /></p>
|
||||||
|
|
Loading…
Reference in New Issue