[wp-trac] [WordPress Trac] #50837: Plugins installed outside of the plugin browser are showing an undefined index error

WordPress Trac noreply at wordpress.org
Tue Aug 4 17:48:34 UTC 2020


#50837: Plugins installed outside of the plugin browser are showing an undefined
index error
--------------------------+-----------------------------
 Reporter:  sswebster     |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  5.5
Component:  Plugins       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Ah, it's because the `Theme_Upgrader` class has the string in the
 `::install_strings()` method, while `Plugin_Upgrader` has it in
 `::upgrade_strings()`.

 Moving the string to the correct method appears to resolve the issue.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50837#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list