Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wxr-parser-large-file. #140

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Pinking shears
obenland committed Dec 2, 2022
commit 45524027b6e1c330c5349cacfb30bfea686cb70e
2 changes: 1 addition & 1 deletion src/parsers/class-wxr-parser.php
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ function parse( $file ) {
// just for testing now!
$parser = new WXR_Parser_Large_File( $file, 'WXR_Parser_SimpleXML' );
return $parser;

// Attempt to use proper XML parsers first
if ( extension_loaded( 'simplexml' ) ) {
$parser = new WXR_Parser_SimpleXML;