Mirror (or header to) uploaded files from a remote production site on your local development copy. Saves the trouble of downloading a giant uploads directory without sacrificing the images that accompany content.
Thanks so much for taking this initiative, @theMikeD!
I've taken a look through these changes, made some adjustments, and refiled them as #17, which I'll submit for internal review in a moment. I wanted to first explain some of the changes I made to what was in this PR.
With a couple of exceptions, I removed the parameter and return type hints. Since we're not making any attempt with these changes to ensure that that the parameter or return types are being honored, I thought that adding those would increase the risk of what is otherwise a PR with no functional changes.
sfp_image_sizes_advanced() is hooked into intermediate_image_sizes_advanced. That hook seemed to have been removed by accident, but it explains where the function is used.
See #7 for an explanation of the version number.
Where the new docs mentioned that the purpose of something was unclear, I tried to find the answer and provide it. I figure that at least the plugin should know what it's doing 😄
Please tell me if you have any concerns about these changes. Thanks again!
Thanks so much for taking this initiative, @theMikeD!
I've taken a look through these changes, made some adjustments, and refiled them as #17, which I'll submit for internal review in a moment. I wanted to first explain some of the changes I made to what was in this PR.
@return void
from the docs, since those are not meant to be used outside of bundled themes per the core documentation standards.sfp_image_sizes_advanced()
is hooked intointermediate_image_sizes_advanced
. That hook seemed to have been removed by accident, but it explains where the function is used.Please tell me if you have any concerns about these changes. Thanks again!