# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- Base (BASE)
+++ Locally Modified (Based On LOCAL)
@@ -570,9 +570,23 @@
  * @param string $zero Text for no comments
  * @param string $one Text for one comment
  * @param string $more Text for more than one comment
- * @param string $deprecated Not used.
  */
-function comments_number( $zero = false, $one = false, $more = false, $deprecated = '' ) {
+function comments_number($zero = false, $one = false, $more = false, $deprecated = '') {	
+	echo get_comments_number_text( $zero, $one, $more, $deprecated );
+}
+
+/**
+ * Return the language string for the number of comments the current post has.
+ *
+ * @since 2.9
+ * @uses $id
+ * @uses apply_filters() Calls the 'comments_number' hook on the output and number of comments respectively.
+ *
+ * @param string $zero Text for no comments
+ * @param string $one Text for one comment
+ * @param string $more Text for more than one comment
+ */
+function get_comments_number_text( $zero = false, $one = false, $more = false ) {
 	global $id;
 
 	if ( !empty( $deprecated ) )
@@ -587,7 +601,7 @@
 	else // must be one
 		$output = ( false === $one ) ? __('1 Comment') : $one;
 
-	echo apply_filters('comments_number', $output, $number);
+	return apply_filters('comments_number', $output, $number);
 }
 
 /**

