WordPress.org

Make WordPress Core

Changeset 33731


Ignore:
Timestamp:
08/25/2015 05:14:28 PM (3 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r33713 r33731  
    839839             * Filter the published time of the post.
    840840             *
    841              * If $mode equals 'excerpt', the published time and date are both displayed.
    842              * If $mode equals 'list' (default), the publish date is displayed, with the
     841             * If `$mode` equals 'excerpt', the published time and date are both displayed.
     842             * If `$mode` equals 'list' (default), the publish date is displayed, with the
    843843             * time and date together available as an abbreviation definition.
    844844             *
    845845             * @since 2.5.1
    846846             *
    847              * @param array   $t_time      The published time.
     847             * @param string  $t_time      The published time.
    848848             * @param WP_Post $post        Post object.
    849849             * @param string  $column_name The column name.
Note: See TracChangeset for help on using the changeset viewer.