[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:30:46 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:
-------------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"45366" 45366]:
 {{{
 #!CommitTicketReference repository="" revision="45366"
 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.
 Merges [45365] to the 5.2 branch.
 Fixes #47323.
 }}}

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


More information about the wp-trac mailing list