Make WordPress Core

Opened 8 weeks ago

Closed 2 weeks ago

#65113 closed defect (bug) (fixed)

Docs: Fix "objecct" typo in WP_Query post-loading comment

Reported by: parinpanjari's profile parinpanjari Owned by: westonruter's profile westonruter
Milestone: 7.1 Priority: lowest
Severity: normal Version: 6.8
Component: Query Keywords: has-patch commit
Focuses: docs Cc:

Description

src/wp-includes/class-wp-query.php:3806 contains a typo in an inline
comment:

  • Partial objecct queried.

Should be "object". Patch attached.

Attachments (1)

ticket-2-class-wp-query-objecct.diff (508 bytes) - added by parinpanjari 8 weeks ago.

Download all attachments as: .zip

Change History (7)

#1 @abcd95
8 weeks ago

  • Keywords needs-patch added

#2 @shailu25
8 weeks ago

  • Keywords has-patch added; needs-patch removed

#3 @westonruter
8 weeks ago

  • Focuses docs added
  • Keywords commit added
  • Milestone changed from Awaiting Review to 7.1
  • Owner set to westonruter
  • Status changed from new to reviewing
  • Version set to 6.8

Introduced in r59993 (b98b347) for #56992.

Patch looks good but trunk is frozen for 7.0, so we'll pick this up when commits open back up again.

#4 @westonruter
8 weeks ago

  • Component changed from Customize to Query
  • Priority changed from normal to lowest

#5 @gaurangsondagar
8 weeks ago

Patch Testing Report

Patch Tested: https://core.trac.wordpress.org/attachment/ticket/65113/ticket-2-class-wp-query-objecct.diff

Environment:

  • WordPress: 7.0 RC2
  • PHP: 8.2
  • OS: Ubuntu
  • Server: Apache
  • Browser: Chrome

Testing Steps:

  • I have manually reviewed the code in the following file using the latest 7.0 RC2 version.
    wp-includes/class-wp-query.php
    
  • Verified the "objecct" typo in WP_Query post-loading comment.

Please look at the following reference screenshot:
https://snipboard.io/IipF5U.jpg

Result:
The patch has been verified and it's correct.

#6 @SergeyBiryukov
2 weeks ago

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

In 62429:

Docs: Fix typo in WP_Query post-loading comment.

Follow-up to [59993].

Props parinpanjari, gaurangsondagar, westonruter, SergeyBiryukov.
Fixes #65113.

Note: See TracTickets for help on using tickets.