Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#48572 closed defect (bug) (fixed)

return type for PO::trim_quotes incorrect

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

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 diddledani 7 years ago.
Patch to set the return type to string

Download all attachments as: .zip

Change History (3)

@diddledani
7 years ago

Patch to set the return type to string

#1 @SergeyBiryukov
7 years ago

  • Component GeneralI18N
  • Milestone Awaiting Review5.4
  • Owner set to SergeyBiryukov
  • Status newreviewing

#2 @SergeyBiryukov
7 years ago

  • Resolutionfixed
  • Status reviewingclosed

In 46730:

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

Props diddledan.
Fixes #48572.

Note: See TracTickets for help on using tickets.