Make WordPress Core

Ticket #39442: 39442.patch

File 39442.patch, 549 bytes (added by MikeSchinkel, 5 years ago)

Patch to include $id as a parameter

  • wp-includes/query.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    10351035                 *
    10361036                 * @param string $link The redirect URL.
    10371037                 */
    1038                 $link = apply_filters( 'old_slug_redirect_url', $link );
     1038                $link = apply_filters( 'old_slug_redirect_url', $link, $id );
    10391039
    10401040                if ( ! $link ) {
    10411041                        return;