Opened 7 years ago

Closed 7 years ago

#2620 closed defect (bug) (fixed)

Plugin Directory: Plugins with 'reserved' names are broken

Reported by: ipstenu's profile Ipstenu Owned by:
Milestone: Plugin Directory v3.0 Priority: high
Component: Plugin Directory Keywords:


If a plugin has wp-admin or wp-content as the first terms, they're broken right now :(


Change History (8)

#1 @wp-buy
7 years ago

what to do to fix this?

#2 @Ipstenu
7 years ago

  • Milestone changed from Plugin Directory v3 - Future to Plugin Directory v3.0

Wait until we fix it. It'll be as soon as we can.

#5 @dd32
7 years ago

This affects every plugin whose slug starts with /wp-admin, /wp-content, or /wp-includes. There's no need to post all of the examples of affected plugins.

This ticket was mentioned in Slack in #meta by tellyworth. View the logs.

7 years ago

#7 @SergeyBiryukov
7 years ago

  • Keywords needs-patch removed

All of the plugins mentioned above appear to be working now.

On my local install, however, they still triggered a 500 error due to one of the default Multisite rules in .htaccess:

RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]

Adding a slash after wp-(content|admin|includes) fixed that:

RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes)/.*) $2 [L]

#8 @dd32
7 years ago

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

This was indeed fixed awhile ago.

The meta environment appears to have incorrect rewrite rules, so I'd suggest opening a meta ticket to get those fixed.

Note: See TracTickets for help on using tickets.