File: wordfilter.module
Function: wordfilter_filter()
Case: 'settings'

1.)
< '#description' => t('You can define a global list of words to be filtered on the <a href="%url">wordfilter settings page</a>.', array('%url' => url('admin/settings/wordfilter')))
---
> '#description' => t('You can define a global list of words to be filtered on the <a href="@url">wordfilter settings page</a>.', array('@url' => url('admin/settings/wordfilter')))

Replace %url by @url, otherwise the url is emphasized instead of run through check_plain.

2.)
< return drupal_get_form('wordfilter', $form);
---
> return $form;

Just return the $form because the callback function wordfilter() for rendering the form isn't defined in this module.

Comments

budda’s picture

Priority: Minor » Normal
Status: Active » Reviewed & tested by the community

Anty chance that these small changes can be implemented in CVS and a 1.0 rolled out anytime soon? please?? :)

singularo’s picture

StatusFileSize
new800 bytes

Attaching a .patch file to help the maintainer get it committed ;-)

hunmonk’s picture

StatusFileSize
new1.19 KB

same basic patch, just more in line with the way fapi form elements are written.

hunmonk’s picture

StatusFileSize
new1.19 KB

should be !url, not %url...

add1sun’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 5 and HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.