plugin updates

This commit is contained in:
Tony Volpe
2024-10-24 12:57:16 -04:00
parent 8217f0dbed
commit 5e040c9234
399 changed files with 3377 additions and 46318 deletions

View File

@@ -10,7 +10,7 @@
* WXR Parser that makes use of the SimpleXML PHP extension.
*/
class WXR_Parser_SimpleXML {
function parse( $file ) {
public function parse( $file ) {
$authors = array();
$posts = array();
$categories = array();
@@ -19,7 +19,7 @@ class WXR_Parser_SimpleXML {
$internal_errors = libxml_use_internal_errors( true );
$dom = new DOMDocument;
$dom = new DOMDocument();
$old_value = null;
if ( function_exists( 'libxml_disable_entity_loader' ) && PHP_VERSION_ID < 80000 ) {
$old_value = libxml_disable_entity_loader( true );