Index: wp-includes/general-template.php
===================================================================
--- wp-includes/general-template.php	(revision 17672)
+++ wp-includes/general-template.php	(working copy)
@@ -1876,6 +1876,20 @@
 	echo esc_attr( apply_filters( 'the_search_query', get_search_query( false ) ) );
 }
 
+/** 
+ * 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 isset( $content_width ) ? (int) $content_width : 0;
+}
+
 /**
  * Display the language attributes for the html tag.
  *
