Opened 5 years ago
Closed 5 years ago
#4377 closed defect (bug) (fixed)
Meta Environment: bin/import-plugin.php should be able to create Plugin Posts
Reported by: | dd32 | Owned by: | dd32 |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Plugin Directory | Keywords: | has-patch |
Cc: |
Description
It's been pointed out that bin/import-plugin.php
in the Meta Environment can only import plugins which already exist in it's Database, this isn't terribly useful for testing development environments.
The attached patch adds a --create
flag which allows the script to create a post in the event it doesn't already exist.
This flag should never be set/used in production, as the posts should already exist there (from the upload process).
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
In 8728: