Make WordPress Core

Opened 7 years ago

Closed 9 months ago

#37101 closed enhancement (invalid)

Linux symbolic link support for wordpress [GITHUB PULL REQUEST #219]

Reported by: ole1986's profile ole1986 Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.5.2
Component: Administration Keywords: reporter-feedback
Focuses: multisite Cc:

Description

I was searching for a solution to allow symbolic links in wordpress core files/folders
The only resource I found was this article

http://www.htmlgraphic.com/symlinking-wordpress-core-files-wordpress-skeleton/

which is not satisfying at all IMO

So, I came up with this pull request which slightly changes the core files
To achive the symbolic links with linux you can do the following

# create a new wordpress instance and change directory
mkdir wordpress-symlink && cd wordpress-symlink
# Copy the wp-content folder from global storage where "latest" version of wordpress is located
cp -R /var/lib/wordpress/wp-content ./
# create symlinks for all other files/folders into current folder (wordpress-symlink)
ln -s /var/lib/wordpress/* ./

Of course an important setting is to disable automatic updates in wp-config.php (once created)

define( 'AUTOMATIC_UPDATER_DISABLED', true );`

PingBack: https://github.com/WordPress/WordPress/pull/219

Change History (3)

This ticket was mentioned in Slack in #core by peterwilsoncc. View the logs.


2 years ago

#2 @peterwilsoncc
2 years ago

  • Keywords reporter-feedback added

This was discussed in a triage session today, I'm sorry for the late reply.

Are you able to clarify what you'd like to symlink, there have been discussion in the past about symlinked plugins (see #22802 for example) but I think you are referring to something else.

As a bit of time has passed, is this still something you'd like to see?

#3 @desrosj
9 months ago

  • Resolution set to invalid
  • Status changed from new to closed

I'm going to close this one out since clarifying information has not been shared.

If someone comes across this ticket and still feels it's a worthwhile enhancement, feel free to reopen with more details.

Note: See TracTickets for help on using tickets.