Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years 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: Focuses:

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 14 years ago.

Download all attachments as: .zip

Change History (5)

@Viper007Bond
14 years ago

#1 @Viper007Bond
14 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
14 years ago

  • Keywords commit added
  • Milestone Awaiting Review3.4

#3 @duck_
14 years ago

  • Owner set to duck_
  • Resolutionfixed
  • Status newclosed

In [19973]:

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

#4 @duck_
14 years ago

In [19974]:

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

Note: See TracTickets for help on using tickets.