Make WordPress Core

Opened 7 months ago

Closed 7 months ago

#63679 closed defect (bug) (fixed)

Typo correction – 'clase' to 'clause'

Reported by: marian1's profile marian1 Owned by: jorbin's profile jorbin
Milestone: 6.9 Priority: normal
Severity: trivial Version: 6.8
Component: Query Keywords: has-patch
Focuses: docs Cc:

Description

There is a typo in a comment within the WP_Query::generate_cache_key method.

  • Incorrect: "[...] but the arguments are not modified as they can be used for the orderby clase."
  • Correct: "[...] but the arguments are not modified as they can be used for the orderby clause."

Attachments (1)

63679.patch (592 bytes) - added by abcd95 7 months ago.

Download all attachments as: .zip

Change History (4)

@abcd95
7 months ago

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


7 months ago
#1

  • Keywords has-patch added

Fixes a typo in a comment within the WP_Query::generate_cache_key method.

Trac ticket: https://core.trac.wordpress.org/ticket/63679

#2 @sabernhardt
7 months ago

  • Milestone changed from Awaiting Review to 6.9
  • Type changed from enhancement to defect (bug)
  • Version set to 6.8

[59766] added 'clase' in WP_Query::generate_cache_key(), and I did not find any other instances.

#3 @jorbin
7 months ago

  • Owner set to jorbin
  • Resolution set to fixed
  • Status changed from new to closed

In 60444:

Documentation: Fix typo inside WP_Query::generate_cache_key.

While the 2022 and 2024 Mariano Rivera AL Reliever of the Year is named Clase, that's not relevant to the generation of cache keys and has nothing to do with orderby.

Introduced in [59766].

Props marian1, abcd95, sabernhardt.
Fixes #63679.

Note: See TracTickets for help on using tickets.