Viewing 4 replies - 1 through 4 (of 4 total)
  • @rob JH

    Yes, simply exclude the wp-content/uploads/gravity_forms/RANDOM-STRING/tmp folder from the File Change Detection.

    dwinden

    Thread Starter Rob

    (@robmuzo)

    @dwinden

    I don’t want to match the whole folder just the index.html as some stuff uploaded via gravity could potentially be dangerous as has been in the past.

    Also this is multiple folders auto generated with different strings adding all manually across the many sites I manage is no good.

    I’m asking if something like this will work in the exclude paths:

    wp-content/uploads/gravity_forms/(.*?)/tmp/index.html

    to match something like these 2 index.html files:

    wp-content/uploads/gravity_forms/12345abc/tmp/index.html
    wp-content/uploads/gravity_forms/9876zxy/tmp/index.html

    @rob JH

    Ahh right, get it now.

    Hi is it possible to do regex in the file change detection paths?

    No this is currently not supported.
    Would be a great enhancement ??

    dwinden

    Thread Starter Rob

    (@robmuzo)

    OK no worries thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Regex in file change detection’ is closed to new replies.