[wp-trac] [WordPress Trac] #20944: Changing plugin filename causes Fatal error on automatic activation after update

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 8 20:56:03 UTC 2012


#20944: Changing plugin filename causes Fatal error on automatic activation after
update
--------------------------+------------------------------
 Reporter:  adiant        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Plugins       |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:10 azaozz]:
 > Renaming a plugin from FTP is a good way to (temporarily) disable it if
 the user suspects any problems.

 Yes, that's why the patch only handles the file name change inside a
 plugin directory. If the directory is renamed, the plugin would be
 deactivated. I agree that it might still be questionable though.

 Replying to [comment:11 scribu]:
 > The correct way to fix this would be to go through each blog in the
 network and update it's 'active_plugins' option right after a plugin
 update.

 Thanks, I'll look into that.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20944#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list