Make WordPress Core

Opened 10 years ago

Last modified 3 years ago

#29408 new defect (bug)

Symlinked themes and plugins should not be updatable

Reported by: greglone's profile GregLone Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.9
Component: Upgrade/Install Keywords:
Focuses: administration Cc:

Description

Hi.

Symlinked themes and plugins should not be updatable nor editable.
I don't know if I'm the only one it happens but every time I try to update a symlinked plugin, WP try to update it and... simply delete it >_< (yeah, I forget every time). I guess the problem is the same if I try to edit the plugin via the plugin editor.

Change History (5)

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


9 years ago

#2 @stevenkword
9 years ago

Rather than block updates all together, it would be more appropriate to fix the updating of plugins that are symlinked to prevent the deletion problem. The title of this ticket should be changed from "Symlinked themes and plugins should not be updatable" to Symlinked plugins should have a good update experience".

Consideration for plugins under version control should be taken into account. @SergeyBiryukov mention in slack that he believes we check for version control for background updates, but not for regular updates.

This ticket may also be of interest to @rmccue.

Last edited 9 years ago by stevenkword (previous) (diff)

#3 @pbiron
4 years ago

Related: #36710

#4 @bookdude13
4 years ago

With #36710 the symlinked plugin is not deleted on update anymore. It deletes the symlink and puts the updated plugin files directly in the plugin directory.

Now the only part of this that needs addressing is if updates for version-controlled plugins should be blocked.

This ticket was mentioned in Slack in #core-auto-updates by pbiron. View the logs.


3 years ago

Note: See TracTickets for help on using tickets.