[wp-trac] [WordPress Trac] #34028: wp_safe_redirect can return admin_url() when get_admin_url() is used

WordPress Trac noreply at wordpress.org
Tue Feb 2 16:46:17 UTC 2016


#34028: wp_safe_redirect can return admin_url() when get_admin_url() is used
-------------------------------------------------+-------------------------
 Reporter:  layotte                              |       Owner:
     Type:  defect (bug)                         |  aaroncampbell
 Priority:  normal                               |      Status:  reopened
Component:  General                              |   Milestone:  4.5
 Severity:  normal                               |     Version:
 Keywords:  needs-testing dev-feedback needs-    |  Resolution:
  patch                                          |     Focuses:
-------------------------------------------------+-------------------------
Changes (by ocean90):

 * keywords:  has-patch needs-testing dev-feedback => needs-testing dev-
     feedback needs-patch


Comment:

 Note that in multisite there is filter on `allowed_redirect_hosts` named
 `redirect_this_site()` which only returns the site URL.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34028#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list