Title: Type issue
Last modified: October 17, 2023

---

# Type issue

 *  Resolved [merlijnvanlent](https://wordpress.org/support/users/merlijnvanlent/)
 * (@merlijnvanlent)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/type-issue/)
 * Now that we are in a new area of PHP with more and more static types. 
   There 
   are 2 function calls to `wp_transition_post_status` which wants 3 parameters 
   new status, old status and a post. Of which the last one should be a post Object.
   However, there is one call that passes a post array instead of a WP_Post class
   instance. (edcal.php:1129)Would it be possible to change that? Thanks 🙂

Viewing 1 replies (of 1 total)

 *  Plugin Author [Mej de Castro](https://wordpress.org/support/users/mej/)
 * (@mej)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/type-issue/#post-17132859)
 * Hi [@merlijnvanlent](https://wordpress.org/support/users/merlijnvanlent/) , Our
   dev team will check it out. I’ll keep you posted.
 * Thank you,
   Mej

Viewing 1 replies (of 1 total)

The topic ‘Type issue’ is closed to new replies.

 * ![](https://ps.w.org/editorial-calendar/assets/icon-256x256.gif?rev=3100983)
 * [Editorial Calendar](https://wordpress.org/plugins/editorial-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/editorial-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/editorial-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/editorial-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/editorial-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/editorial-calendar/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Mej de Castro](https://wordpress.org/support/users/mej/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/type-issue/#post-17132859)
 * Status: resolved