Index: coder_review/includes/coder_review_7x.inc =================================================================== RCS file: /cvs/drupal/contributions/modules/coder/coder_review/includes/coder_review_7x.inc,v retrieving revision 1.37 diff -u -p -r1.37 coder_review_7x.inc --- coder_review/includes/coder_review_7x.inc 5 Sep 2009 11:01:10 -0000 1.37 +++ coder_review/includes/coder_review_7x.inc 26 Sep 2009 18:16:02 -0000 @@ -340,7 +340,7 @@ function coder_review_7x_reviews() { array( '#type' => 'regex', '#value' => '\$form\[.+?=\s*filter_form\(', - '#warning_callback' => '_coder_review_7x_input_format_warning', + '#warning_callback' => '_coder_review_7x_text_format_warning', ), // http://drupal.org/node/224333#filter_urls array( @@ -1200,10 +1200,10 @@ function _coder_review_7x_hook_filter_ti ); } -function _coder_review_7x_input_format_warning() { +function _coder_review_7x_text_format_warning() { return array( - '#warning' => t('New #input_format to assign input format selection to fields.'), - '#link' => 'http://drupal.org/node/224333#input_format', + '#warning' => t('New #text_format to assign text format selection to fields.'), + '#link' => 'http://drupal.org/node/224333#text_format', ); } Index: coder_review/tests/coder_review_7x.test =================================================================== RCS file: /cvs/drupal/contributions/modules/coder/coder_review/tests/coder_review_7x.test,v retrieving revision 1.33 diff -u -p -r1.33 coder_review_7x.test --- coder_review/tests/coder_review_7x.test 5 Sep 2009 11:01:10 -0000 1.33 +++ coder_review/tests/coder_review_7x.test 26 Sep 2009 18:16:03 -0000 @@ -280,7 +280,7 @@ class CoderReviewUpgrade7xTest extends C // http://drupal.org/node/224333#text_format $this->assertCoderReviewFail(' $form[\'format\'] = filter_form($edit[\'format\']);'); $this->assertCoderReviewFail(' $form[\'comment\'][\'filter\'] = filter_form(FILTER_FORMAT_DEFAULT);'); - $this->assertCoderReviewPass(' $format = filter_form(FILTER_FORMAT_DEFAULT);'); + $this->assertCoderReviewPass(' $format = filter_form();'); // http://drupal.org/node/224333#filter_urls $this->assertCoderReviewFail(' $url = url("admin/settings/filters");');