Making WordPress.org

Opened 11 years ago

Closed 9 years ago

#109 closed defect (bug) (fixed)

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

Reported by: niallkennedy's profile niallkennedy Owned by: coffee2code's profile coffee2code
Milestone: Priority: lowest
Component: Plugin Directory Keywords:
Cc:

Description

Migrating from #wp20179:

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)

This ticket was mentioned in IRC in #wordpress-meta by sams. View the logs.


10 years ago

#2 @samuelsidler
9 years ago

  • Owner set to coffee2code
  • Status changed from new to assigned

@coffee2code, can you look at this?

#3 @coffee2code
9 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in [9999-dotorg].

Note: See TracTickets for help on using tickets.