summaryrefslogtreecommitdiff
path: root/includes/bootstrap.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-10-11 21:53:36 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-10-11 21:53:36 +0000
commit5dff3b8e153f246a49907478092e2a5cf5a02241 (patch)
treef36c348d2f8de7338c9365bd60c9e0cc6a447593 /includes/bootstrap.inc
parentecf7ad41d0c3b8d4ea12e3883d3b5c9060eb2963 (diff)
downloadbrdo-5dff3b8e153f246a49907478092e2a5cf5a02241.tar.gz
brdo-5dff3b8e153f246a49907478092e2a5cf5a02241.tar.bz2
#242873 follow-up by pwolanin: Move new check_plain() check constants to bootstrap.inc so they're there in early bootstrap.
Diffstat (limited to 'includes/bootstrap.inc')
-rw-r--r--includes/bootstrap.inc20
1 files changed, 20 insertions, 0 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 58d395dea..56a4b9b71 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -186,6 +186,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
* accumulated.