WP_Filesystem does not work everytime properly. Sometimes it just does not write the files, but if the native PHP function put_file_contents is used, then all is OK. I don’t know why we should use WP_Filesystem when we can do operations with the native functions provided by PHP?!
Any good PHP programmer who has been working with another CMS’s or PHP Frameworks, know how to manipulate and secure the files in PHP without helpers.Just my 2 cents.
The problem is security on shared hosting systems. You are creating a WP framework that will be used by a lot of people. Use the WP API as much as possible and let WordPress do the heavy lifting.
WP_Filesystemis preferred, but as a user stated above, the use of
fclose()is not prohibited yet.
PHP short tags are not allowed A: Yes i know It’s a plugin-check bug, there is a string containing `<?` not a real php short tag http://screencast.com/t/vTx8rQXV8k6v
We tried to make `WP_Filesystem` work with `wp-content/uploads` without asking user ftp credentials and without hacks (forcing it to prevent asking ftp credentials), but without success.
Have you tried
request_filesystem_credentials() ? http://codex.wordpress.org/Function_Reference/request_filesystem_credentials
Otto wrote a detailed tutorial about it: http://ottopress.com/2011/tutorial-using-the-wp_filesystem/
Ivor saidHi Ivor, I was told recently that using images with extended licenses (whether from Pixabay or another Stock site) could result in a theme being rejected. Is that true? I wasn’t clear from the articles and posts I’ve read. Some people say it’s fine, while others say not to. Any clarification? Thanks!
There you go:* http://notes.envato.com/authors/watermarked-previews/ * http://notes.envato.com/general/using-photos-of-people-and-celebrities-in-items/ * http://notes.envato.com/authors/using-photodune-images-in-your-marketplace-files/ * http://notes.envato.com/general/use-of-assets-in-previews-on-envato-marketplaces/ * http://notes.envato.com/general/important-envato-content-policy-and-portfolio-review/
You need to check the license first, if their license allow commercial usage then you’re good to go but remember that including these images in the downloadable file is not allowed.
@jezh – Today we want to finish with Dev Docs and Scratch Theme. After this i will write an email to Envato. We created a Plugin review with Plugin Check https://ps.w.org/unyson/trunk/plugin-check-info.md 50% of errors are Plugin Check Bugs like WARNING: Found PHP short tags in file <? another 50% is functions that cant be changed with others and a lot of popular plugin use it in the same way. Thanks
PHP short tags are not allowed and your framework must not generate any Warning or Required notices.
So can someone tell me STRONGER reason why SOME themes ARE accepted some like mines are NOT. I mean seriously…
I’ve deleted few hours ago StarTravel PSD template, will do rest soon if Envato Support will not take action on this situation. Non sense at all. 100500 multi-purpose themes accepted, mine only 2 PAYDAY themes on WHOLE marketplace with nice sales and customers interest is not accepted.I agree with Finaly-Destiny that mine design maybe not that clean or totally cool, but it was accepted here as PSD. So what did I did as author wrong? If that would be a copy of mine previous why it was accepted even as PSD?
I would suggest to contact Support and talk with your reviewer. I watched the history of your items and they are full of detailed feedback. You just need to improve your designs.
Please take your time to read these articles too:
Once you get an iPad you’ll never go back. Go for it, don’t think about it.
If you’re like me who likes to read/netflix-ing in the bathtub you should get this water/dirty/snow proof case – http://www.amazon.com/Lifeproof-nuud-Case-iPad-mini/dp/B00GFGF4MW/
at the moment authors are using plugins as a way to sell their item “comes with 20 plugins with $2000” or “save $2000 on codecanyon plugins”....
at the end of the day it’s only hurting the marketplace, it’s the place where you can buy $2k worth of plugins for $58 which I can then use in any other site (there is nothing in place to stop me).Envato should be about quality items and not how much stuff we can buy to upload to a theme.
That’s a good point Gareth, I assure you that I will raise this concern to the Team.