Index: wp-includes/theme.php
===================================================================
--- wp-includes/theme.php	(revision 26753)
+++ wp-includes/theme.php	(working copy)
@@ -1723,12 +1723,16 @@
  * Checks a theme's support for a given feature before loading the functions which implement it.
  *
  * @since 2.9.0
- * @param string $feature the feature being checked
- * @param string $include the file containing the functions that implement the feature
+ * @param string $feature The feature being checked.
+ * @param string $include The file containing the functions that implement the feature.
+ * @return boolean True if the current theme supports $feature.
  */
-function require_if_theme_supports( $feature, $include) {
-	if ( current_theme_supports( $feature ) )
+function require_if_theme_supports( $feature, $include ) {
+	if ( current_theme_supports( $feature ) ) {
 		require ( $include );
+		return true;
+	}
+	return false;
 }
 
 /**
