[wp-trac] [WordPress Trac] #50913: PHP 8.0: various compatibility fixes

WordPress Trac noreply at wordpress.org
Wed Sep 23 18:37:24 UTC 2020


#50913: PHP 8.0: various compatibility fixes
-------------------------------------------+-------------------------------
 Reporter:  jrf                            |       Owner:  SergeyBiryukov
     Type:  task (blessed)                 |      Status:  reviewing
 Priority:  normal                         |   Milestone:  5.6
Component:  General                        |     Version:
 Severity:  normal                         |  Resolution:
 Keywords:  php8 has-patch needs-dev-note  |     Focuses:  coding-standards
-------------------------------------------+-------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"49039" 49039]:
 {{{
 #!CommitTicketReference repository="" revision="49039"
 Build/Test Tools: Use trunk revision 2387243 of the WordPress Importer
 plugin.

 This revision includes a change to only call
 `libxml_disable_entity_loader()` in PHP < 8, in order for unit tests in
 the `import` group to pass on PHP 8.

 This function has been deprecated in PHP 8.0 because in libxml 2.9.0,
 external entity loading is disabled by default, so this function is no
 longer needed to protect against XXE attacks.

 Follow-up to [46542], [48789].

 Props jrf.
 See #50913.
 }}}

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


More information about the wp-trac mailing list