Enclosure support moved to functions.php - it now scans the content

and encloses file of mime type "video", "audio" and "image".
Fixed a bug in upgrade.php - extra character at the start of file.


git-svn-id: https://develop.svn.wordpress.org/trunk@1812 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Donncha O Caoimh
2004-10-18 12:09:20 +00:00
parent 24cfab44c0
commit cc9dc67ff8
4 changed files with 90 additions and 42 deletions
-3
View File
@@ -132,9 +132,6 @@ if ('publish' != $post_status || 0 == $post_ID) {
?>
<input name="referredby" type="hidden" id="referredby" value="<?php echo htmlspecialchars($_SERVER['HTTP_REFERER']); ?>" />
</p>
<?php echo $form_enclosure; ?>
<?php
if ('' != $pinged) {
echo $pings;