Skip to:

#8184 closed defect (bug) (fixed)

Coding Standard : Anchor Tag Closing missing - src/bp-templates/bp-nouveau/buddypress/common/js-templates/invites/index.php

Reported by: ankitmaru Owned by: mercime
Milestone: 6.0.0 Priority: normal
Severity: normal Version: 3.0.0
Component: Templates Keywords: has-patch needs-refresh


Please check this file.

Anchor tag closing is missing on this template.

Attachments (3)

anchor_tag_closing_missing.diff (928 bytes) - added by ankitmaru 21 months ago.
new_anchor_tag_closing_missing.diff (928 bytes) - added by ankitmaru 21 months ago.
8184.patch (1.1 KB) - added by mercime 21 months ago.

Download all attachments as: .zip

Change History (8)

21 months ago

#1 @mercime
21 months ago

@ankitmaru Good catch on the closing anchor tag. That error was my bad from #7752 where I missed replacing the closing button tag with a closing anchor tag. Attached 8184.patch to correct the issue.

#2 @mercime
21 months ago

  • Component changed from Core to Templates

#3 @ankitmaru
21 months ago

@mercime Thank you so much.

Last edited 21 months ago by ankitmaru (previous) (diff)

#4 @imath
21 months ago

  • Keywords needs-refresh added
  • Milestone changed from Awaiting Review to 6.0.0
  • Version changed from 5.0.0 to 3.0.0

Hi @ankitmaru

Thanks a lot for your feedback.

Hi @mercime thanks a lot for your patch. I have a few recommandations before you commit it to trunk. Could you :

  • git checkout npm-shrinkwrap.json,
  • Update the @version 3.1.0 docblock comment at the top of the src/bp-templates/bp-nouveau/buddypress/common/js-templates/invites/index.php file and use the version it will be committed for (@version 6.0.0) ?

Then, feel free to commit ;)

#5 @mercime
21 months ago

  • Owner set to mercime
  • Resolution set to fixed
  • Status changed from new to closed

In 12513:

BPNouveau: Use correct closing tag for anchor element.

Fixes overlooked closing tag when I changed button
element to anchor tag for invites navigation, my bad.

Props ankitmaru, imath.
Fixes #8184.

Note: See TracTickets for help on using tickets.