Make WordPress Core

#58315 closed defect (bug) (duplicate)

Typo in PHPdoc of sanitize_option() in formatting.php

Reported by: apermo's profile apermo Owned by:
Milestone: Priority: normal
Severity: minor Version:
Component: Formatting Keywords: has-patch
Focuses: docs Cc:

Description

The PHPdoc of sanitize_option() says:
* @param string $value The unsanitised value.
but should say
* @param string $value The unsanitized value.

Patch file is attached.

Attachments (1)

typo_fix.patch (672 bytes) - added by apermo 13 months ago.
Patch of the PHPdoc.

Download all attachments as: .zip

Change History (2)

@apermo
13 months ago

Patch of the PHPdoc.

#1 @SergeyBiryukov
13 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there, thanks for the patch!

This was fixed for WordPress 6.2 in [55051] / #56811.

Note: See TracTickets for help on using tickets.