WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#33540 closed defect (bug) (fixed)

Incorrect inline docs for post_date_column_time filter

Reported by: jjeaton Owned by: DrewAPicture
Milestone: 4.4 Priority: normal
Severity: minor Version: 4.4
Component: Posts, Post Types Keywords: has-patch
Focuses: docs Cc:
PR Number:

Description

The $t_time parameter in post_date_column_time is a string, not an array as stated in the docs.

Introduced in [27255].

Attachments (1)

33540.diff (615 bytes) - added by jjeaton 4 years ago.

Download all attachments as: .zip

Change History (4)

@jjeaton
4 years ago

#1 @jjeaton
4 years ago

  • Keywords has-patch added
  • Severity changed from normal to minor

Added patch 33540.diff.

#2 @DrewAPicture
4 years ago

  • Component changed from Administration to Posts, Post Types
  • Milestone changed from Awaiting Review to 4.4

Hi @jjeaton, welcome to Trac and thanks for the patch!

Good catch.

#3 @DrewAPicture
4 years ago

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

In 33731:

Docs: The type for the $t_time parameter in the post_date_column_time filter docs should be string, not array.

Props jjeaton
Fixes #33540.

Note: See TracTickets for help on using tickets.