Просмотр поста

.
Jesk
JohnCMS

Вот исправление

return preg_replace_callback('~\\[url=(.+?)\\](.+?)\\[/url\\]~', 'process_url', $var);