WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#40077 closed enhancement (fixed)

calendar_week_mod() has wrong return type in docs

Reported by: dingo_d Owned by: SergeyBiryukov
Milestone: 4.8 Priority: normal
Severity: normal Version: 4.7.3
Component: Date/Time Keywords: has-patch
Focuses: docs Cc:

Description

There is a small typo in the entry for calendar_week_mod() function.

The return type is not an integer but a double.

Attachments (2)

40077.patch (418 bytes) - added by dingo_bastard 5 years ago.
Fixed the return type in the docblock
40077.2.patch (562 bytes) - added by dingo_bastard 5 years ago.
Fixed spacing inside the function

Download all attachments as: .zip

Change History (6)

@dingo_bastard
5 years ago

Fixed the return type in the docblock

#1 @dingo_bastard
5 years ago

  • Keywords has-patch added

@dingo_bastard
5 years ago

Fixed spacing inside the function

#2 @SergeyBiryukov
5 years ago

  • Milestone changed from Awaiting Review to 4.8

#3 @SergeyBiryukov
5 years ago

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

In 40254:

Docs: Correct @return type for calendar_week_mod().

Props dingo_bastard.
Fixes #40077.

#4 @dd32
3 years ago

  • Reporter changed from dingo_bastard to dingo_d
Note: See TracTickets for help on using tickets.