wp_safe_redirect [ WordPress Function ]
| Uses: | |
| Returns: |
|
| Defined at: |
|
Performs a safe (local) redirect, using wp_redirect().
Checks whether the $location is using an allowed host, if it has an absolute path. A plugin can therefore set or remove allowed host(s) to or from the list.
If the host is not allowed, then the redirect is to wp-admin on the siteurl instead. This prevents malicious redirects which redirect to another host, but only used in a few places.
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Function Reference/wp safe redirect « WordPress Codex
Description. Performs a safe (local) redirect, using wp_redirect(). Checks whether the $location is using an allowed host, if it has an absolute path. A plugin can ...
codex.wordpress.org - WordPress › Support » wp_safe_redirect
Hi. I installed 2.3 a few weeks ago, and everything went ok, but since a couple of days, I suddenly got the following problem. Everytime I go to wp-login.php and ...
wordpress.org - WordPress › Support » Tags — wp_safe_redirect
Forums. Username or Email Address Password (forgot?) Register · WordPress › Support » wp_safe_redirect. Tag: wp_safe_redirect Add New » ...
wordpress.org - PHPXRef 0.7 : WordPress : Function Reference: wp_safe_redirect()
Function and Method Cross Reference. wp_safe_redirect(). Defined at: /wp- includes/pluggable.php -> line 905. Referenced 39 times: ...
phpxref.ftwr.co.uk