WordPress.org

Make WordPress Core

Changeset 17810


Ignore:
Timestamp:
05/05/11 17:33:19 (4 years ago)
Author:
nacin
Message:

Use int for redirect code. props niallkennedy, fixes #17321.

File:
1 edited

Legend:

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

    r17771 r17810  
    35133513            return; 
    35143514 
    3515         wp_redirect($link, '301'); // Permanent redirect 
     3515        wp_redirect( $link, 301 ); // Permanent redirect 
    35163516        exit; 
    35173517    endif; 
Note: See TracChangeset for help on using the changeset viewer.