Resolved
Resolved in: 1.9.4
There is an issue with certain scenarios where a custom shortcode is used and the CRED form is sent using AJAX.
Let’s consider the following example where we add a custom shortcode to a CRED Post Form that is submitted using AJAX. This custom shortcode shows the ID of a current page holding the form:
[get_post_id] function get_post_id(){ $my_id = get_the_ID(); return $my_id; } add_shortcode('get_post_id', 'get_post_id');
WordPress will “explode” the shortcode in the CRED form with the correct page ID, but on submitting it shows a wrong ID.
The fix for this issue will be included in the next CRED release.