WordPress.org

Make WordPress Core

Changeset 48635


Ignore:
Timestamp:
07/27/2020 11:36:27 AM (14 months ago)
Author:
SergeyBiryukov
Message:

Posts, Post Types: Pass correct variable to the get_lastpostdate filter.

Follow-up to [48634].

See #49572.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r48634 r48635  
    66356635     * @param string       $post_type    The post type to check.
    66366636     */
    6637     return apply_filters( 'get_lastpostdate', $date, $timezone, $post_type );
     6637    return apply_filters( 'get_lastpostdate', $lastpostdate, $timezone, $post_type );
    66386638}
    66396639
Note: See TracChangeset for help on using the changeset viewer.