wp-admin/link-parse-opml.php:36Starts a new XML tag.
$parserresource$tag_namestring$attrsarrayfunction startElement( $parser, $tag_name, $attrs ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid global $names, $urls, $targets, $descriptions, $feeds; if ( 'OUTLINE' === $tag_name ) { $name = ''; if ( isset( $attrs['TEXT'] ) ) { $name = $attrs['TEXT']; } if ( isset( $attrs['TITLE'] ) ) { $name = $attrs['TITLE']; } $url = ''; if ( isset( $attrs['URL'] ) ) { $url = $attrs['URL']; } if ( isset( $attrs['HTMLURL'] ) ) { $url = $attrs['HTMLURL']; } // Save the data away. $names[] = $name; $urls[] = $url; $targets[] = $attrs['TARGET'] ?? ''; $feeds[] = $attrs['XMLURL'] ?? ''; $descriptions[] = $attrs['DESCRIPTION'] ?? ''; } // End if outline.}Introduced in 0.71. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-admin/link-parse-opml.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.