aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-07-16 12:49:34 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-07-16 12:49:34 +0000
commitb1526887fcad017299e7ac8f15b23f27d63989a3 (patch)
tree83e44d2dd22c228518e7b67e7942d9a40ebc4e13
parente1af4ea4103d6123f0a1b9a326a596764a2d0262 (diff)
downloadelgg-b1526887fcad017299e7ac8f15b23f27d63989a3.tar.gz
elgg-b1526887fcad017299e7ac8f15b23f27d63989a3.tar.bz2
plugin hook output:strip_tags is now format:strip_tags.
git-svn-id: http://code.elgg.org/elgg/trunk@6727 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/output.php2
-rw-r--r--mod/ecml/start.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/output.php b/engine/lib/output.php
index dba73c13f..70c3821d6 100644
--- a/engine/lib/output.php
+++ b/engine/lib/output.php
@@ -165,7 +165,7 @@ function elgg_strip_tags($string) {
$params['original_string'] = $string;
$string = strip_tags($string);
- $string = trigger_plugin_hook('output', 'strip_tags', $params, $string);
+ $string = trigger_plugin_hook('format', 'strip_tags', $params, $string);
return $string;
} \ No newline at end of file
diff --git a/mod/ecml/start.php b/mod/ecml/start.php
index d145c711b..2a223aedc 100644
--- a/mod/ecml/start.php
+++ b/mod/ecml/start.php
@@ -80,7 +80,7 @@ function ecml_init() {
register_plugin_hook('embed_get_sections', 'all', 'ecml_embed_web_services_hook');
// remove ecml when stripping tags
- register_plugin_hook('output', 'strip_tags', 'ecml_strip_tags');
+ register_plugin_hook('format', 'strip_tags', 'ecml_strip_tags');
}
/**