#17321 closed defect (bug) (fixed)
small change: pass int to wp_redirect
Reported by: | niallkennedy | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.2 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Query | Keywords: | has-patch |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
integer instead of string