Skip to content
Snippets Groups Projects
Commit b8fe2322 authored by lucha's avatar lucha
Browse files

first patch for wp

parent 144a8f89
No related branches found
No related tags found
No related merge requests found
...@@ -236,6 +236,9 @@ ...@@ -236,6 +236,9 @@
"php": ">=5.6.20" "php": ">=5.6.20"
}, },
"type": "package", "type": "package",
"extra": {
"patches_applied": []
},
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
"GPL-2.0+" "GPL-2.0+"
...@@ -276,6 +279,11 @@ ...@@ -276,6 +279,11 @@
"wordpress/core-implementation": "5.4.1" "wordpress/core-implementation": "5.4.1"
}, },
"type": "wordpress-core", "type": "wordpress-core",
"extra": {
"patches_applied": {
"Disable WP 1.2 upgrade": "patches/wp-upgrade-110.patch"
}
},
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
"GPL-2.0-or-later" "GPL-2.0-or-later"
......
{ {
"patches": { "patches": {
"johnpbloch/wordpress-core": {
"Disable WP 1.2 upgrade": "patches/wp-upgrade-110.patch"
},
"wpackagist-plugin/disable-wordpress-updates": { "wpackagist-plugin/disable-wordpress-updates": {
"Disable automatic updates": "patches/0001-Patched-Disable-Updates-to-run-checks-during-cron-jo.patch" "Disable automatic updates": "patches/0001-Patched-Disable-Updates-to-run-checks-during-cron-jo.patch"
}, },
......
diff --git a/wp-admin/includes/upgrade.php b/wp-admin/includes/upgrade.php
index 26614c9..eb5c04e 100644
--- a/wp-admin/includes/upgrade.php
+++ b/wp-admin/includes/upgrade.php
@@ -937,6 +937,7 @@ function upgrade_101() {
* @global wpdb $wpdb WordPress database abstraction object.
*/
function upgrade_110() {
+ return;
global $wpdb;
// Set user_nicename.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment