Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
filter.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Dec 2008 at 00:54 UTC
Updated:
17 Dec 2008 at 20:14 UTC
Jump to comment: Most recent file
Comments
Comment #1
webchickIf this really has no use, we should remove it from the theme function declaration in hook_theme().
Comment #2
sunBoy, I needed to lookup multiple functions to grasp what's actually passed there in $tips.... so I added an example.
Comment #3
dries commentedNote that $extra is now an unused variable. It is, after all, declared. It looks like the the "More information about formatting options" gets lost now?
Comment #4
sunGood catch, but only true for filter_admin_format_form(). Fixed the appending of the more link there, which was not displayed until now, and also did not use the corresponding theme function...
Please note that we most probably want to refactor the whole processing and theming of filter tips (and the ($extra) more link) anyway, but let's discuss this in a new issue and not this one, please. Code clean-up should come first.
Comment #5
dries commentedI think this is a good patch, although the @code example tends to raise questions (e.g. what is ID for?). I'm not mandating we add more documentation, so I'll commit this after someone else has reviewed this.
Comment #6
sunI agree that ID should be explained as well. Hopefully ready to go now.
Comment #7
sunFixed typo "intented".
Comment #8
dries commentedCommitted it to CVS HEAD. The extra documentation pushed it over the threshold. ;-)