Only create directory if really needed
-
Currently code runs: check_file_writeable on each admin request. This method causes running directory check even if user has cache disabled. This underneath causes get_filesystem_method to be called which will recreate single test file on wp-content directory.
In my opinion it should only be called once (while cache is enabled) or during save.
- The topic ‘Only create directory if really needed’ is closed to new replies.