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.

Files: 
CommentFileSizeAuthor
#1 taxonomy_get_term_by_name-fix_missing_dollar_sign-D7.patch489 bytesTR
taxonomy_get_term_by_name-fix_missing_dollar_sign.patch937 bytespillarsdotnet
PASSED: [[SimpleTest]]: [MySQL] 33,142 pass(es).
[ View ]

Comments

Status:Needs review» Reviewed & tested by the community
StatusFileSize
new489 bytes

Yes, 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.

Issue tags:+needs backport to D7

Tagging.

Note that the "Needs backport" tag should remain even after the backport is completed. See Special issue tags.

Status:Reviewed & tested by the community» Fixed

Committed 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.

Automatically closed -- issue fixed for 2 weeks with no activity.