[wp-meta] [Making WordPress.org] #725: Redirect loop on Make when visiting wp-admin without a user role

Making WordPress.org noreply at wordpress.org
Tue Nov 11 19:05:43 UTC 2014


#725: Redirect loop on Make when visiting wp-admin without a user role
--------------------+-------------------------------------
Reporter:  iandunn  |      Owner:
    Type:  defect   |     Status:  new
Priority:  low      |  Component:  make.wordpress.org / P2
Keywords:           |
--------------------+-------------------------------------
 If a logged-in user attempts to visit /wp-admin on some Make sites that
 they don’t have access to, they get stuck in a redirect loop.

 e..g, requesting http://make.wordpress.org/training/wp-admin redirects to
 https://make.wordpress.org/training/wp-admin/edit.php?post_type=handbook
 and then fails.

 It doesn’t affect all of the sites, though. I’m seeing it on `/training`,
 `/docs`, `/core`, and `/meta`, but not on `/community`. I didn’t test
 beyond that, though.

 Dion [https://make.wordpress.org/systems/2014/11/07/redirect-loop-on-make-
 when-visiting-wp-admin-over-http-without-a-user-role/ pointed out] that
 `WPorg_Handbook->admin_page_access_denied()` is redirecting all denied
 requests to the handbook post type, which is also denied, causing the
 loop.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/725>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list