Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#20056 closed defect (bug) (fixed)

mysql2date() Inline Documentation is wrong

Reported by: viper007bond's profile Viper007Bond Owned by: duck_'s profile duck_
Milestone: 3.4 Priority: lowest
Severity: minor Version: 3.3.1
Component: Inline Docs Keywords: has-patch commit
Focuses: 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 13 years ago.

Download all attachments as: .zip

Change History (5)

@Viper007Bond
13 years ago

#1 @Viper007Bond
13 years 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.

#2 @SergeyBiryukov
13 years ago

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

#3 @duck_
13 years 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.

#4 @duck_
13 years ago

In [19974]:

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

Note: See TracTickets for help on using tickets.