Opened 7 years ago
Closed 7 years ago
#2620 closed defect (bug) (fixed)
Plugin Directory: Plugins with 'reserved' names are broken
Reported by: | Ipstenu | Owned by: | |
---|---|---|---|
Milestone: | Plugin Directory v3.0 | Priority: | high |
Component: | Plugin Directory | Keywords: | |
Cc: |
Description
If a plugin has wp-admin or wp-content as the first terms, they're broken right now :(
Examples:
Change History (8)
#2
@
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.
#4
@
7 years ago
Same for me (https://wordpress.org/plugins/wp-admin-ui/) :(
#5
@
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
@
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]
Note: See
TracTickets for help on using
tickets.
what to do to fix this?