✨ | Drupal core | Redirect destination after edit of taxonomy term incorrect when not using clean URLs
🇬🇧United Kingdom superspring
Hey drupalshrek,
My main thoughts on the difference between url() and l() are that url() returns a nice URL, l() returns an HTML tag which contains a nice URL.
In this example, only the URL itself is needed, not the tag. I expect the code would not work properly if HTML was added where only a URL is expected.
The quote you gave above I suspect is for modules that are creating their own tags and placing nice URLs into them (such as what l() does).
✨ | Drupal core | Redirect destination after edit of taxonomy term incorrect when not using clean URLs
🇬🇧United Kingdom superspring
This patch passes $_GET['q'] through url() to give it a nicer URL.