[wp-trac] [WordPress Trac] #30827: wp_can_install_language_pack(): Direct access to $upgrader->fs_connect() can produce undefined index notices

WordPress Trac noreply at wordpress.org
Wed Jan 7 23:42:49 UTC 2015


#30827: wp_can_install_language_pack(): Direct access to $upgrader->fs_connect()
can produce undefined index notices
----------------------------+-----------------------------
 Reporter:  ocean90         |       Owner:  SergeyBiryukov
     Type:  defect (bug)    |      Status:  closed
 Priority:  low             |   Milestone:  4.1.1
Component:  Filesystem API  |     Version:  4.0
 Severity:  minor           |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31074"]:
 {{{
 #!CommitTicketReference repository="" revision="31074"
 Call the init() method for the upgrader in wp_can_install_language_pack()
 to avoid undefined index notices.

 props ocean90.
 fixes #30827 for trunk.
 }}}

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


More information about the wp-trac mailing list