Making WordPress.org

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#3443 closed defect (bug) (fixed)

Unable To Submit Plugins To WordPress.org

Reported by: varunms's profile varunms Owned by: ocean90's profile ocean90
Milestone: Priority: highest omg bbq
Component: Plugin Directory Keywords: has-patch
Cc:

Description

I have been trying to submit a new plugin in wordpress.org plugin directory for the past 5hrs -6hrs but not able to.

I keep getting ( Could not insert post into the database ) Error

Screenshot : http://s.svarun.in/kP

Attachments (1)

3443.patch (1.1 KB) - added by ocean90 7 years ago.

Download all attachments as: .zip

Change History (5)

#1 @ocean90
7 years ago

  • Keywords needs-patch added; dev-feedback removed

Caused by Plugin_Directory::filter_wp_insert_post_data() which enforces empty date values to be used for new plugin posts. The database error is Incorrect datetime value: '' for column 'post_modified' at row 1.

@ocean90
7 years ago

#2 @ocean90
7 years ago

  • Keywords has-patch added; needs-patch removed

#3 follow-up: @ocean90
7 years ago

  • Owner set to ocean90
  • Resolution set to fixed
  • Status changed from new to closed

In 6592:

Plugin Directory: Pass post_date and post_modified to wp_insert_post() when creating a new plugin post.

Prevents an invalid post_modified value due to the Plugin_Directory::filter_wp_insert_post_data() filter.

See #2605.
Fixes #3443.

#4 in reply to: ↑ 3 @varunms
7 years ago

So its fixed now ? can i try uploading a plugin ?

Replying to ocean90:

In 6592:

Plugin Directory: Pass post_date and post_modified to wp_insert_post() when creating a new plugin post.

Prevents an invalid post_modified value due to the Plugin_Directory::filter_wp_insert_post_data() filter.

See #2605.
Fixes #3443.

Fixes #3443.
}}}

Note: See TracTickets for help on using tickets.