[wp-trac] [WordPress Trac] #17321: small change: pass int to wp_redirect
WordPress Trac
wp-trac at lists.automattic.com
Wed May 4 18:10:19 UTC 2011
#17321: small change: pass int to wp_redirect
--------------------------+-----------------------------
Reporter: niallkennedy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version:
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
wp_redirect expects an integer value for the "status" variable. The
wp_redirect function passes the variable to PHP's header() function, which
also expects an integer.
http://core.trac.wordpress.org/browser/tags/3.1.2/wp-
includes/pluggable.php#L873
Pass an integer value instead of a string in WP Query.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17321>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list