Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
noblogs-composer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Noblogs
noblogs-composer
Commits
b8fe2322
Commit
b8fe2322
authored
4 years ago
by
lucha
Browse files
Options
Downloads
Patches
Plain Diff
first patch for wp
parent
144a8f89
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
composer.lock
+8
-0
8 additions, 0 deletions
composer.lock
composer.patches.json
+3
-0
3 additions, 0 deletions
composer.patches.json
patches/wp-upgrade-110.patch
+12
-0
12 additions, 0 deletions
patches/wp-upgrade-110.patch
with
23 additions
and
0 deletions
composer.lock
+
8
−
0
View file @
b8fe2322
...
...
@@ -236,6 +236,9 @@
"php": ">=5.6.20"
},
"type": "package",
"extra": {
"patches_applied": []
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0+"
...
...
@@ -276,6 +279,11 @@
"wordpress/core-implementation": "5.4.1"
},
"type": "wordpress-core",
"extra": {
"patches_applied": {
"Disable WP 1.2 upgrade": "patches/wp-upgrade-110.patch"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0-or-later"
...
...
This diff is collapsed.
Click to expand it.
composer.patches.json
+
3
−
0
View file @
b8fe2322
{
"patches"
:
{
"johnpbloch/wordpress-core"
:
{
"Disable WP 1.2 upgrade"
:
"patches/wp-upgrade-110.patch"
},
"wpackagist-plugin/disable-wordpress-updates"
:
{
"Disable automatic updates"
:
"patches/0001-Patched-Disable-Updates-to-run-checks-during-cron-jo.patch"
},
...
...
This diff is collapsed.
Click to expand it.
patches/wp-upgrade-110.patch
0 → 100644
+
12
−
0
View file @
b8fe2322
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.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment