WordPress.org

Making WordPress.org

Opened 18 months ago

Last modified 6 months ago

#2440 assigned defect

Trac links are automatically added even when `#NNN` reference has an existing link

Reported by: danielbachhuber Owned by: pento
Milestone: Priority: normal
Component: Make (Get Involved) / P2 Keywords:
Cc:

Description

Given post content like:

For instance, consider the following (<a href="https://github.com/wp-cli/wp-cli/issues/2523">from #2523</a>):

P2 will transform the HTML to the following:

For instance, consider the following (<a href="https://github.com/wp-cli/wp-cli/issues/2523">from </a><span class="p2_hovercardify"><a href="https://core.trac.wordpress.org/ticket/2523" class="nocard">#2523</a></span>):

I'd expect my issue reference to be ignored when it already has a link.

Change History (2)

#1 @samuelsidler
18 months ago

  • Owner set to pento
  • Status changed from new to assigned

#2 @obenland
6 months ago

#2602 was marked as a duplicate.

Note: See TracTickets for help on using tickets.