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
13221947
Commit
13221947
authored
8 months ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused core patch
parent
a30acab7
Branches
Branches containing commit
No related tags found
1 merge request
!391
Switch to roots/wordpress
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
patches/core/0052-fix-ssl-wp-content-url.patch
+0
-28
0 additions, 28 deletions
patches/core/0052-fix-ssl-wp-content-url.patch
with
0 additions
and
28 deletions
patches/core/0052-fix-ssl-wp-content-url.patch
deleted
100644 → 0
+
0
−
28
View file @
a30acab7
From f0771c4a91f3d6526aaebff757c0a82cb4d938c9 Mon Sep 17 00:00:00 2001
From: lechuck <l3chuck@autistici.org>
Date: Fri, 18 Apr 2014 19:14:16 +0000
Subject: [PATCH 052/229] Initial commit
Note: (lucha 2020-07-04) I think this is obsolete and could be removed.
Note: (lucha 2021-02-21) The constant is only used by a single theme, elegant-grunge
diff --git a/wp-includes/default-constants.php b/wp-includes/default-constants.php
index 98c8e483..6f6803f4 100644
--- a/wp-includes/default-constants.php
+++ b/wp-includes/default-constants.php
@@ -148,9 +148,10 @@
function wp_initial_constants() {
* @since 3.0.0
*/
function wp_plugin_directory_constants() {
- if ( ! defined( 'WP_CONTENT_URL' ) ) {
- define( 'WP_CONTENT_URL', get_option( 'siteurl' ) . '/wp-content' ); // Full URL - WP_CONTENT_DIR is defined further up.
- }
+ // patched by lesion [http://core.trac.wordpress.org/ticket/13941]
+ if ( !defined('WP_CONTENT_URL') )
+ define( 'WP_CONTENT_URL', site_url('wp-content' ) );
+ #define( 'WP_CONTENT_URL', get_option('siteurl') . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up
/**
* Allows for the plugins directory to be moved from the default location.
--
2.17.1
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