Making WordPress.org

Opened 2 weeks ago

#4377 new defect

Meta Environment: bin/import-plugin.php should be able to create Plugin Posts

Reported by: dd32 Owned by:
Milestone: Priority: normal
Component: Plugin Directory Keywords: has-patch


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)

4377.diff (3.5 KB) - added by dd32 2 weeks ago.

Download all attachments as: .zip

Change History (1)

2 weeks ago

Note: See TracTickets for help on using tickets.