Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#42951 closed defect (bug) (fixed)

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

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

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 9 years ago.
Patch mentioned in ticket.

Download all attachments as: .zip

Change History (5)

@coffee2code
9 years ago

Patch mentioned in ticket.

#1 @coffee2code
9 years ago

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

#2 @SergeyBiryukov
9 years ago

  • Milestone Awaiting Review → 5.0

#3 @SergeyBiryukov
9 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 42414:

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

Props coffee2code.
Fixes #42951. See ​#meta3212.

#4 @johnbillion
8 years ago

  • Milestone 5.0 → 5.1
Note: See TracTickets for help on using tickets.