summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-06-27 16:49:58 +0000
committerDries Buytaert <dries@buytaert.net>2010-06-27 16:49:58 +0000
commitebbb3eff942741e8c7eef2e2b3fa001d20f61201 (patch)
tree862a0620a42fe2552c4f7a21cdd12d4cd4f027ca
parentdb6d3d79a8a2f0d6c189efb635bc5b4bbf0db059 (diff)
downloadbrdo-ebbb3eff942741e8c7eef2e2b3fa001d20f61201.tar.gz
brdo-ebbb3eff942741e8c7eef2e2b3fa001d20f61201.tar.bz2
- Patch #795022 by nenne, brightplum: drupal_explode_tags() and drupal_implode_tags() should point to each other; taxonomy_implode_tags() too.
-rw-r--r--includes/common.inc4
-rw-r--r--modules/taxonomy/taxonomy.module2
2 files changed, 6 insertions, 0 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 265fe022c..d37f0588b 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -6177,6 +6177,8 @@ function watchdog_severity_levels() {
/**
* Explode a string of given tags into an array.
+ *
+ * @see drupal_implode_tags()
*/
function drupal_explode_tags($tags) {
// This regexp allows the following types of user input:
@@ -6201,6 +6203,8 @@ function drupal_explode_tags($tags) {
/**
* Implode an array of tags into a string.
+ *
+ * @see drupal_explode_tags()
*/
function drupal_implode_tags($tags) {
$encoded_tags = array();
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index a4bb1de84..4500d8082 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -1025,6 +1025,8 @@ function _taxonomy_get_tid_from_term($term) {
/**
* Implodes a list of tags of a certain vocabulary into a string.
+ *
+ * @see drupal_explode_tags()
*/
function taxonomy_implode_tags($tags, $vid = NULL) {
$typed_tags = array();