WordPress.org

Make WordPress Core

Ticket #17321: query.diff

File query.diff, 359 bytes (added by niallkennedy, 7 years ago)

integer instead of string

  • wp-includes/query.php

     
    35123512                if ( !$link )
    35133513                        return;
    35143514
    3515                 wp_redirect($link, '301'); // Permanent redirect
     3515                wp_redirect( $link, 301 ); // Permanent redirect
    35163516                exit;
    35173517        endif;
    35183518}