auto-patch 638-dev-dev01-2024-05-14T20_44_36
This commit is contained in:
@@ -28,8 +28,8 @@ class Enhanced_Data_Presenter extends Abstract_Indexable_Presenter {
|
||||
$i = 1;
|
||||
$class = \is_admin_bar_showing() ? ' class="yoast-seo-meta-tag"' : '';
|
||||
foreach ( $enhanced_data as $label => $value ) {
|
||||
$twitter_tags .= \sprintf( "\t" . '<meta name="twitter:label%1$d" content="%2$s"' . $class . ' />' . "\n", $i, $label );
|
||||
$twitter_tags .= \sprintf( "\t" . '<meta name="twitter:data%1$d" content="%2$s"' . $class . ' />' . "\n", $i, $value );
|
||||
$twitter_tags .= \sprintf( "\t" . '<meta name="twitter:label%1$d" content="%2$s"' . $class . ' />' . "\n", $i, \esc_attr( $label ) );
|
||||
$twitter_tags .= \sprintf( "\t" . '<meta name="twitter:data%1$d" content="%2$s"' . $class . ' />' . "\n", $i, \esc_attr( $value ) );
|
||||
++$i;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user