Deskripsyon
Editing a third-party plugin is sometimes the only way to get what a client needs. The problem comes with the next update: installing it overwrites your changes, and skipping it leaves security fixes behind.
Naroum Update Merge solves this with a three-way merge, the same approach version control tools use. It compares:
- the original version your changes were made on,
- your customized version, currently installed,
- the new version of the plugin.
Because it knows the original, it can tell what you changed from what the update changed:
- Files and lines changed only by you are kept automatically.
- Files and lines changed only by the update are applied automatically.
- Changes on both sides in different places are merged line by line.
- Only real conflicts, where both sides changed the same lines, are shown to you.
For each conflict you choose which code to keep: my version, the new version, both (in either order), or the original version. The tool only combines code that already exists in these versions; it does not let you type code. To adjust the result by hand, download the merged ZIP, edit it, and install it with Plugins > Add New > Upload Plugin.
Safe installation
- ZIP backup of the installed plugin before anything is replaced, downloadable from the tool.
- PHP syntax check of every file that comes from your version or from a merge. Installation is blocked on error.
- Installation is blocked if the plugin changed on the server since the analysis.
- The plugin folder is swapped with two renames on the same disk, with automatic rollback if the second one fails.
- The new release is saved as the reference for your next update, so you only need to provide the original version once.
- Prefer to install manually? Download the merged plugin as a ZIP instead.
Sources
- Original version: downloaded from WordPress.org (matching the installed version number), uploaded as a ZIP, or the reference saved by the previous merge.
- New version: latest release from WordPress.org, or uploaded as a ZIP (premium plugins, specific versions).
- No original version available? A two-way comparison lets you choose every difference, with a bulk action for the files you did not touch.
Who is it for?
Agencies and developers who maintain client sites with customized plugins and want a reviewable, reversible update process instead of redoing their changes by hand.
The tool is available under Plugins > Update Merge, to users who can install and update plugins. It is unavailable when DISALLOW_FILE_MODS is set. On multisite, it is in the network admin.
External services
This plugin connects to WordPress.org only when you choose a WordPress.org source in the analysis form. Nothing is sent automatically or in the background.
api.wordpress.org(Plugins API) is queried with the plugin slug to find the download link of the latest release.downloads.wordpress.orgis used to download the latest release, or the original release matching the installed version number.
No personal data is sent. Only the plugin slug and version number are part of the requests. WordPress.org Terms of Service and Privacy Policy.
Pag-install
- Install and activate the plugin through the Plugins screen, or upload the
naroum-update-mergefolder to/wp-content/plugins/. On multisite, network activate it. - Go to Plugins > Update Merge.
- Select the customized plugin, the source of the original version and the source of the new version, then click Analyze.
- Review the files to resolve, choose your blocks, then download the merged ZIP or install it on the site.
FAQ
-
Where are the working files stored?
-
In
wp-content/uploads/naroum-update-merge/: ongoing analyses (deleted after 3 days), backups and saved references. The folder is protected with an.htaccessfile and random folder names. On Nginx, add a rule denying access to this path. Everything is removed when you delete the plugin. -
What if my host requires FTP credentials to install plugins?
-
Direct installation is disabled in that case. Download the merged ZIP and install it from Plugins > Add New > Upload Plugin.
-
How do I restore a backup?
-
Download it from the Backups section of the tool, then upload it from Plugins > Add New > Upload Plugin and choose to replace the current version.
-
Does it handle single-file plugins?
-
No. Only plugins installed in their own folder are supported.
-
My changes were overwritten by an automatic update.
-
Disable automatic updates for customized plugins on the Plugins screen. After each installation, the tool reminds you to check this setting.
-
Can I limit the archive size?
-
Yes, with the
naroum_um_max_unzipped_bytesfilter (500 MB by default).
Mga Review
Wala pang reviews para sa plugin na ito.
Mga Contributor at Developer
Ang “Naroum Update Merge” ay open source software. Ang mga sumusunod na tao ay nag-ambag sa plugin na ito.
Mga ContributorIsalin ang “Naroum Update Merge” sa iyong wika.
Interesado sa development?
Tingnan ang code, i-check ang SVN repository, o mag-subscribe sa development log sa pamamagitan ng RSS.
Changelog
1.0.0
- Initial release.