Is there a public repo?
-
Hello, I would like to add mu-plugin support to this as I am in dire need of it. I wanted to commit a PR for this but the github repo just points to here.
Do you have a public repo so people can assist?
Thanks, this plugin works great and has saved me a lot of time.
-
Hi,
sorry for somehow hijacking your thread, SoN9ne, but _mu_ in the sense of “must-use” or the former “multi-user/multi-site” ?
And if the latter, is TTfP (which is great!!) not multi-site capable at all, or are there only issues (in a one site/domain per mu-environment e.g. (where the mu network admin can trigger the plugin installation, but it’s installed in wp-content/plugins anyway), as imposed by some providers due to maintenance reasons)?
Thanks in advance, best!
hello @son9ne ,
there is only one repository: subversion on wordpress.org.
What do you want to do?
You want to implement “Must Use Plugins” ?Hello,
I am referring to the
mu-plugins
directory. This would be the MUST-USE plugins. This currently is not supported as there is no solid way to scan themu-plugins
due to WordPress not having any clear structure for it.I was able to add
mu-plugin
support and posted that on the github repo that just links here: https://github.com/marcinkazmierski/Polylang—theme-translation/issues/7 (note, link messes up when posting here, there should be 3-
between PolyLang and theme.My solution was to add a
Directory
to themu-plugins
file so that it knows which directory to scan inside themu-plugins
directory. Another option would be to scan all directories inside themu-plugins
directory but I personally didn’t like that approach, although it wouldn’t require theDirectory
parameter in the mu proxy loader file.The issue with the
mu-plugins
was that it cannot scan the directories as there is no scanner for it. TTfP also does not do anything with plugins placed there. My patch above adds scanning to TTfP but I still need to play more with PolyLang to ensure this works as expected. I will update this later once I get to complete that task. I can confirm that as far as TTfP goes, this is working as expected. I can see and manage mymu-plugins
translations now. The issue I have is that in WP-Admin, I am seeing the incorrect language for metaboxes in the MU Plugins but I believe this is a PolyLang issue and not relates to TTfP. I will update this later once I confirm the cause.I currently run a large site with WPML but performance is horrible so I am switching to PolyLang. My patch got this working but I had to go back to WPML for an update that needed to be added to PROD. I will be working back on PolyLang this week and next so I should be able to follow up after that.
I still am unsure of how or if PolyLang integrates into
mu-plugins
but this is a requirement for me. I will be pushing PR to add this functionality if it doesn’t exist yet.I use the
mu-plugins
for internal plugins that are required for our sites. These are plugins I or my team wrote and we’ve been usingmu-plugins
for over 10 years this way. I am aware that most WordPress users may never need to usemu-plugins
(or use them improperly) so this is why I don’t mind assisting with the development of this functionality.Either way, my patch I posted above will add MU Plugin support to TTfP. I just need to look into why I am experiencing issues with the translations in PolyLang but I don’t believe this has anything to do with TTfP.
Thanks for your replies.
To follow up about my issue:
I can confirm that my patch works as expected. My issue I experienced is due to a bug with WPML to Polylang that I am currently working on. MU Plugins are now properly translatable with my patch.
Actually, the issue I had was due to this plugin. I disabled this plugin and it works as expected.
Sorry for the delayed response, I was on vacation.
can we close the topic yes?
- The topic ‘Is there a public repo?’ is closed to new replies.