Index: wp-includes/general-template.php
===================================================================
--- wp-includes/general-template.php	(revision 17637)
+++ wp-includes/general-template.php	(working copy)
@@ -1877,6 +1877,20 @@
 }
 
 /**
+ * Retrieve the $content_width value for the current theme.
+ *
+ * The $content_width is used to assign a maximum width for images within
+ * the content area of a post.
+ *
+ * @since 3.2.0
+ */
+function get_content_width() {
+	global $content_width;
+
+	return $content_width;
+}
+
+/**
  * Display the language attributes for the html tag.
  *
  * Builds up a set of html attributes containing the text direction and language
