opencredit / badgeos

BadgeOS is a plugin to WordPress that allows you to easily create badges and set up the steps and achievements users take to earn them. Badges are Mozilla OBI compatible and sharable via Credly.
http://www.badgeos.org
GNU Affero General Public License v3.0
93 stars 64 forks source link

Attachments are not showing at the bottom of the Edit Submission screen. #617

Closed ckaklamanos closed 6 years ago

ckaklamanos commented 6 years ago

The attachments are not showing at the bottom of the screen when the admin is on the Edit Submission screen.

screenshot-dev courseconcierge com-2018-02-22-15-31-18

This is because of this line of code

https://github.com/opencredit/badgeos/blob/29ef216814ccd53b3f4d6f14036d041efb3441bb/includes/submission-actions.php#L1735

In this line, the attachment post status is queried as "draft" or "publish", however, the actual post status in the DB is "inherit".

rahilwazir commented 6 years ago

This is fixed https://github.com/opencredit/badgeos/pull/615. Will be available at 1.4.11, hoping for next week.

rahilwazir commented 6 years ago

We just released 1.4.11, please test and report it back here. Closing for now.

Note: You may have to re-submit attachment to the submission.