SOLVED: Dynamic data echo and cyrilic symbol

work {echo:urlencode(‘kjhkj kh kj’)}

does not work {echo:urlencode(‘авпвап варвар’)}

to fix this, I made such a function.

function post_title_url() {
	$field = bricks_render_dynamic_data( '{post_title}' );
	return urlencode($field);
}

function post_url_url() {
	$field = bricks_render_dynamic_data( '{post_url}' );
	return urlencode(rawurldecode($field));
}

I have the same problem, can you help me with my code?

Hi @clickfusion63 & @denjamins,

Thank you for your report. I was able to reproduce the issue with the Cyrillic script and have added this to our internal bug tracker.

1 Like

Hi guys,

We’ve fixed this issue in Bricks 1.9.4, now available as a one-click update in your WordPress Dashboard.
Changelog: Bricks 1.9.4 Changelog – Bricks

Please let us know if you are still experiencing issues.

Best regards,
timmse

1 Like