[wp-trac] [WordPress Trac] #47323: Upgrading from WordPress 5.1 to 5.2.1 generates a fatal error

WordPress Trac noreply at wordpress.org
Mon May 20 14:28:11 UTC 2019


#47323: Upgrading from WordPress 5.1 to 5.2.1 generates a fatal error
-------------------------------------------+-----------------------------
 Reporter:  imath                          |       Owner:  SergeyBiryukov
     Type:  defect (bug)                   |      Status:  closed
 Priority:  normal                         |   Milestone:  5.2.1
Component:  Upgrade/Install                |     Version:  5.2
 Severity:  blocker                        |  Resolution:  fixed
 Keywords:  has-patch commit dev-reviewed  |     Focuses:
-------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45365" 45365]:
 {{{
 #!CommitTicketReference repository="" revision="45365"
 Upgrade/Install: As a follow-up to [45357], when linking to Update PHP
 support page in error messages, check if `wp_get_update_php_url()` and
 `wp_get_update_php_annotation()` exist.

 `wp-admin/includes/update-core.php` runs in the context of the previous
 WordPress version. Any calls to newly introduced functions there need to
 be checked via `function_exists()`.

 Reviewed by desrosj, earnjam, SergeyBiryukov.

 Props dd32, imath.
 Fixes #47323.
 }}}

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


More information about the wp-trac mailing list