Make WordPress Core

#63679 closed defect (bug) (fixed)

Typo correction – 'clase' to 'clause'

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

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 16 months ago.

Download all attachments as: .zip

Change History (4)

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


16 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
16 months ago

  • Milestone Awaiting Review → 6.9
  • Type enhancement → defect (bug)
  • Version → 6.8

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

#3 @jorbin
16 months ago

  • Owner set to jorbin
  • Resolution → fixed
  • Status new → 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.