The O.C. Disorder;; Props Nazgul. fixes 3853

git-svn-id: https://develop.svn.wordpress.org/trunk@4937 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2007-02-25 13:26:18 +00:00
parent 923db34135
commit dbd3b7f6fb
2 changed files with 2 additions and 2 deletions

View File

@ -558,7 +558,7 @@ EOD;
elseif ( isset( $_SERVER['HTTP_TITLE'] ) )
$slug = sanitize_file_name( $_SERVER['HTTP_TITLE'] );
elseif ( empty( $slug ) ) // just make a random name
$slug = substr( md5( uniqid( microtime() ) ), 0, 7);;
$slug = substr( md5( uniqid( microtime() ) ), 0, 7);
$ext = preg_replace( '|.*/([a-z]+)|', '$1', $_SERVER['CONTENT_TYPE'] );
$slug = "$slug.$ext";
$file = wp_upload_bits( $slug, NULL, $bits);

View File

@ -95,7 +95,7 @@ function comment_text_rss() {
function comments_rss_link($link_text = 'Comments RSS', $commentsrssfilename = 'nolongerused') {
$url = get_post_comments_feed_link();;
$url = get_post_comments_feed_link();
echo "<a href='$url'>$link_text</a>";
}