updated plugin Menu Icons version 0.13.4

This commit is contained in:
2023-03-17 22:34:22 +00:00
committed by Gitium
parent 1e9ac45ec6
commit c93c03b346
18 changed files with 161 additions and 74 deletions

View File

@ -481,10 +481,10 @@ final class Menu_Icons_Front_End {
}
}
if ( ! empty( $width ) ) {
$width = sprintf( ' width="%dpx"', $width );
$width = sprintf( ' width="%d"', $width );
}
if ( ! empty( $height ) ) {
$height = sprintf( ' height="%dpx"', $height );
$height = sprintf( ' height="%d"', $height );
}
$image_alt = get_post_meta( $meta['icon'], '_wp_attachment_image_alt', true );
$image_alt = $image_alt ? wp_strip_all_tags( $image_alt ) : '';