API page: https://api.drupal.org/api/drupal/core%21modules%21system%21templates%21...
says that links variable needs to be:
title: The link text.
href: The link URL. If omitted, the 'title' is shown as a plain text item in the links list. If 'href' is supplied, the entire link is passed to l() as its $options parameter.
attributes: (optional) HTML attributes for the anchor, or for the tag if no 'href' is supplied.
but the href element is wrong. In template_preprocess_links url is used.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | use_url_not_href-2818375-4.patch | 1 KB | hardikpandya |
Comments
Comment #2
idebr commentedComment #3
hardikpandya commentedComment #4
hardikpandya commentedPatch attached.
Comment #5
lussoluca+1 for me
Comment #7
crizRescheduled test worked. Patch looks good.
Comment #10
catchCommitted/pushed to 8.3.x and cherry-picked to 8.2.x. Thanks!