Index: formatting.php
===================================================================
--- formatting.php	(revision 8954)
+++ formatting.php	(working copy)
@@ -1325,6 +1325,7 @@
 		$text = str_replace(']]>', ']]&gt;', $text);
 		$text = strip_tags($text);
 		$excerpt_length = 55;
+		$excerpt_length = apply_filters('excerpt_length', $excerpt_length);
 		$words = explode(' ', $text, $excerpt_length + 1);
 		if (count($words) > $excerpt_length) {
 			array_pop($words);

