Making WordPress.org

Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#2573 closed defect (invalid)

Developers entry for calendar_week_mod() wrong return type

Reported by: dingo_d Owned by:
Milestone: Priority: low
Component: Developer Hub Keywords:


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


The return type is not an integer but a double.

Change History (4)

#1 @netweb
5 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Thanks Denis,

The docs are automatically generated from the source code, if you create a new ticket at core.trac.wordpress.org they'll be updated (most likely) with the next release of WP

See https://core.trac.wordpress.org/browser/tags/4.7/src/wp-includes/general-template.php#L1863

#2 @netweb
5 years ago

p.s. It's a great opportunity to include a patch for that ticket if you've not yet had "props" for WordPress core 😀

#3 @dingo_bastard
5 years ago

I'll do that right away :D Wasn't aware of it. Thanks!

#4 @dd32
3 years ago

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