Support

Account

Home Forums Front-end Issues 'return' => '%post_url%' No longer working!

Solved

'return' => '%post_url%' No longer working!

  • After upgrade to the 5.1.7 version it stopped working. No longer redirecting. In addition, (‘submit_value’) is not more showing my values.
    Someone is with this problem?

    <?php if ( is_user_logged_in() ) : ?>
    			<?php /* The loop */ ?>
    			<?php while ( have_posts() ) : the_post(); ?>
    				<?php acf_form(array(
    					'post_id'	=> $post_id,
    					'post_title'	=> false,
    					'return' => '%post_url%',
    					'submit_value'	=> 'Atualizar Anuncio'
    				)); ?>
    			<?php endwhile; ?>
  • Hi @marcio Rocon

    I’ve just tested your code and can confirm it is working correctly with ACF 5.1.7.

    It is strange that the submit button is not displaying your custom value either…

    Are you able to debug the acf_form function found in the api/api-template.php file on line 1248.

    try printing out the variables and find out where the issue is

    Thanks
    E

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.