Problem: When editing a child post with CRED, if I deselect the parent post and submit the form I can see that _wpcf_belongs_parentslug_id = 0 in the database. However, if I perform the same change in wp-admin, _wpcf_belongs_parentslug_id is completely deleted for this post. I have a conditional set up that tests whether or not the _wpcf_belongs_parentslug_id field exists, and it's failing because 0 is not the same as not exists.
Solution: For now, it's probably best to work around this discrepancy because relationships are changing in the very near future.
$clientprocess_id = get_post_meta( $quest_id, '_wpcf_belongs_clientprocess_id', true); if (isset($clientprocess_id) && $clientprocess_id > 0)...
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 5 replies, has 2 voices.
Last updated by 6 years, 6 months ago.
Assisted by: Christian Cox.