Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#48572 closed defect (bug) (fixed)

return type for PO::trim_quotes incorrect

Reported by: diddledani's profile diddledani Owned by: sergeybiryukov's profile 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 diddledani 5 years ago.
Patch to set the return type to string

Download all attachments as: .zip

Change History (3)

@diddledani
5 years ago

Patch to set the return type to string

#1 @SergeyBiryukov
5 years 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
5 years 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.