[wp-trac] [WordPress Trac] #37122: Error out when xml_create_parser is not available

WordPress Trac noreply at wordpress.org
Mon Oct 24 04:44:09 UTC 2016


#37122: Error out when xml_create_parser is not available
--------------------------+---------------------
 Reporter:  kraftbj       |       Owner:  pento
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.7
Component:  XML-RPC       |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------
Changes (by pento):

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


Comment:

 In [changeset:"38883"]:
 {{{
 #!CommitTicketReference repository="" revision="38883"
 General: Check to see that the PHP-XML module is enabled before using XML
 functions.

 There are a handful of places where we don't check that the XML functions
 exist before we use them. Ubuntu's PHP 7 packages don't include PHP-XML by
 default, increasing the chance of this causing issues.

 Props kraftbj, markoheijnen.
 Fixes #37122.
 }}}

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


More information about the wp-trac mailing list