[wp-meta] [Making WordPress.org] #4377: Meta Environment: bin/import-plugin.php should be able to create Plugin Posts

Making WordPress.org noreply at wordpress.org
Wed Apr 10 04:04:30 UTC 2019


#4377: Meta Environment: bin/import-plugin.php should be able to create Plugin
Posts
------------------------------+-----------------------
 Reporter:  dd32              |      Owner:  (none)
     Type:  defect            |     Status:  new
 Priority:  normal            |  Milestone:
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).

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/4377>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list