My deleted media exists jet

I founded the solution… all it’s a problem with a JS function called “slideUp” in my ajax.js (ajax’s functions for my front-end site) I don’t know the reason, but when I try to upload or a media file, WordPress try to execute this function. I change his name and the “$” for “jQuery” and now … Read more

limit the access to uploaded files

If people can guess the file download urls then they will still be able to get to them (e.g. if someone who has access shares the download urls out). To get around that kind of problem you typically need to set up a file handler script that will grab them from a protected directory that … Read more

Customize WordPress Upload Directory

Can’t test at the moment but I’d try rewriting the date to variable code from: $time = current_time( ‘mysql’ ); $y = substr( $time, 0, 4 ); $m = substr( $time, 5, 2 ); $subdirectory = “/$y/$m”; To: $y = date(‘Y’); $m = date(‘m’); $subdirectory = “https://wordpress.stackexchange.com/” . $y . “https://wordpress.stackexchange.com/” . $m;