‘Status’ field not updating on Dashboard
-
Hi Kevon,
I have just started to use your plugin, and I love it! I have noticed, however, one annoying little issue with it: the abstract ‘Status’ field does not update on the Dashboard page. When I change, for instance, the status from ‘Pending’ to ‘Approved’, it still shows ‘Pending’ on the Dashboard page.
When I add:
<?php var_dump($abstract) ?>
to wpabstracts_dashboard.php and it returns:
object(stdClass)#4940 (16) { [“abstract_id”]=> string(1) “1” [“title”]=> string(16) “My Test Abstract” [“text”]=> string(61) “This is a fake abstract, just to test the WP Abstracts plugin” [“event”]=> string(1) “1” [“topic”]=> string(5) “Codes” [“status”]=> string(1) “1” [“author”]=> NULL [“author_email”]=> NULL [“author_affiliation”]=> NULL [“presenter”]=> string(6) “Thomas” [“presenter_email”]=> string(18) “tplanche@triumf.ca” [“presenter_preference”]=> string(29) “pre-recorded talk” [“keywords”]=> string(0) “” [“submit_by”]=> string(1) “2” [“submit_date”]=> string(19) “2020-07-01 00:31:59” [“modified_date”]=> NULL }When I do the same thing on the Edit Abstract page (wpabstracts_editAbstract.php) I get, for the very same abstract:
object(stdClass)#263 (16) { [“abstract_id”]=> string(1) “1” [“title”]=> string(16) “My Test Abstract” [“text”]=> string(61) “This is a fake abstract, just to test the WP Abstracts plugin” [“event”]=> string(1) “1” [“topic”]=> string(5) “Codes” [“status”]=> string(1) “3” [“author”]=> NULL [“author_email”]=> NULL [“author_affiliation”]=> NULL [“presenter”]=> string(6) “Thomas” [“presenter_email”]=> string(18) “tplanche@triumf.ca” [“presenter_preference”]=> string(29) “pre-recorded talk (recommend)” [“keywords”]=> string(0) “” [“submit_by”]=> string(1) “2” [“submit_date”]=> string(19) “2020-07-01 00:31:59” [“modified_date”]=> NULL }Note the difference: the first one shows “status”=”1”, and the second one shows “status”=”3”.
For info: I am running WordPress 5.4.2 with WP Abstracts Version 2.3.2.
The page I need help with: [log in to see the link]
- The topic ‘‘Status’ field not updating on Dashboard’ is closed to new replies.