How to prevent the gap changes when you update Wordpress plugin?
Is there a website for a client where directly in the plugin, I made one change - regarding the layout (add a variable and use for styling).
When upgrading the plugin - change of course demolished. Is there any way that this change is not lost? there are literally 5-6 lines, but they do need me style.
Maybe as somewhere to register that change is always there registered? ))
Yet, he decided that the prohibition to update the plugin.
If you know how to make my changes not communicated during the update prompt.
wallace.Anderson answered on March 19th 20 at 09:29
No way. To make your plugin based on need. But without updates
Jenifer.Ber answered on March 19th 20 at 09:31
Take Your upgrade outside of the plugin. If it allows plugin. Ie if its code has hooks that You can attach, then add your changes via the handler hook.
Maybe hooks is Higher and You'll have to get some other piece of code, then see that he was static (i.e. not related to the internal variables of the plugin)
If Your modification concerns styling, it is possible using js to do this without touching the plugin.