Revised wp-(un)protect scripts with support for files in wp-root parent directory