Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#33540 closed defect (bug) (fixed)

Incorrect inline docs for post_date_column_time filter

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

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

Download all attachments as: .zip

Change History (4)

@jjeaton
11 years ago

#1 @jjeaton
11 years ago

  • Keywords has-patch added
  • Severity normalminor

Added patch 33540.diff.

#2 @DrewAPicture
11 years ago

  • Component AdministrationPosts, Post Types
  • Milestone Awaiting Review4.4

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

Good catch.

#3 @DrewAPicture
11 years ago

  • Owner set to DrewAPicture
  • Resolutionfixed
  • Status newclosed

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.