summaryrefslogtreecommitdiffstats
path: root/wp-admin/link-parse-opml.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--wp-admin/link-parse-opml.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/link-parse-opml.php b/wp-admin/link-parse-opml.php
index c0f02bd..f71b65f 100644
--- a/wp-admin/link-parse-opml.php
+++ b/wp-admin/link-parse-opml.php
@@ -78,7 +78,7 @@ function endElement( $parser, $tag_name ) { // phpcs:ignore WordPress.NamingConv
// Create an XML parser.
if ( ! function_exists( 'xml_parser_create' ) ) {
- trigger_error( __( "PHP's XML extension is not available. Please contact your hosting provider to enable PHP's XML extension." ) );
+ wp_trigger_error( '', __( "PHP's XML extension is not available. Please contact your hosting provider to enable PHP's XML extension." ) );
wp_die( __( "PHP's XML extension is not available. Please contact your hosting provider to enable PHP's XML extension." ) );
}