#1569 closed enhancement (fixed)
Submit Plugin
Reported by: | obenland | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Plugin Directory | Keywords: | |
Cc: |
Description
Add the ability to upload a plugin, similar to how uploading themes works.
- Create an upload shortcode that can be used on any site.
- Run the uploaded files through basic checks.
- Add links to documentation for plugin authors.
Attachments (2)
Change History (15)
This ticket was mentioned in Slack in #meta by obenland. View the logs.
9 years ago
This ticket was mentioned in Slack in #meta by otto42. View the logs.
9 years ago
#5
@
9 years ago
1569.2.diff works with namespaces, uses post_excerpt
for short descriptions, and pending
for new plugins.
@dd32, any specific suggestions about prefixing zip filenames and making them not guessable?
#6
@
9 years ago
@obenland You could use something like wp_generate_password(8)
as the prefix for the zip.
I don't think the upload handler should include a lot of the logic you've got there (All the validation of the plugin should be in a separate class for example), but commit and iterate IMHO.
#8
@
9 years ago
r2625 uses the attachment GUID for the filename, which we want to deprecate; this needs to use get_attached_file( $zip_file->ID )
instead.
This ticket was mentioned in Slack in #meta by obenland. View the logs.
9 years ago
#12
in reply to:
↑ description
@
9 years ago
- Milestone Plugin Directory v3 - M1 deleted
- Resolution set to fixed
- Status changed from new to closed
- Run the uploaded files through basic checks.
- Add links to documentation for plugin authors.
These items will be tackled outside of this ticket. Plugin-check can be developed as a separate plugin and hooked in later, the user-facing makeup of the upload page will like change based on the IA findings.
@obenland Could we
Should we
pending
status for plugin requests?