• Resolved Oleksandr

    (@track77)


    Hello!
    Thanks for great plugin.

    I found a small mistake in code
    file:”core-functions.php”

    apply_filters('usp_image_args', $args = array(
    		'post_type'   => 'attachment',
    		'post_parent' => get_the_ID(),
    		'numberposts' => -1,
    	)
    );

    It should be
    $args = `apply_filters(‘usp_image_args’, $args = array(
    ‘post_type’ => ‘attachment’,
    ‘post_parent’ => get_the_ID(),
    ‘numberposts’ => -1,
    )
    );`

    • This topic was modified 6 years, 11 months ago by Oleksandr.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Thanks for reporting, will get this fixed up in the next version of USP. Cheers

    Plugin Author Jeff Starr

    (@specialk)

    Just to follow up with this, the code has been updated in the next version of USP, should be available within the next few days. Thanks again for reporting.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Small mistake in code’ is closed to new replies.