Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Attached one-line patch fixes what I am sure is a simple typographical error:
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -1061,7 +1061,7 @@ function taxonomy_get_tree($vid, $parent = 0, $max_depth = NULL
* Provides a case-insensitive and trimmed mapping, to maximize the
* likelihood of a successful match.
*
- * @param name
+ * @param $name
* Name of the term to search for.
*
* @return
Also fixes some trailing whitespace errors courtesty of drupal_mode.el
.
Comment | File | Size | Author |
---|---|---|---|
#1 | taxonomy_get_term_by_name-fix_missing_dollar_sign-D7.patch | 489 bytes | TR |
taxonomy_get_term_by_name-fix_missing_dollar_sign.patch | 937 bytes | pillarsdotnet | |
Comments
Comment #1
TR CreditAttribution: TR commentedYes, this needs to be done.
Attached is a backport of the patch to Drupal 7. The param still needs the $ in D7, but there is no trailing whitespace to remove in D7.
Comment #2
pillarsdotnet CreditAttribution: pillarsdotnet commentedTagging.
Note that the "Needs backport" tag should remain even after the backport is completed. See Special issue tags.
Comment #3
webchickCommitted and pushed to 8.x and 7.x. Thanks!
For future reference, I'm fine with patches like these being all combined into one. It makes reviewing and committing easier.