Ticket #42313: 42313.5.diff
| File 42313.5.diff, 1.2 KB (added by , 7 years ago) |
|---|
-
src/wp-includes/pluggable.php
1193 1193 * } 1194 1194 * 1195 1195 * @since 1.5.1 1196 * @since 5.0. 0The `$x_redirect_by` parameter was added.1196 * @since 5.0.3 The `$x_redirect_by` parameter was added. 1197 1197 * 1198 1198 * @global bool $is_IIS 1199 1199 * … … 1240 1240 * 1241 1241 * Allows applications to identify themselves when they're doing a redirect. 1242 1242 * 1243 * @since 5.0. 01243 * @since 5.0.3 1244 1244 * 1245 1245 * @param string $x_redirect_by The application doing the redirect. 1246 1246 * @param int $status Status code to use. … … 1331 1331 * } 1332 1332 * 1333 1333 * @since 2.3.0 1334 * @since 5.0. 0The return value from wp_redirect() is now passed on, and the `$x_redirect_by` parameter was added.1334 * @since 5.0.3 The return value from wp_redirect() is now passed on, and the `$x_redirect_by` parameter was added. 1335 1335 * 1336 1336 * @param string $location The path or URL to redirect to. 1337 1337 * @param int $status Optional. HTTP response status code to use. Default '302' (Moved Temporarily).