Make WordPress Core

Changeset 42722


Ignore:
Timestamp:
02/21/2018 09:34:33 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct $id parameter type for old_slug_redirect_post_id filter.

Props dlh.
Fixes #43375.

File:
1 edited

Legend:

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

    r42710 r42722  
    983983         * @since 4.9.3
    984984         *
    985          * @param string $id The redirect post ID.
     985         * @param int $id The redirect post ID.
    986986         */
    987987        $id = apply_filters( 'old_slug_redirect_post_id', $id );
     
    10651065 * @return int $id The Post ID.
    10661066 */
    1067 
    10681067function _find_post_by_old_date( $post_type ) {
    10691068    global $wpdb;
Note: See TracChangeset for help on using the changeset viewer.