WordPress.org

Make WordPress Core

Opened 5 months ago

Closed 5 months ago

#42951 closed defect (bug) (fixed)

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

Reported by: coffee2code Owned by: SergeyBiryukov
Milestone: 5.0 Priority: lowest
Severity: trivial Version:
Component: Feeds Keywords: has-patch
Focuses: docs Cc:

Description

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 5 months ago.
Patch mentioned in ticket.

Download all attachments as: .zip

Change History (4)

@coffee2code
5 months ago

Patch mentioned in ticket.

#1 @coffee2code
5 months ago

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

#2 @SergeyBiryukov
5 months ago

  • Milestone changed from Awaiting Review to 5.0

#3 @SergeyBiryukov
5 months 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.

Note: See TracTickets for help on using tickets.