This repository has been archived by the owner on Sep 2, 2021. It is now read-only.
Limitations of Mlp_Copy_Attachments::real_upload_base_url
#133
Labels
Milestone
The current implementation of
Mlp_Copy_Attachments::real_upload_base_url
respects only a strict usage of the WordPress Sub-Domain multisite setup where the sites URLs only differ in the host of the URL.As it is possible to set up multisite environments which maps URLs including segments of the path as base URL for a site, we should consider a more flexible implementation of this method. Furthermore the sanitizing of the URLs and paths should go into own classes to follow the single responsibility principle.
(Related WPSE Question)
The text was updated successfully, but these errors were encountered: