Make WordPress Core

Changeset 43026 for branches/4.9


Ignore:
Timestamp:
04/29/2018 10:36:39 PM (8 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct $id parameter type for old_slug_redirect_post_id filter.

Props dlh.
Merges [42722] to the 4.9 branch.
Fixes #43375.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-includes/query.php

    r42589 r43026  
    881881                 * @since 4.9.3
    882882                 *
    883                  * @param string $id The redirect post ID.
     883                 * @param int $id The redirect post ID.
    884884                 */
    885885                $id = apply_filters( 'old_slug_redirect_post_id', $id );
     
    963963 * @return int $id The Post ID.
    964964 */
    965 
    966965function _find_post_by_old_date( $post_type ) {
    967966        global $wpdb;
Note: See TracChangeset for help on using the changeset viewer.