Skip to content

Commit 8a50b6d

Browse files
committed
Media: Add a doc comment for the XML2array() method in getID3.
This is a test commit to ensure the 5.2 branch is operating correctly on the SVN server. git-svn-id: https://develop.svn.wordpress.org/branches/5.2@61993 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 757f33a commit 8a50b6d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/wp-includes/ID3/getid3.lib.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,9 @@ public static function array_min($arraydata, $returnkey=false) {
535535
return ($returnkey ? $minkey : $minvalue);
536536
}
537537

538+
/**
539+
* Converts an XML string to an array, using SimpleXML if available
540+
*/
538541
public static function XML2array($XMLstring) {
539542
if (function_exists('simplexml_load_string') && function_exists('libxml_disable_entity_loader')) {
540543
// http://websec.io/2012/08/27/Preventing-XEE-in-PHP.html

0 commit comments

Comments
 (0)