Docs: Add a missing summary, description, and @since
version to the DocBlock for wp_redirect_admin_locations()
.
Introduced in [19880]. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@36010 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cb6348b7ce
commit
df5f99d5e3
@ -602,6 +602,12 @@ function redirect_guess_404_permalink() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Redirects a variety of shorthand URLs to the admin.
|
||||
*
|
||||
* If a user visits example.com/admin, they'll be redirected to /wp-admin.
|
||||
* Visiting /login redirects to /wp-login.php, and so on.
|
||||
*
|
||||
* @since 3.4.0
|
||||
*
|
||||
* @global WP_Rewrite $wp_rewrite
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user