Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#33540 closed defect (bug) (fixed)

Incorrect inline docs for post_date_column_time filter

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

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

Download all attachments as: .zip

Change History (4)

@jjeaton
10 years ago

#1 @jjeaton
10 years ago

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

Added patch 33540.diff.

#2 @DrewAPicture
10 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
10 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.