Guys, many of you know that a nulled WP theme or plugin will work great but all the thoughts go with "how to do with the updates". It is known that some plugins are updated more frequently than others and if the modifications made to null it are many, it will be a headache for many to follow up with the updates.
In my opinion, the best way to make this easier is the way I am doing it every time there is an update. It is as follows:
First of all, you will need two things:
1. A text comparison software. I use "Beyond Compare" (for PC). It is about $60 but there are free alternatives that do similar work. Always use software installed in your computer. Never trust online services for any file. You know that they will collect ALL files submitted for comparison or any other service (text, pictures, etc.) and use them as they see fit. A free text comparison software alternative for Windows is WinMerge.
2. You will obviously need a copy of the updated theme or plugin. You can get it from this forum or any other, or a website that offers free updates.
Ok, what I do is create a "nuller" folder which I name "__nuller" (you can name it anything you'd like) and in that folder, I put all the modified files in the same hierarchy order as in the theme or plugin. All the other folders and files are discarded for the purpose of this nuller folder. So if the modifications were done in only 3 files for example, in the "__nuller" folder will be those 3 files under the proper folder names and subfolders.
This way, the "__nuller" folder becomes a template for nulling future updates, not needing to reinvent the wheel. What you do is use your file comparison software, load the folder of the newly updated plugin or theme on one side (I use the left side), and the appropriate "__nuller" folder on the other side (I use the right side for the nuller) and run a comparison of the whole thing.
I cannot say how other software behaves, but Beyond Compare puts in red all the lines that are different in a given file. And here is where the marking "//#######" comes into play. You might see many red lines in your comparison, outlining all the differences, which are all the changes done in the update, but only the red lines that have the "//#######" marking are the ones to work with.
If the line is red and it is NOT marked with "//#######", then it is part of the update and you are good to transfer it to the "__nuller" side so in the next update, that line, if it is not updated by the developer, will not be red, hence lowering the work to be done. If the red line has the "//#######" marking, then that one is transferred from the nuller side to the updated side.
Tóm lại, tôi tải thư mục mới ở bên trái, sau đó tải thư mục "__nuller" ở bên phải. Tất cả các dòng màu đỏ có "//#######" được di chuyển từ phải sang trái, và tất cả các dòng màu đỏ KHÔNG CÓ "//######" được di chuyển từ trái sang phải. Khi bạn hoàn tất, bạn đã có một bản cập nhật đã được null.
Bạn cũng có thể xem những thay đổi đã được thực hiện trước đó nếu bản sao bạn nhận được được cho là đã bị "hủy" bởi người khác, vì họ sẽ nhắm vào những khu vực tương tự.
Ví dụ về một dòng là một phần của bản cập nhật và không liên quan gì đến quá trình hủy bỏ. Nó sẽ được di chuyển sang bên phải:
View attachment 407265
Ví dụ về một dòng là một phần của quá trình hủy. Nó sẽ được di chuyển sang bên trái:
View attachment 407266
Khi bạn đã thành thạo quy trình, rất đơn giản vì phần mềm thực hiện phần khó là di chuyển và thay thế để tránh sai sót, bạn sẽ chỉ cần mẫu thư mục "__nuller" để vô hiệu hóa sản phẩm và các bản cập nhật của mình. Thư mục "__nuller" khác nhau đối với mỗi chủ đề hoặc plugin và tôi có thể cung cấp nó sau khi vô hiệu hóa chủ đề hoặc plugin. Tôi đề xuất bạn lưu trữ nó trong một thư mục chứa thư mục chủ đề hoặc plugin và thư mục nuller. Đảm bảo rằng bạn không bao giờ tải nhầm thư mục vô hiệu hóa lên máy chủ của mình vì nó không phải là một chủ đề hoặc plugin hoàn chỉnh.
Ví dụ, tôi lưu trữ toàn bộ nội dung trong một thư mục có mô tả như sau:
View attachment 407267
Và bên trong thư mục là thư mục plugin có thư mục nuller, được sử dụng khi có bản cập nhật. Thư mục này chỉ để sắp xếp nhưng bạn có thể lưu trữ theo bất kỳ cách nào bạn muốn miễn là bạn biết thư mục nuller nào thuộc về chủ đề hoặc plugin nào.
View attachment 407268