WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 2 years ago

Last modified 2 years ago

#20179 closed defect (bug) (duplicate)

Redirect visitors from plugin admin URL to plugin URL if user not admin

Reported by: niallkennedy Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: WordPress.org site Keywords:
Focuses: Cc:

Description

The WordPress plugin directory features an "admin/" path relative to each plugin. If I am logged-in to WordPress.org and associated with the plugin slug I'll see a few helpful links and utilities. If I have no mapped relationship to the plugin I see the plugin homepage. I'd like to redirect visitors to "extend/plugins/{slug}/admin/" to "extend/plugins/{slug}/" if they do not have an admin relationship to the given plugin.

Example: I visit a plugin page either logged out or logged in without any association with the plugin.
http://wordpress.org/extend/plugins/akismet/admin/

Response should be a redirect to:
http://wordpress.org/extend/plugins/akismet/

Right now the response is the same content as the plugin homepage.

Change History (3)

comment:1 @SergeyBiryukov3 years ago

  • Milestone changed from Awaiting Review to WordPress.org

comment:2 @samuelsidler2 years ago

  • Milestone WordPress.org deleted
  • Status changed from new to closed

Migrated to #meta109.

comment:3 @SergeyBiryukov2 years ago

  • Resolution set to duplicate
Note: See TracTickets for help on using tickets.