This will stop automatic upgrading of Osclass, plugins, themes, and languages as the auto-upgrade function makes a call to osclass.org.
Open the following file:
Locate this code:
Replace it with this code:
This function ("osc_do_auto_upgrade();") first checks for the latest version of Osclass by making a request to osclass.org. After that it updates the plugins, themes and languages.
We commented this function instead of removing as you may wish to modify it to update your plugins, themes and languages without updating Osclass.
osc_do_auto_upgrade()
is located in utils.php.
You may think this change fits better in "Remove Market from admin frontend." section, but featured products make a call to Osclass to get the product list.
Open the following file:
Locate and remove this code:
Open the following file:
Remove each one of this blocks of code:
This part of the guide helps you remove all calls and requests to Osclass and Osclass Market.
This is the first and most important part of "Removing Market" guide.
Unlike the second part ("Remove Market from admin frontend"), this one is a must, as it will stop your site from requesting data from Osclass Market.
Updated 16/09/2019 to fix auto update for older plugins (Google Maps and Google Analytics).
Scroll down to see updated part (between warning messages).
Open the following file:
Locate this code:
Replace it with this code:
Locate this code:
Replace it with this code:
Locate this code:
Replace it with this code:
Locate this code:
Replace it with this code:
Locate this code:
Replace it with this code:
Note! The upper replacement must be done on all occurrences of the code (it appears 2 times).
Locate this code:
Replace it with this code:
Open the following file:
Locate this code:
Replace it with this code:
Locate this code:
Replace it with this code: