Make WordPress Core

Opened 4 months ago

Closed 4 months ago

Last modified 4 months ago

#60067 closed defect (bug) (fixed)

Typo in wp-includes/class-wp-date-query.php

Reported by: jayadevankbh's profile jayadevankbh Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 6.5 Priority: normal
Severity: normal Version: 3.7
Component: Query Keywords: has-patch commit
Focuses: docs Cc:

Description

If we go through wp-includes/class-wp-date-query.php on line number 869 we can see it is mentioned: "strotime()". It should be "strtotime()".

Attachments (1)

60067.diff (773 bytes) - added by nithi22 4 months ago.
Patch added

Download all attachments as: .zip

Change History (5)

@nithi22
4 months ago

Patch added

#1 @benniledl
4 months ago

  • Keywords has-patch added

#2 @mukesh27
4 months ago

  • Component changed from Text Changes to Query
  • Keywords commit added
  • Milestone changed from Awaiting Review to 6.5
  • Version set to 3.7

Hi there! thanks for the ticket and patch.

Patch look good to me. Mark for commit

#3 @SergeyBiryukov
4 months ago

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

In 57189:

Docs: Fix typo in WP_Date_Query::build_mysql_datetime() DocBlock.

Follow-up to [25139].

Props nithi22, benniledl, mukesh27.
Fixes #60067.

#4 @SergeyBiryukov
4 months ago

Looks like I missed the props for @jayadevankbh here. Sorry for that! I have updated the props list for [57189] in the Core Props tool on make/core to correct that.

Note: See TracTickets for help on using tickets.