• File /assets/ilenframework/assets/lib/utils.php
    Line 48

    In function IF_catch_that_image must be replace

    $output = preg_match_all(‘/<img.+src=[\'”]([^\'”]+)[\'”].*>/i’, $post_id->post_content, $matches);

    on

    $output = preg_match_all(‘/<img.+?src=[\'”]([^\'”]+)[\'”].*?>/i’, $post_id->post_content, $matches);

    Otherwise ALWAYS captured only the last image

    https://ww.wp.xz.cn/plugins/yuzo-related-post/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘IF_catch_that_image bug’ is closed to new replies.