Make WordPress Core

Opened 16 months ago

Closed 16 months ago

Last modified 16 months ago

#60870 closed defect (bug) (fixed)

small typo in deprecated.php file

Reported by: shailu25's profile shailu25 Owned by: audrasjb's profile audrasjb
Milestone: 6.6 Priority: normal
Severity: trivial Version: 2.3
Component: General Keywords: has-patch commit has-unit-tests
Focuses: docs Cc:

Description

Small typo correction in wp-includes/deprecated.php file inline comments (Line no 2637)

santization It should be sanitization

Attachments (1)

60870.patch (544 bytes) - added by shailu25 16 months ago.
Patch Added

Download all attachments as: .zip

Change History (12)

@shailu25
16 months ago

Patch Added

#1 @shailu25
16 months ago

  • Keywords has-patch added

#2 @mukesh27
16 months ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 6.6
  • Version set to 3.3

Good catch, introduced in [18597] / #15458.

60870.patch Look good and ready for commit.

#3 @sabernhardt
16 months ago

  • Version changed from 3.3 to 2.3

The sanitize_user_object() function was deprecated in 3.3, but the function and its description were part of [11929].

#4 @sabernhardt
16 months ago

Also, a similar typo of "santize" is in two unit test names in tests/phpunit/tests/fonts/font-library/wpRestFontFamiliesController.php.

  • test_create_item_santize_font_family_settings()
  • test_update_item_santize_font_family_settings()

This ticket was mentioned in PR #6340 on WordPress/wordpress-develop by @mukesh27.


16 months ago
#5

  • Keywords has-unit-tests added

#6 @mukesh27
16 months ago

Thanks @sabernhardt I have open PR that updates docs for those two functions.

#8 @audrasjb
16 months ago

  • Owner set to audrasjb
  • Status changed from new to accepted

#9 @audrasjb
16 months ago

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

In 57909:

General: Fix various typo issues found in deprecated.php and Font Library unit tests.

Props shailu25, mukesh27, sabernhardt, audrasjb.
Fixes #60870.

Note: See TracTickets for help on using tickets.