• Resolved sasharp

    (@sasharp)


    Hello,

    since update 3.2.0 .php file won’t copy form plugins directory, but they are using in frontend. So I had to do rollback to 3.1.9 and deactivate auto updates.

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

    (@patrickposner)

    Hey @sasharp,

    thanks for the report!

    We are indeed automatically excluding all files with the PHP extension now.
    There shouldn’t be a reason to have them on your static site, but there are always exceptions.

    That’s why we added a filter to the plugin to reenable it:

    add_filter( 'ss_excluded_by_default', function ( $excludes ) {
    unset( $excludes['.php'] );

    return $excludes;
    } );
    Thread Starter sasharp

    (@sasharp)

    Unfortunately

    add_filter( ‘ss_excluded_by_default’, function ( $excludes ) { unset( $excludes[‘.php’] ); return $excludes;} );

    has no effect for me. There are still no .php files in plugins directory.

    The files are index.php which are build into website as iframes.

    If a .php shouldn’t be accessible, there is 500 Error in 3.1.9, therefore for me makes this change no sense.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.