[drupal-docs] migration guidelines thinko?

Gabor Hojtsy gabor at hojtsy.hu
Sat Sep 3 18:31:35 UTC 2005


Cheers,

I have been going through the 4.6->HEAD migration guidelines, fixing up
some errors in the text, and applying best practices, and found this
paragraph:

--------------
In general you will want to use check_markup($text, $format, TRUE) prior
to validating or saving the $text and use check_markup($text, $format,
FALSE) when viewing the $text. In some cases, especially if you are
using filters which include PHP code, you probably want to call
check_markup($text, $format, FALSE) in the latter case too.
--------------

What is the intended meaning of the last sentence? It does not sound
right, since it just repeats the previous suggestion, mentioning it as a
special case.

Goba



More information about the drupal-docs mailing list