From 5dff3b8e153f246a49907478092e2a5cf5a02241 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 11 Oct 2008 21:53:36 +0000 Subject: #242873 follow-up by pwolanin: Move new check_plain() check constants to bootstrap.inc so they're there in early bootstrap. --- includes/bootstrap.inc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'includes/bootstrap.inc') diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 58d395dea..56a4b9b71 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -185,6 +185,26 @@ define('LANGUAGE_NEGOTIATION_DOMAIN', 3); */ define('REQUEST_TIME', $_SERVER['REQUEST_TIME']); +/** + * @name Title text filtering flags + * @{ + * Flags for use in drupal_set_title(). + */ + +/** + * Flag for drupal_set_title(); text is not sanitized, so run check_plain(). + */ +define('CHECK_PLAIN', 0); + +/** + * Flag for drupal_set_title(); text has already been sanitized. + */ +define('PASS_THROUGH', -1); + +/** + * @} End of "Title text filtering flags". + */ + /** * Start the timer with the specified name. If you start and stop * the same timer multiple times, the measured intervals will be -- cgit v1.2.3