Opened 7 years ago

Closed 7 years ago

#3212 closed defect (bug) (fixed)

@link in fetch_feed() isn't generated correctly

Reported by: birgire's profile birgire Owned by: coffee2code's profile coffee2code
Milestone: Priority: normal
Component: Developer Hub Keywords:


This doc part [src] for the fetch_feed() function:

* @param mixed $url URL of feed to retrieve. If an array of URLs, the feeds are merged
* using SimplePie's multifeed feature.
* See also {@link ​}

generates encoded HTML link

See also <a href="">​&lt;a href=""&gt;;/a&gt;</a>


It looks like it treated as @see instead.

I wonder if the See part, in the same line as @link, is confusing the parsing here:

Change History (2)

#1 @coffee2code
7 years ago

  • Owner set to coffee2code
  • Status changed from new to accepted

#2 @coffee2code
7 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

Thanks for the report @birgire!

This issue has been fixed in the Code Reference. It actually stems from a bug I just reported to WP core. A zero width character precedes the URL in the @link for the parameter description, which interferes with how the link was being handled. I removed the character locally for DevHub, and will make a note to manually do so for each future parsing until my patch for core is applied.

Note: See TracTickets for help on using tickets.