WordPress.org

Make WordPress Core

Opened 16 months ago

Closed 16 months ago

Last modified 16 months ago

#20056 closed defect (bug) (fixed)

mysql2date() Inline Documentation is wrong

Reported by: Viper007Bond Owned by: duck_
Priority: lowest Milestone: 3.4
Component: Inline Docs Version: 3.3.1
Severity: minor Keywords: has-patch commit
Cc:

Description

In [10408], gmmktime() and mktime() calls were replaced by strtotime() calls. The function's documentation wasn't updated to reflect the changes however.

Attachments (1)

20056.patch (1.2 KB) - added by Viper007Bond 16 months ago.

Download all attachments as: .zip

Change History (5)

Viper007Bond16 months ago

comment:1 Viper007Bond16 months ago

  • Keywords has-patch added; needs-patch removed

Attached is a patch that just removes the incorrect documentation. If people want to figure out how the function works rather than what it does, then they can just look at the code. No need to document that.

comment:2 SergeyBiryukov16 months ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 3.4

comment:3 duck_16 months ago

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

In [19973]:

Remove obsolete mysql2date documentation. Props Viper007Bond. Fixes #20056.

comment:4 duck_16 months ago

In [19974]:

Overhaul mysql2date() documentation and parameter names. See #20056.

Note: See TracTickets for help on using tickets.