We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
$value
1 parent a271bc6 commit 76c8a69Copy full SHA for 76c8a69
1 file changed
src/wp-admin/includes/image.php
@@ -1115,6 +1115,7 @@ function wp_get_image_alttext( $file ) {
1115
$xpath->registerNamespace( 'rdf', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#' );
1116
$xpath->registerNamespace( 'Iptc4xmpCore', 'http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/' );
1117
1118
+ $value = '';
1119
$node_list = $xpath->query( '/x:xmpmeta/rdf:RDF/rdf:Description/Iptc4xmpCore:AltTextAccessibility' );
1120
if ( $node_list && $node_list->count() ) {
1121
0 commit comments