WordPress.org

Make WordPress Core

Opened 7 months ago

Closed 7 months ago

#48572 closed defect (bug) (fixed)

return type for PO::trim_quotes incorrect

Reported by: diddledan Owned by: SergeyBiryukov
Milestone: 5.4 Priority: normal
Severity: normal Version: 5.3
Component: I18N Keywords: has-patch
Focuses: docs Cc:

Description

The docblock for PO::trim_quotes in wp-includes/pomo/po.php has an incorrectly set return type of sring (missing the t of string). The attached patch rectifies the docblock's return type to string.

Attachments (1)

48572.patch (766 bytes) - added by diddledan 7 months ago.
Patch to set the return type to string

Download all attachments as: .zip

Change History (3)

@diddledan
7 months ago

Patch to set the return type to string

#1 @SergeyBiryukov
7 months ago

  • Component changed from General to I18N
  • Milestone changed from Awaiting Review to 5.4
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#2 @SergeyBiryukov
7 months ago

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

In 46730:

Docs: Fix typo in @return value for PO::trim_quotes().

Props diddledan.
Fixes #48572.

Note: See TracTickets for help on using tickets.