Timeline for Why WordPress not using WP_Filesystem
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 15, 2020 at 8:21 | history | edited | CommunityBot |
Commonmark migration
|
|
Mar 23, 2016 at 14:39 | comment | added | majick | no probs, certainly a tricky one to get one's head around, I'm glad my own struggle to do so has helped out. :-) | |
Mar 23, 2016 at 12:58 | comment | added | nonsensecreativity | @majick thanks for the exceptional explanation! I really understood the functionality now :) | |
Mar 23, 2016 at 12:56 | vote | accept | nonsensecreativity | ||
Mar 23, 2016 at 4:54 | comment | added | majick | No probs. I've updated my answer to include the quote, and expanded it so it covers the broader issues. I will admit to my bias in not wanting to use abstract classes unless really necessary. :-) | |
Mar 23, 2016 at 4:51 | history | edited | majick | CC BY-SA 3.0 |
fixed typo
|
Mar 22, 2016 at 17:40 | comment | added | nonsensecreativity | Thanks for giving an answer, I'm still digesting the answer and the comment by @MarkKaplun :) | |
Mar 22, 2016 at 17:10 | comment | added | Mark Kaplun | The context of the comment you linked to is of "is it smart to generate/edit file dynamically", the question here assumes it is smart.... When you assume that it is a smart thing to do overriding permissions becomes important ;) | |
Mar 22, 2016 at 17:00 | comment | added | majick | I agree I am "taking" it out of it's context, but I did read the entire page and all comments not to long ago to try to understand it as I needed to implement it for writing some theme files correctly, having not had real need for it before then and just used native PHP functions because that is what I knew (and still find much simpler.) So while I realize my answer is based on this necessity, it did make me realize that so is WP FIlesystem, for this is still the main problem that it solves. | |
Mar 22, 2016 at 16:10 | comment | added | Mark Kaplun | you are getting what otto said totally out of context | |
Mar 22, 2016 at 15:50 | comment | added | majick | I knew this would be a can of worms opened,,,. and that's why I provided the reference. But ah well. Anyway, just because you can use the WP Filesystem to do other things does not mean you have to. I stick by my statement, as this is not about read/write permissions being the problem but providing a solution for owner/group ones. When I say "real need" this is what I am referring to. If you can point to anything else it is needed for that cannot be done another way I'm all ears. And yes, my answer does specifically address the exact question. | |
Mar 22, 2016 at 15:40 | comment | added | Mark Kaplun | that is actually totally incorrect. Using the filesystem API you could have make those files non writable from the webserver and therefor more secure, or to say it differently you could have edited files which the webserver could not write to. | |
Mar 22, 2016 at 15:25 | history | answered | majick | CC BY-SA 3.0 |