Index: wp-includes/link-template.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- wp-includes/link-template.php	(revision 46c40960e10cc0bf489e43afaa2b07d2f1198365)
+++ wp-includes/link-template.php	(revision )
@@ -2874,6 +2874,25 @@
 }
 
 /**
+ * Retrieve the url to the uploads directory.
+ *
+ * @param bool|false $subdir
+ *
+ * @return string
+ */
+function upload_url( $subdir = false ) {
+	$upload_dir = wp_upload_dir();
+
+	$url = $upload_dir['baseurl'];
+
+	if ($subdir) {
+		$url .= $upload_dir['subdir'];
+	}
+
+	return $url;
+}
+
+/**
  * Retrieve a URL within the plugins or mu-plugins directory.
  *
  * Defaults to the plugins directory URL if no arguments are supplied.
