Skip to content

Comments

Feature/multisite support#39

Open
hadamlenz wants to merge 3 commits intoWPManageNinja:masterfrom
hadamlenz:feature/multisite-support
Open

Feature/multisite support#39
hadamlenz wants to merge 3 commits intoWPManageNinja:masterfrom
hadamlenz:feature/multisite-support

Conversation

@hadamlenz
Copy link

add multisite support by using wp_get_upload_dir() so that code snippets are not shared across multisite sub-sites. Is backward compatible for single sites

@codeby
Copy link

codeby commented Sep 22, 2025

I totally agree. There is a great lack of Multisite support.

@hadamlenz
Copy link
Author

also, to add multisite support isn't that big of a deal, it seems

@Ericmuc
Copy link

Ericmuc commented Nov 18, 2025

Yes, that would be great if this feature could be added to the core in a future update.

@hadamlenz
Copy link
Author

i would try to resolve the conflicts, but would it matter? Will the dev consider this at all?

@mantis
Copy link
Contributor

mantis commented Feb 19, 2026

Hi,

I use this plugin in a multisite setup - albeit in my case, it's effectively for 4 sub-companies - so the shared snippets is useful - we've made snippets that we then use across all 4 sites. It would seem at first glance that this implementation would break that way of working? :)

@hadamlenz
Copy link
Author

we manage thousands of subsites on very large networks and we cannot have the snippets shared amongst them. maybe consider the other pull requests that gives us a bit more control on where those files go to in our system. The way you are saving files is not compatible with all hosts as noted in the other pull request.

@mantis
Copy link
Contributor

mantis commented Feb 19, 2026

and just to be clear - I contributed 1 patch to this plugin i.e. not the author.

The other patch you linked probably supports both use cases - although I do wonder if merging the two a bit and adding a config option for how to handle snippets for multisite would work even better

@techjewel
Copy link
Contributor

Thanks guys for making the pull request, I will review on the weekends.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants