Customize: Remove the deprecated `-precomposed` suffix from `apple-touch-icon` link in `wp_site_icon()`.

Props mukto90, khag7.
Fixes #48555.
Built from https://develop.svn.wordpress.org/trunk@46698


git-svn-id: http://core.svn.wordpress.org/trunk@46498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-11-11 10:00:01 +00:00
parent 323e25b2bc
commit f67b1a6385
2 changed files with 2 additions and 2 deletions

View File

@ -3150,7 +3150,7 @@ function wp_site_icon() {
} }
$icon_180 = get_site_icon_url( 180 ); $icon_180 = get_site_icon_url( 180 );
if ( $icon_180 ) { if ( $icon_180 ) {
$meta_tags[] = sprintf( '<link rel="apple-touch-icon-precomposed" href="%s" />', esc_url( $icon_180 ) ); $meta_tags[] = sprintf( '<link rel="apple-touch-icon" href="%s" />', esc_url( $icon_180 ) );
} }
$icon_270 = get_site_icon_url( 270 ); $icon_270 = get_site_icon_url( 270 );
if ( $icon_270 ) { if ( $icon_270 ) {

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.4-alpha-46697'; $wp_version = '5.4-alpha-46698';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.