Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#42951 closed defect (bug) (fixed)

Remove zero width space character from description of parameter for fetch_feed()

Reported by: coffee2code's profile coffee2code Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 5.1 Priority: lowest
Severity: trivial Version:
Component: Feeds Keywords: has-patch
Focuses: docs Cc:


The parameter description for the $url parameter of fetch_feed() includes a zero width space character. The character is just before the URL specified in the embedded @link.

Its presence leads to a Code Reference rendering issue with how the @link was handled. (Has since been manually fixed on DevHub.)

Removal of the unnecessary character restores proper display of the description for that parameter when re-parsed. Patch that does so is attached.

Attachments (1)

42951.diff (599 bytes) - added by coffee2code 6 years ago.
Patch mentioned in ticket.

Download all attachments as: .zip

Change History (5)

6 years ago

Patch mentioned in ticket.

#1 @coffee2code
6 years ago

Because the character displays with zero width, it doesn't appear in the .diff as seen through Trac.

#2 @SergeyBiryukov
6 years ago

  • Milestone changed from Awaiting Review to 5.0

#3 @SergeyBiryukov
6 years ago

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

In 42414:

Docs: Remove erroneous zero-width space before URL in fetch_feed() DocBlock.

Props coffee2code.
Fixes #42951. See #meta3212.

#4 @johnbillion
6 years ago

  • Milestone changed from 5.0 to 5.1
Note: See TracTickets for help on using tickets.