Changeset 46641 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 11/03/2019 10:08:56 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r46598 r46641 1216 1216 * @since 1.5.1 1217 1217 * @since 5.1.0 The `$x_redirect_by` parameter was added. 1218 * @since 5.4.0 On invalid status codes, wp_die() is called. 1218 1219 * 1219 1220 * @global bool $is_IIS … … 1249 1250 if ( ! $location ) { 1250 1251 return false; 1252 } 1253 1254 if ( 300 > $status || 399 < $status ) { 1255 wp_die( __( 'HTTP redirect status code must be a redirection code, 3xx.' ) ); 1251 1256 } 1252 1257
Note: See TracChangeset
for help on using the changeset viewer.