Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tareq Hasan

    (@tareq1988)

    Turn off attachments from the plugin settings.

    Toby

    (@tobyhawkins)

    The problem seems to be with the wpfu_get_attachments function in wpuf_functions.php.

    It appears that any pages or posts using the default template are running this function with $post_id not set, and the function returns every attachment in the wordpress installation.

    Wrapping the function content in

    if ( 0 != $post_id ) { }

    seems to do the trick, but I haven’t tested it fully, and I’m not sure if this breaks some other intended functionality.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display issue’ is closed to new replies.