WordPress.org

Make WordPress Core

Ticket #5840: lj-user-equals.patch

File lj-user-equals.patch, 145 bytes (added by novalis_dt, 7 years ago)

Fix the bug in wordpress/wp-admin/import/livejournal.php

Line 
161a62
2>                       $post_content = preg_replace('|<lj\s+user\s*=\s*["\']([\w-]+)["\']>|', '<a href="http://$1.livejournal.com/">$1</a>', $post_content);