Skip to content

Commit df5f99d

Browse files
committed
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
1 parent cb6348b commit df5f99d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/wp-includes/canonical.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,12 @@ function redirect_guess_404_permalink() {
602602
}
603603

604604
/**
605+
* Redirects a variety of shorthand URLs to the admin.
606+
*
607+
* If a user visits example.com/admin, they'll be redirected to /wp-admin.
608+
* Visiting /login redirects to /wp-login.php, and so on.
609+
*
610+
* @since 3.4.0
605611
*
606612
* @global WP_Rewrite $wp_rewrite
607613
*/

0 commit comments

Comments
 (0)